Commit 0a6bcc00 authored by Amiya's avatar Amiya

Merge branch 'master' of git.moenext.com:mycard/pre-release-database-cdb

parents ccee9826 5fa82f7e
Pipeline #36262 passed with stages
in 1 minute and 38 seconds
...@@ -71,4 +71,4 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,4 +71,4 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
if tc and tc:IsOnField() then if tc and tc:IsOnField() then
Duel.Remove(tc,POS_FACEUP,REASON_EFFECT) Duel.Remove(tc,POS_FACEUP,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -61,4 +61,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,4 +61,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
\ No newline at end of file
...@@ -96,4 +96,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -96,4 +96,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
end end
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
end end
\ No newline at end of file
...@@ -80,4 +80,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -80,4 +80,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToChain() and aux.NecroValleyFilter()(tc) then Duel.SSet(tp,tc) end if tc:IsRelateToChain() and aux.NecroValleyFilter()(tc) then Duel.SSet(tp,tc) end
end end
\ No newline at end of file
...@@ -80,4 +80,4 @@ function s.spdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -80,4 +80,4 @@ function s.spdop(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(LOCATION_REMOVED) e1:SetValue(LOCATION_REMOVED)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
end end
end end
\ No newline at end of file
...@@ -92,4 +92,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -92,4 +92,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
\ No newline at end of file
...@@ -106,4 +106,4 @@ function s.penop(e,tp,eg,ep,ev,re,r,rp) ...@@ -106,4 +106,4 @@ function s.penop(e,tp,eg,ep,ev,re,r,rp)
if c:IsRelateToChain() and aux.NecroValleyFilter()(c) then if c:IsRelateToChain() and aux.NecroValleyFilter()(c) then
Duel.MoveToField(c,tp,tp,LOCATION_PZONE,POS_FACEUP,true) Duel.MoveToField(c,tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end end
end end
\ No newline at end of file
...@@ -146,7 +146,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -146,7 +146,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if sg:GetCount()==0 then return end if sg:GetCount()==0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local rg=sg:SelectSubGroup(tp,s.gcheck,false,1,ct,ft1,ft2,ft3,ect,ft) local rg=sg:SelectSubGroup(tp,s.gcheck,false,1,ct,ft1,ft2,ft3,ect,ft)
Duel.SpecialSummon(rg,0,tp,tp,true,false,POS_FACEUP) Duel.SpecialSummon(rg,0,tp,tp,false,false,POS_FACEUP)
end end
end end
function s.distg(e,tp,eg,ep,ev,re,r,rp,chk) function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...@@ -187,4 +187,4 @@ function s.penop(e,tp,eg,ep,ev,re,r,rp) ...@@ -187,4 +187,4 @@ function s.penop(e,tp,eg,ep,ev,re,r,rp)
if c:IsRelateToChain() and aux.NecroValleyFilter()(c) then if c:IsRelateToChain() and aux.NecroValleyFilter()(c) then
Duel.MoveToField(c,tp,tp,LOCATION_PZONE,POS_FACEUP,true) Duel.MoveToField(c,tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end end
end end
\ No newline at end of file
...@@ -66,4 +66,4 @@ function s.eaop(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,4 +66,4 @@ function s.eaop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.tg(e,c) function s.tg(e,c)
return c:IsSetCard(0xaf) return c:IsSetCard(0xaf)
end end
\ No newline at end of file
...@@ -84,4 +84,4 @@ end ...@@ -84,4 +84,4 @@ end
function s.damop(e,tp,eg,ep,ev,re,r,rp) function s.damop(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM) local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
Duel.Damage(p,d,REASON_EFFECT) Duel.Damage(p,d,REASON_EFFECT)
end end
\ No newline at end of file
...@@ -83,4 +83,4 @@ function s.negtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -83,4 +83,4 @@ function s.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function s.negop(e,tp,eg,ep,ev,re,r,rp) function s.negop(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateActivation(ev) Duel.NegateActivation(ev)
end end
\ No newline at end of file
...@@ -79,4 +79,4 @@ end ...@@ -79,4 +79,4 @@ end
function s.damop(e,tp,eg,ep,ev,re,r,rp) function s.damop(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM) local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
Duel.Damage(p,d,REASON_EFFECT) Duel.Damage(p,d,REASON_EFFECT)
end end
\ No newline at end of file
...@@ -92,4 +92,4 @@ function s.recop(e,tp,eg,ep,ev,re,r,rp) ...@@ -92,4 +92,4 @@ function s.recop(e,tp,eg,ep,ev,re,r,rp)
Duel.BreakEffect() Duel.BreakEffect()
Duel.Recover(p,500,REASON_EFFECT) Duel.Recover(p,500,REASON_EFFECT)
end end
end end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment