Commit eb192721 authored by Momobako's avatar Momobako

Push by Appveyor

parent 288c5812
...@@ -21,7 +21,7 @@ function c10113036.initial_effect(c) ...@@ -21,7 +21,7 @@ function c10113036.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c10113036.con(e,tp,eg,ep,ev,re,r,rp) function c10113036.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c10113036.op(e,tp,eg,ep,ev,re,r,rp) function c10113036.op(e,tp,eg,ep,ev,re,r,rp)
--Atk up --Atk up
......
...@@ -109,7 +109,7 @@ function c10113039.retop(e,tp,eg,ep,ev,re,r,rp) ...@@ -109,7 +109,7 @@ function c10113039.retop(e,tp,eg,ep,ev,re,r,rp)
e:Reset() e:Reset()
end end
function c10113039.drcon(e,tp,eg,ep,ev,re,r,rp) function c10113039.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_RITUAL return e:GetHandler():IsSummonType(SUMMON_TYPE_RITUAL)
end end
function c10113039.drtg(e,tp,eg,ep,ev,re,r,rp,chk) function c10113039.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end
......
...@@ -53,7 +53,7 @@ function c10113087.retg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -53,7 +53,7 @@ function c10113087.retg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,e:GetLabel()) Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,e:GetLabel())
end end
function c10113087.recon(e,tp,eg,ep,ev,re,r,rp) function c10113087.recon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SPECIAL+1 return e:GetHandler():IsSummonType(SUMMON_TYPE_SPECIAL)+1
end end
--mdzz with some fuck card has 2 or more races (oh ,,,,,I have 2 card like this....XD) --mdzz with some fuck card has 2 or more races (oh ,,,,,I have 2 card like this....XD)
function c10113087.spcon(e,c) function c10113087.spcon(e,c)
......
...@@ -82,7 +82,7 @@ function c10119005.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -82,7 +82,7 @@ function c10119005.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c10119005.sumfilter(c) function c10119005.sumfilter(c)
return c:GetSummonType()==SUMMON_TYPE_XYZ return c:IsSummonType(SUMMON_TYPE_XYZ)
end end
function c10119005.target(e,tp,eg,ep,ev,re,r,rp,chk) function c10119005.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then if chk==0 then
......
...@@ -48,7 +48,7 @@ end ...@@ -48,7 +48,7 @@ end
function c10119008.sumfilter(c,tp) function c10119008.sumfilter(c,tp)
local mg=c:GetMaterial() local mg=c:GetMaterial()
return c:GetSummonType()==SUMMON_TYPE_XYZ and mg:GetCount()>0 and mg:IsExists(c10119008.effilter,1,nil,tp) return c:IsSummonType(SUMMON_TYPE_XYZ) and mg:GetCount()>0 and mg:IsExists(c10119008.effilter,1,nil,tp)
end end
function c10119008.desfilter(c) function c10119008.desfilter(c)
...@@ -72,7 +72,7 @@ end ...@@ -72,7 +72,7 @@ end
function c10119008.cdsstg(e,c) function c10119008.cdsstg(e,c)
local mg=c:GetMaterial() local mg=c:GetMaterial()
return c:GetSummonType()==SUMMON_TYPE_XYZ and mg:GetCount()>0 and mg:IsExists(c10119008.effilter,1,nil,e:GetHandlerPlayer()) return c:IsSummonType(SUMMON_TYPE_XYZ) and mg:GetCount()>0 and mg:IsExists(c10119008.effilter,1,nil,e:GetHandlerPlayer())
end end
function c10119008.effilter(c,tp) function c10119008.effilter(c,tp)
......
...@@ -57,14 +57,14 @@ function c10123006.chainlm(e,rp,tp) ...@@ -57,14 +57,14 @@ function c10123006.chainlm(e,rp,tp)
end end
function c10123006.sumfilter(c,tp) function c10123006.sumfilter(c,tp)
local mg=c:GetMaterial() local mg=c:GetMaterial()
return c:GetSummonType()==SUMMON_TYPE_SYNCHRO and mg:GetCount()>0 and mg:IsExists(c10123006.effilter,1,nil,tp) return c:IsSummonType(SUMMON_TYPE_SYNCHRO) and mg:GetCount()>0 and mg:IsExists(c10123006.effilter,1,nil,tp)
end end
function c10123006.sumsuc(e,tp,eg,ep,ev,re,r,rp) function c10123006.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.SetChainLimitTillChainEnd(c10123006.chainlm) Duel.SetChainLimitTillChainEnd(c10123006.chainlm)
end end
function c10123006.cdsstg(e,c) function c10123006.cdsstg(e,c)
local mg=c:GetMaterial() local mg=c:GetMaterial()
return c:GetSummonType()==SUMMON_TYPE_SYNCHRO and mg:GetCount()>0 and mg:IsExists(c10123006.effilter,1,nil,e:GetHandlerPlayer()) return c:IsSummonType(SUMMON_TYPE_SYNCHRO) and mg:GetCount()>0 and mg:IsExists(c10123006.effilter,1,nil,e:GetHandlerPlayer())
end end
function c10123006.effilter(c,tp) function c10123006.effilter(c,tp)
return c:IsSetCard(0x5334) and c:IsPreviousLocation(LOCATION_MZONE) and c:GetPreviousControler()==tp and c:IsReason(REASON_SYNCHRO) return c:IsSetCard(0x5334) and c:IsPreviousLocation(LOCATION_MZONE) and c:GetPreviousControler()==tp and c:IsReason(REASON_SYNCHRO)
......
...@@ -26,7 +26,7 @@ function c10123007.thfilter(c,eg,e,tp) ...@@ -26,7 +26,7 @@ function c10123007.thfilter(c,eg,e,tp)
end end
function c10123007.thfilter2(c,mc,tp) function c10123007.thfilter2(c,mc,tp)
local mg=c:GetMaterial() local mg=c:GetMaterial()
return c:GetSummonType()==SUMMON_TYPE_SYNCHRO and mc:GetReasonCard()==c and mg:GetCount()>0 and mg:IsExists(c10123007.thfilter3,1,nil,tp) return c:IsSummonType(SUMMON_TYPE_SYNCHRO) and mc:GetReasonCard()==c and mg:GetCount()>0 and mg:IsExists(c10123007.thfilter3,1,nil,tp)
end end
function c10123007.thfilter3(c,tp) function c10123007.thfilter3(c,tp)
return c:GetPreviousControler()==tp and c:IsPreviousLocation(LOCATION_MZONE) and c:IsSetCard(0x5334) return c:GetPreviousControler()==tp and c:IsPreviousLocation(LOCATION_MZONE) and c:IsSetCard(0x5334)
......
...@@ -50,7 +50,7 @@ function c1110111.vfilter3(c) ...@@ -50,7 +50,7 @@ function c1110111.vfilter3(c)
end end
-- --
function c1110111.con1(e,tp,eg,ep,ev,re,r,rp) function c1110111.con1(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_FUSION return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION)
end end
-- --
function c1110111.tg1(e,tp,eg,ep,ev,re,r,rp,chk) function c1110111.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -54,7 +54,7 @@ function c1110112.filter1(c,e,tp) ...@@ -54,7 +54,7 @@ function c1110112.filter1(c,e,tp)
return c:IsCode(1110111) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsFaceup() return c:IsCode(1110111) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsFaceup()
end end
function c1110112.con1(e,tp,eg,ep,ev,re,r,rp) function c1110112.con1(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_FUSION return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION)
end end
-- --
function c1110112.tg1(e,tp,eg,ep,ev,re,r,rp,chk) function c1110112.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -79,7 +79,7 @@ function c1110151.filterx(c) ...@@ -79,7 +79,7 @@ function c1110151.filterx(c)
end end
-- --
function c1110151.con3(e,tp,eg,ep,ev,re,r,rp) function c1110151.con3(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_RITUAL return e:GetHandler():IsSummonType(SUMMON_TYPE_RITUAL)
end end
function c1110151.cost3(e,tp,eg,ep,ev,re,r,rp,chk) function c1110151.cost3(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetActivityCount(tp,ACTIVITY_BATTLE_PHASE)==0 end if chk==0 then return Duel.GetActivityCount(tp,ACTIVITY_BATTLE_PHASE)==0 end
......
...@@ -19,7 +19,7 @@ function c1111008.IsLd(c) ...@@ -19,7 +19,7 @@ function c1111008.IsLd(c)
end end
-- --
function c1111008.cfilter1(c) function c1111008.cfilter1(c)
return c:GetSummonType()==SUMMON_TYPE_FUSION and c:IsFaceup() return c:IsSummonType(SUMMON_TYPE_FUSION) and c:IsFaceup()
end end
function c1111008.cost1(e,tp,eg,ep,ev,re,r,rp,chk) function c1111008.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
...@@ -30,14 +30,14 @@ function c1111008.cost1(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -30,14 +30,14 @@ function c1111008.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
end end
-- --
function c1111008.cfilter1(c) function c1111008.cfilter1(c)
return c:IsFaceup() and c:GetLevel()<4 and c:GetSummonType()==SUMMON_TYPE_NORMAL return c:IsFaceup() and c:GetLevel()<4 and c:IsSummonType(SUMMON_TYPE_NORMAL)
end end
function c1111008.con1(e,tp,eg,ep,ev,re,r,rp) function c1111008.con1(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c1111008.cfilter1,tp,LOCATION_ONFIELD,0,1,nil) and Duel.GetMatchingGroupCount(aux.TRUE,tp,LOCATION_MZONE,0,nil)==1 return Duel.IsExistingMatchingCard(c1111008.cfilter1,tp,LOCATION_ONFIELD,0,1,nil) and Duel.GetMatchingGroupCount(aux.TRUE,tp,LOCATION_MZONE,0,nil)==1
end end
-- --
function c1111008.tfilter0(c) function c1111008.tfilter0(c)
return c:GetSummonType()==SUMMON_TYPE_SPECIAL and c:IsFaceup() return c:IsSummonType(SUMMON_TYPE_SPECIAL) and c:IsFaceup()
end end
function c1111008.tfilter1(c) function c1111008.tfilter1(c)
return c1111008.IsLd(c) and c:IsAbleToHand() return c1111008.IsLd(c) and c:IsAbleToHand()
......
...@@ -38,7 +38,7 @@ function c114000268.ntop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -38,7 +38,7 @@ function c114000268.ntop(e,tp,eg,ep,ev,re,r,rp,c)
end end
function c114000268.condition(e,tp,eg,ep,ev,re,r,rp) function c114000268.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_NORMAL+1 return e:GetHandler():IsSummonType(SUMMON_TYPE_NORMAL)+1
end end
function c114000268.filter(c) function c114000268.filter(c)
return c:IsType(TYPE_MONSTER) and ( c:IsSetCard(0x221) or c:IsCode(114000231) ) and c:IsAbleToGraveAsCost() return c:IsType(TYPE_MONSTER) and ( c:IsSetCard(0x221) or c:IsCode(114000231) ) and c:IsAbleToGraveAsCost()
......
...@@ -65,7 +65,7 @@ function c114100154.checkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,7 +65,7 @@ function c114100154.checkop(e,tp,eg,ep,ev,re,r,rp)
end end
-- --
function c114100154.regcon(e,tp,eg,ep,ev,re,r,rp) function c114100154.regcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c114100154.regop(e,tp,eg,ep,ev,re,r,rp) function c114100154.regop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
...@@ -26,7 +26,7 @@ function c1150032.initial_effect(c) ...@@ -26,7 +26,7 @@ function c1150032.initial_effect(c)
end end
-- --
function c1150032.cfilter1(c) function c1150032.cfilter1(c)
return c:IsFaceup() and c:IsRace(RACE_PLANT) and c:GetLevel()>7 and c:GetSummonType()==SUMMON_TYPE_ADVANCE return c:IsFaceup() and c:IsRace(RACE_PLANT) and c:GetLevel()>7 and c:IsSummonType(SUMMON_TYPE_ADVANCE)
end end
function c1150032.con1(e,tp,eg,ep,ev,re,r,rp) function c1150032.con1(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c1150032.cfilter1,tp,LOCATION_ONFIELD,0,1,nil) return Duel.IsExistingMatchingCard(c1150032.cfilter1,tp,LOCATION_ONFIELD,0,1,nil)
......
...@@ -41,7 +41,7 @@ function c1190101.syfilter2(c) ...@@ -41,7 +41,7 @@ function c1190101.syfilter2(c)
end end
-- --
function c1190101.con1(e,tp,eg,ep,ev,re,r,rp) function c1190101.con1(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
-- --
function c1190101.tg1(e,tp,eg,ep,ev,re,r,rp,chk) function c1190101.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -42,7 +42,7 @@ function c1190102.syfilter2(c) ...@@ -42,7 +42,7 @@ function c1190102.syfilter2(c)
end end
-- --
function c1190102.con1(e,tp,eg,ep,ev,re,r,rp) function c1190102.con1(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
-- --
function c1190102.filter1(c,e,tp) function c1190102.filter1(c,e,tp)
......
...@@ -48,7 +48,7 @@ function c1190103.syfilter2(c) ...@@ -48,7 +48,7 @@ function c1190103.syfilter2(c)
end end
-- --
function c1190103.con1(e,tp,eg,ep,ev,re,r,rp) function c1190103.con1(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c1190103.cost1(e,tp,eg,ep,ev,re,r,rp,chk) function c1190103.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,2000) end if chk==0 then return Duel.CheckLPCost(tp,2000) end
......
...@@ -41,7 +41,7 @@ function c1190104.syfilter2(c) ...@@ -41,7 +41,7 @@ function c1190104.syfilter2(c)
end end
-- --
function c1190104.con1(e,tp,eg,ep,ev,re,r,rp) function c1190104.con1(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c1190104.op1(e,tp,eg,ep,ev,re,r,rp) function c1190104.op1(e,tp,eg,ep,ev,re,r,rp)
Duel.SetLP(1-tp,Duel.GetLP(1-tp)/2) Duel.SetLP(1-tp,Duel.GetLP(1-tp)/2)
......
...@@ -88,7 +88,7 @@ function c1200045.sptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -88,7 +88,7 @@ function c1200045.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
local mg=c:GetMaterial() local mg=c:GetMaterial()
local ct=mg:GetCount() local ct=mg:GetCount()
if chk==0 then return c:GetSummonType()==SUMMON_TYPE_SYNCHRO if chk==0 then return c:IsSummonType(SUMMON_TYPE_SYNCHRO)
and ct>0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>=ct and ct>0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>=ct
and mg:FilterCount(c1200045.spfilter,nil,e,tp,c)==ct end and mg:FilterCount(c1200045.spfilter,nil,e,tp,c)==ct end
Duel.SetTargetCard(mg) Duel.SetTargetCard(mg)
......
...@@ -81,7 +81,7 @@ function c1200050.sprop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -81,7 +81,7 @@ function c1200050.sprop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Release(g1,REASON_COST) Duel.Release(g1,REASON_COST)
end end
function c1200050.con(e,tp,eg,ep,ev,re,r,rp) function c1200050.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_FUSION return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION)
end end
function c1200050.spfilter4(c,e,tp) function c1200050.spfilter4(c,e,tp)
return c:IsType(TYPE_MONSTER) and c:IsCode(1200011,1200012,1200013,1200014,1200015,1200016,1200041,1200042,1200043,1200050) and c:IsCanBeSpecialSummoned(e, 0, tp, false, false) return c:IsType(TYPE_MONSTER) and c:IsCode(1200011,1200012,1200013,1200014,1200015,1200016,1200041,1200042,1200043,1200050) and c:IsCanBeSpecialSummoned(e, 0, tp, false, false)
......
...@@ -80,7 +80,7 @@ function c1200051.operation2(e,tp,eg,ep,ev,re,r,rp) ...@@ -80,7 +80,7 @@ function c1200051.operation2(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c1200051.con(e,tp,eg,ep,ev,re,r,rp) function c1200051.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c1200051.rfilter(c) function c1200051.rfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0xfba) and c:IsReleasable() return c:IsType(TYPE_MONSTER) and c:IsSetCard(0xfba) and c:IsReleasable()
......
...@@ -31,7 +31,7 @@ function c12001021.initial_effect(c) ...@@ -31,7 +31,7 @@ function c12001021.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c12001021.descon(e,tp,eg,ep,ev,re,r,rp) function c12001021.descon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_LINK and e:GetLabel()==1 return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) and e:GetLabel()==1
end end
function c12001021.valcheck(e,c) function c12001021.valcheck(e,c)
local g=c:GetMaterial() local g=c:GetMaterial()
......
...@@ -43,7 +43,7 @@ function c12001023.ntfilter(c) ...@@ -43,7 +43,7 @@ function c12001023.ntfilter(c)
return c:IsFaceup() and c:IsSetCard(0xfb0) and c:IsCanBeSynchroMaterial() return c:IsFaceup() and c:IsSetCard(0xfb0) and c:IsCanBeSynchroMaterial()
end end
function c12001023.matfilter1(c,syncard) function c12001023.matfilter1(c,syncard)
return c:IsType(TYPE_PENDULUM) and c:GetSummonType()==SUMMON_TYPE_PENDULUM and c:IsNotTuner() and c:IsFaceup() and c:IsCanBeSynchroMaterial(syncard) return c:IsType(TYPE_PENDULUM) and c:IsSummonType(SUMMON_TYPE_PENDULUM) and c:IsNotTuner() and c:IsFaceup() and c:IsCanBeSynchroMaterial(syncard)
and Duel.IsExistingMatchingCard(c12001023.matfilter2,0,LOCATION_MZONE,LOCATION_MZONE,1,c,syncard) and Duel.IsExistingMatchingCard(c12001023.matfilter2,0,LOCATION_MZONE,LOCATION_MZONE,1,c,syncard)
end end
function c12001023.matfilter2(c,syncard) function c12001023.matfilter2(c,syncard)
......
...@@ -47,7 +47,7 @@ function cm.sop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -47,7 +47,7 @@ function cm.sop(e,tp,eg,ep,ev,re,r,rp,c)
end end
--Draw --Draw
function cm.drcon(e,tp,eg,ep,ev,re,r,rp) function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_ADVANCE return e:GetHandler():IsSummonType(SUMMON_TYPE_ADVANCE)
end end
function cm.drop(e,tp,eg,ep,ev,re,r,rp) function cm.drop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,m) Duel.Hint(HINT_CARD,0,m)
......
...@@ -47,7 +47,7 @@ function cm.sop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -47,7 +47,7 @@ function cm.sop(e,tp,eg,ep,ev,re,r,rp,c)
end end
--Draw --Draw
function cm.drcon(e,tp,eg,ep,ev,re,r,rp) function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_ADVANCE return e:GetHandler():IsSummonType(SUMMON_TYPE_ADVANCE)
end end
function cm.drop(e,tp,eg,ep,ev,re,r,rp) function cm.drop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,m) Duel.Hint(HINT_CARD,0,m)
......
...@@ -47,7 +47,7 @@ function cm.sop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -47,7 +47,7 @@ function cm.sop(e,tp,eg,ep,ev,re,r,rp,c)
end end
--Draw --Draw
function cm.drcon(e,tp,eg,ep,ev,re,r,rp) function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_ADVANCE return e:GetHandler():IsSummonType(SUMMON_TYPE_ADVANCE)
end end
function cm.drop(e,tp,eg,ep,ev,re,r,rp) function cm.drop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,m) Duel.Hint(HINT_CARD,0,m)
......
...@@ -47,7 +47,7 @@ function cm.sop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -47,7 +47,7 @@ function cm.sop(e,tp,eg,ep,ev,re,r,rp,c)
end end
--Draw --Draw
function cm.drcon(e,tp,eg,ep,ev,re,r,rp) function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_ADVANCE return e:GetHandler():IsSummonType(SUMMON_TYPE_ADVANCE)
end end
function cm.drop(e,tp,eg,ep,ev,re,r,rp) function cm.drop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,m) Duel.Hint(HINT_CARD,0,m)
......
...@@ -47,7 +47,7 @@ function cm.sop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -47,7 +47,7 @@ function cm.sop(e,tp,eg,ep,ev,re,r,rp,c)
end end
--Draw --Draw
function cm.drcon(e,tp,eg,ep,ev,re,r,rp) function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_ADVANCE return e:GetHandler():IsSummonType(SUMMON_TYPE_ADVANCE)
end end
function cm.drop(e,tp,eg,ep,ev,re,r,rp) function cm.drop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,m) Duel.Hint(HINT_CARD,0,m)
......
...@@ -47,7 +47,7 @@ function cm.sop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -47,7 +47,7 @@ function cm.sop(e,tp,eg,ep,ev,re,r,rp,c)
end end
--Draw --Draw
function cm.drcon(e,tp,eg,ep,ev,re,r,rp) function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_ADVANCE return e:GetHandler():IsSummonType(SUMMON_TYPE_ADVANCE)
end end
function cm.drop(e,tp,eg,ep,ev,re,r,rp) function cm.drop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,m) Duel.Hint(HINT_CARD,0,m)
......
...@@ -47,7 +47,7 @@ function cm.sop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -47,7 +47,7 @@ function cm.sop(e,tp,eg,ep,ev,re,r,rp,c)
end end
--Draw --Draw
function cm.drcon(e,tp,eg,ep,ev,re,r,rp) function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_ADVANCE return e:GetHandler():IsSummonType(SUMMON_TYPE_ADVANCE)
end end
function cm.drop(e,tp,eg,ep,ev,re,r,rp) function cm.drop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,m) Duel.Hint(HINT_CARD,0,m)
......
...@@ -10,7 +10,7 @@ function cm.initial_effect(c) ...@@ -10,7 +10,7 @@ function cm.initial_effect(c)
e4:SetCode(EVENT_SPSUMMON_SUCCESS) e4:SetCode(EVENT_SPSUMMON_SUCCESS)
e4:SetProperty(0x14000+EFFECT_FLAG_CARD_TARGET) e4:SetProperty(0x14000+EFFECT_FLAG_CARD_TARGET)
e4:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) e4:SetCondition(function(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_XYZ return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ)
end) end)
e4:SetTarget(cm.destg1) e4:SetTarget(cm.destg1)
e4:SetOperation(cm.desop1) e4:SetOperation(cm.desop1)
......
...@@ -10,7 +10,7 @@ function cm.initial_effect(c) ...@@ -10,7 +10,7 @@ function cm.initial_effect(c)
e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(0x14000) e1:SetProperty(0x14000)
e1:SetCondition(function(e) e1:SetCondition(function(e)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_XYZ return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ)
end) end)
e1:SetCost(function(e) e1:SetCost(function(e)
e:SetLabel(1) e:SetLabel(1)
......
...@@ -267,7 +267,7 @@ function cm.valcheck(e,c) ...@@ -267,7 +267,7 @@ function cm.valcheck(e,c)
e:GetLabelObject():SetLabel(ct) e:GetLabelObject():SetLabel(ct)
end end
function cm.mtcon(e,tp,eg,ep,ev,re,r,rp) function cm.mtcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO and e:GetLabel()>0 return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO) and e:GetLabel()>0
end end
function cm.mtop(e,tp,eg,ep,ev,re,r,rp) function cm.mtop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -24,7 +24,7 @@ function c16063015.initial_effect(c) ...@@ -24,7 +24,7 @@ function c16063015.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c16063015.descon(e,tp,eg,ep,ev,re,r,rp) function c16063015.descon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c16063015.desfilter(c) function c16063015.desfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsPosition(POS_FACEUP_ATTACK) and c:IsDestructable() return c:IsType(TYPE_MONSTER) and c:IsPosition(POS_FACEUP_ATTACK) and c:IsDestructable()
......
...@@ -25,7 +25,7 @@ function c16063025.initial_effect(c) ...@@ -25,7 +25,7 @@ function c16063025.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c16063025.spcon(e,tp,eg,ep,ev,re,r,rp,chk) function c16063025.spcon(e,tp,eg,ep,ev,re,r,rp,chk)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c16063025.spfilter(c,e,tp) function c16063025.spfilter(c,e,tp)
return c:IsType(TYPE_TUNER) and c:IsSetCard(0x5c5) and c:IsCanBeSpecialSummoned(e,0,tp,false,true) return c:IsType(TYPE_TUNER) and c:IsSetCard(0x5c5) and c:IsCanBeSpecialSummoned(e,0,tp,false,true)
......
...@@ -46,7 +46,7 @@ function c16080031.distarget(e,c) ...@@ -46,7 +46,7 @@ function c16080031.distarget(e,c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) return c:IsType(TYPE_SPELL+TYPE_TRAP)
end end
function c16080031.spcon(e,tp,eg,ep,ev,re,r,rp,chk) function c16080031.spcon(e,tp,eg,ep,ev,re,r,rp,chk)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c16080031.spfilter(c,e,tp) function c16080031.spfilter(c,e,tp)
return c:IsLevelBelow(4) and c:IsSetCard(0x5ca) and c:IsCanBeSpecialSummoned(e,0,tp,false,true) return c:IsLevelBelow(4) and c:IsSetCard(0x5ca) and c:IsCanBeSpecialSummoned(e,0,tp,false,true)
......
...@@ -43,7 +43,7 @@ function c17060801.IsMillion_Arthur(c) ...@@ -43,7 +43,7 @@ function c17060801.IsMillion_Arthur(c)
return m and m.is_named_with_Million_Arthur return m and m.is_named_with_Million_Arthur
end end
function c17060801.cfilter(c,tp) function c17060801.cfilter(c,tp)
return c:IsFaceup() and c17060801.IsMillion_Arthur(c) and c:IsControler(tp) and c:GetSummonType()==SUMMON_TYPE_PENDULUM return c:IsFaceup() and c17060801.IsMillion_Arthur(c) and c:IsControler(tp) and c:IsSummonType(SUMMON_TYPE_PENDULUM)
end end
function c17060801.atkcon(e,tp,eg,ep,ev,re,r,rp) function c17060801.atkcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c17060801.cfilter,1,nil,tp) return eg:IsExists(c17060801.cfilter,1,nil,tp)
......
...@@ -69,7 +69,7 @@ function c17060802.pcop(e,tp,eg,ep,ev,re,r,rp) ...@@ -69,7 +69,7 @@ function c17060802.pcop(e,tp,eg,ep,ev,re,r,rp)
end end
function c17060802.spcon(e,tp,eg,ep,ev,re,r,rp) function c17060802.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_PENDULUM return e:GetHandler():IsSummonType(SUMMON_TYPE_PENDULUM)
end end
function c17060802.filter(c,e,tp) function c17060802.filter(c,e,tp)
return c17060802.IsMillion_Arthur(c) and not c:IsCode(17060802) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c17060802.IsMillion_Arthur(c) and not c:IsCode(17060802) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
...@@ -78,7 +78,7 @@ function c17060805.pcop(e,tp,eg,ep,ev,re,r,rp) ...@@ -78,7 +78,7 @@ function c17060805.pcop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c17060805.tdcon(e,tp,eg,ep,ev,re,r,rp) function c17060805.tdcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_XYZ and e:GetLabel()==1 return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ) and e:GetLabel()==1
end end
function c17060805.filter(c) function c17060805.filter(c)
return c:IsType(TYPE_MONSTER) return c:IsType(TYPE_MONSTER)
......
...@@ -96,7 +96,7 @@ function c17060806.pcop(e,tp,eg,ep,ev,re,r,rp) ...@@ -96,7 +96,7 @@ function c17060806.pcop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c17060806.rmcon(e,tp,eg,ep,ev,re,r,rp) function c17060806.rmcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_FUSION and e:GetLabel()==1 return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION) and e:GetLabel()==1
end end
function c17060806.rmfilter(c) function c17060806.rmfilter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToRemove() return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToRemove()
......
...@@ -59,7 +59,7 @@ function c17060807.IsMillion_Arthur(c) ...@@ -59,7 +59,7 @@ function c17060807.IsMillion_Arthur(c)
return m and m.is_named_with_Million_Arthur return m and m.is_named_with_Million_Arthur
end end
function c17060807.sumcon(e,tp,eg,ep,ev,re,r,rp) function c17060807.sumcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO and e:GetLabel()==1 return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO) and e:GetLabel()==1
end end
function c17060807.valcheck(e,c) function c17060807.valcheck(e,c)
local g=c:GetMaterial() local g=c:GetMaterial()
......
...@@ -89,6 +89,6 @@ function c17060811.penop(e,tp,eg,ep,ev,re,r,rp) ...@@ -89,6 +89,6 @@ function c17060811.penop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c17060811.tcon(e,tp,eg,ep,ev,re,r,rp) function c17060811.tcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
or e:GetHandler():GetSummonType()==SUMMON_TYPE_PENDULUM or e:GetHandler():IsSummonType(SUMMON_TYPE_PENDULUM)
end end
\ No newline at end of file
...@@ -75,7 +75,7 @@ function c17060832.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -75,7 +75,7 @@ function c17060832.atkop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c17060832.spcon(e,tp,eg,ep,ev,re,r,rp) function c17060832.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c17060832.spfilter(c,e,tp) function c17060832.spfilter(c,e,tp)
return c17060832.IsMillion_Arthur(c) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c17060832.IsMillion_Arthur(c) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
...@@ -134,5 +134,5 @@ function c17060832.penop(e,tp,eg,ep,ev,re,r,rp) ...@@ -134,5 +134,5 @@ function c17060832.penop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c17060832.tcon(e,tp,eg,ep,ev,re,r,rp) function c17060832.tcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
\ No newline at end of file
...@@ -96,7 +96,7 @@ function c17060843.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -96,7 +96,7 @@ function c17060843.tgop(e,tp,eg,ep,ev,re,r,rp)
end end
function c17060843.xyzcon(e,tp,eg,ep,ev,re,r,rp) function c17060843.xyzcon(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=eg:GetFirst()
return tc:GetSummonType()==SUMMON_TYPE_XYZ and tc:IsControler(1-tp) return tc:IsSummonType(SUMMON_TYPE_XYZ) and tc:IsControler(1-tp)
end end
function c17060843.xyzcost(e,tp,eg,ep,ev,re,r,rp,chk) function c17060843.xyzcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -90,7 +90,7 @@ function c17060844.ntfilter(c) ...@@ -90,7 +90,7 @@ function c17060844.ntfilter(c)
return c:IsFaceup() and c:IsType(TYPE_SYNCHRO) and c:IsRace(RACE_WARRIOR) and c:IsCanBeSynchroMaterial() return c:IsFaceup() and c:IsType(TYPE_SYNCHRO) and c:IsRace(RACE_WARRIOR) and c:IsCanBeSynchroMaterial()
end end
function c17060844.matfilter1(c,syncard) function c17060844.matfilter1(c,syncard)
return (c:IsType(TYPE_PENDULUM) and c17060844.IsMillion_Arthur(c)) and c:GetSummonType()==SUMMON_TYPE_PENDULUM and c:IsNotTuner() and c:IsFaceup() and c:IsCanBeSynchroMaterial(syncard) return (c:IsType(TYPE_PENDULUM) and c17060844.IsMillion_Arthur(c)) and c:IsSummonType(SUMMON_TYPE_PENDULUM) and c:IsNotTuner() and c:IsFaceup() and c:IsCanBeSynchroMaterial(syncard)
and Duel.IsExistingMatchingCard(c17060844.matfilter2,0,LOCATION_MZONE,LOCATION_MZONE,1,c,syncard) and Duel.IsExistingMatchingCard(c17060844.matfilter2,0,LOCATION_MZONE,LOCATION_MZONE,1,c,syncard)
end end
function c17060844.matfilter2(c,syncard) function c17060844.matfilter2(c,syncard)
......
...@@ -73,7 +73,7 @@ function c17060849.rpop(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,7 +73,7 @@ function c17060849.rpop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c17060849.spcon(e,tp,eg,ep,ev,re,r,rp) function c17060849.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_FUSION return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION)
end end
function c17060849.filter(c,e,tp) function c17060849.filter(c,e,tp)
return c:IsType(TYPE_PENDULUM) and c:IsLevelBelow(4) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsType(TYPE_PENDULUM) and c:IsLevelBelow(4) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
...@@ -45,7 +45,7 @@ function c17060860.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,7 +45,7 @@ function c17060860.thop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c17060860.pscon(e,tp,eg,ep,ev,re,r,rp) function c17060860.pscon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_LINK return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end end
function c17060860.psfilter(c) function c17060860.psfilter(c)
return c:IsFaceup() and c17060860.IsDark_Degenerate(c) and c:IsType(TYPE_PENDULUM) and not c:IsForbidden() return c:IsFaceup() and c17060860.IsDark_Degenerate(c) and c:IsType(TYPE_PENDULUM) and not c:IsForbidden()
......
...@@ -82,7 +82,7 @@ function c17060864.ntfilter(c) ...@@ -82,7 +82,7 @@ function c17060864.ntfilter(c)
return c:IsFaceup() and c17060864.IsMagic_Factions(c) and c:IsCanBeSynchroMaterial() return c:IsFaceup() and c17060864.IsMagic_Factions(c) and c:IsCanBeSynchroMaterial()
end end
function c17060864.matfilter1(c,syncard) function c17060864.matfilter1(c,syncard)
return c:IsType(TYPE_PENDULUM) and c:GetSummonType()==SUMMON_TYPE_PENDULUM and c:IsNotTuner() and c:IsFaceup() and c:IsCanBeSynchroMaterial(syncard) return c:IsType(TYPE_PENDULUM) and c:IsSummonType(SUMMON_TYPE_PENDULUM) and c:IsNotTuner() and c:IsFaceup() and c:IsCanBeSynchroMaterial(syncard)
and Duel.IsExistingMatchingCard(c17060864.matfilter2,0,LOCATION_MZONE,LOCATION_MZONE,1,c,syncard) and Duel.IsExistingMatchingCard(c17060864.matfilter2,0,LOCATION_MZONE,LOCATION_MZONE,1,c,syncard)
end end
function c17060864.matfilter2(c,syncard) function c17060864.matfilter2(c,syncard)
......
...@@ -87,7 +87,7 @@ function c17060865.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,7 +87,7 @@ function c17060865.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c17060865.tdcon(e,tp,eg,ep,ev,re,r,rp) function c17060865.tdcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_FUSION return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION)
end end
function c17060865.tdfilter(c) function c17060865.tdfilter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToDeck() return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToDeck()
......
...@@ -33,7 +33,7 @@ function c17060882.initial_effect(c) ...@@ -33,7 +33,7 @@ function c17060882.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c17060882.descon(e,tp,eg,ep,ev,re,r,rp) function c17060882.descon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_LINK and e:GetLabel()==1 return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) and e:GetLabel()==1
end end
function c17060882.valcheck(e,c) function c17060882.valcheck(e,c)
local g=c:GetMaterial() local g=c:GetMaterial()
......
...@@ -216,10 +216,10 @@ function c17082101.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -216,10 +216,10 @@ function c17082101.tgop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c17082101.tgcon(e,tp,eg,ep,ev,re,r,rp) function c17082101.tgcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO and e:GetLabel()==1 return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO) and e:GetLabel()==1
end end
function c17082101.mfilter(c) function c17082101.mfilter(c)
return c:IsType(TYPE_PENDULUM) and c:GetSummonType()==SUMMON_TYPE_PENDULUM return c:IsType(TYPE_PENDULUM) and c:IsSummonType(SUMMON_TYPE_PENDULUM)
and (c:IsType(TYPE_TUNER) or c:GetFlagEffect(17082101)~=0) and (c:IsType(TYPE_TUNER) or c:GetFlagEffect(17082101)~=0)
end end
function c17082101.valcheck(e,c) function c17082101.valcheck(e,c)
......
...@@ -37,7 +37,7 @@ function c2110001.initial_effect(c) ...@@ -37,7 +37,7 @@ function c2110001.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c2110001.condition(e,tp,eg,ep,ev,re,r,rp) function c2110001.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_RITUAL return e:GetHandler():IsSummonType(SUMMON_TYPE_RITUAL)
end end
function c2110001.filter(c) function c2110001.filter(c)
return c:IsRace(RACE_DRAGON) and c:IsLevelBelow(6) and c:IsAbleToHand() return c:IsRace(RACE_DRAGON) and c:IsLevelBelow(6) and c:IsAbleToHand()
......
...@@ -39,7 +39,7 @@ function c2117000.initial_effect(c) ...@@ -39,7 +39,7 @@ function c2117000.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c2117000.remcon(e,tp,eg,ep,ev,re,r,rp) function c2117000.remcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_XYZ return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ)
end end
function c2117000.tgfilter(c) function c2117000.tgfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsRace(RACE_FIEND) and c:IsAbleToGrave() return c:IsType(TYPE_MONSTER) and c:IsRace(RACE_FIEND) and c:IsAbleToGrave()
......
...@@ -16,7 +16,7 @@ function c2117010.initial_effect(c) ...@@ -16,7 +16,7 @@ function c2117010.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c2117010.remcon(e,tp,eg,ep,ev,re,r,rp) function c2117010.remcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_FUSION return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION)
end end
function c2117010.ffilter(c) function c2117010.ffilter(c)
return c:IsSetCard(0x21c) and c:IsType(TYPE_MONSTER) return c:IsSetCard(0x21c) and c:IsType(TYPE_MONSTER)
......
...@@ -24,7 +24,7 @@ function c2130001.initial_effect(c) ...@@ -24,7 +24,7 @@ function c2130001.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c2130001.thcon(e,tp,eg,ep,ev,re,r,rp) function c2130001.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c2130001.tgop1(e,tp,eg,ep,ev,re,r,rp) function c2130001.tgop1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -34,7 +34,7 @@ function c21401115.initial_effect(c) ...@@ -34,7 +34,7 @@ function c21401115.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c21401115.imcon(e,tp,eg,ep,ev,re,r,rp) function c21401115.imcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c21401115.imfilter(e,te) function c21401115.imfilter(e,te)
return te:IsActiveType(TYPE_MONSTER) and te:GetHandler():GetRace(RACE_DRAGON) return te:IsActiveType(TYPE_MONSTER) and te:GetHandler():GetRace(RACE_DRAGON)
......
...@@ -39,7 +39,7 @@ function c21401116.initial_effect(c) ...@@ -39,7 +39,7 @@ function c21401116.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c21401116.imcon(e,tp,eg,ep,ev,re,r,rp) function c21401116.imcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c21401116.imfilter(e,re,r,rp) function c21401116.imfilter(e,re,r,rp)
return bit.band(r,REASON_BATTLE)~=0 return bit.band(r,REASON_BATTLE)~=0
......
...@@ -46,7 +46,7 @@ function c21401121.initial_effect(c) ...@@ -46,7 +46,7 @@ function c21401121.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function c21401121.imcon(e,tp,eg,ep,ev,re,r,rp) function c21401121.imcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c21401121.imfilter(e,re,r,rp) function c21401121.imfilter(e,re,r,rp)
return bit.band(r,REASON_EFFECT)~=0 return bit.band(r,REASON_EFFECT)~=0
......
...@@ -40,7 +40,7 @@ function c21401122.initial_effect(c) ...@@ -40,7 +40,7 @@ function c21401122.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function c21401122.imcon(e,tp,eg,ep,ev,re,r,rp) function c21401122.imcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c21401122.imfilter(e,te) function c21401122.imfilter(e,te)
return (te:IsActiveType(TYPE_SPELL) or (te:IsActiveType(TYPE_MONSTER) and te:GetHandler():GetRace(RACE_SPELLCASTER))) return (te:IsActiveType(TYPE_SPELL) or (te:IsActiveType(TYPE_MONSTER) and te:GetHandler():GetRace(RACE_SPELLCASTER)))
......
...@@ -95,7 +95,7 @@ end ...@@ -95,7 +95,7 @@ end
function c22230161.spr(e,tp,eg,ep,ev,re,r,rp) function c22230161.spr(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if bit.band(r,0x41)~=0x41 or not c:IsPreviousLocation(LOCATION_ONFIELD) then return end if bit.band(r,0x41)~=0x41 or not c:IsPreviousLocation(LOCATION_ONFIELD) then return end
if c:GetSummonType()==SUMMON_TYPE_LINK then if c:IsSummonType(SUMMON_TYPE_LINK) then
if Duel.GetCurrentPhase()==PHASE_STANDBY then if Duel.GetCurrentPhase()==PHASE_STANDBY then
c:RegisterFlagEffect(22230161,RESET_EVENT+0x1ff0000+RESET_PHASE+PHASE_STANDBY,0,2) c:RegisterFlagEffect(22230161,RESET_EVENT+0x1ff0000+RESET_PHASE+PHASE_STANDBY,0,2)
else else
......
...@@ -36,7 +36,7 @@ function c23330006.initial_effect(c) ...@@ -36,7 +36,7 @@ function c23330006.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c23330006.spcon(e,tp,eg,ep,ev,re,r,rp) function c23330006.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c23330006.spfilter(c,e,tp) function c23330006.spfilter(c,e,tp)
return c:GetLevel()==1 and c:IsType(TYPE_TUNER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:GetLevel()==1 and c:IsType(TYPE_TUNER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
...@@ -36,7 +36,7 @@ function c23330007.initial_effect(c) ...@@ -36,7 +36,7 @@ function c23330007.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c23330007.spcon(e,tp,eg,ep,ev,re,r,rp) function c23330007.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c23330007.spfilter(c,e,tp) function c23330007.spfilter(c,e,tp)
return c:IsLevelBelow(2) and c:IsType(TYPE_TUNER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsLevelBelow(2) and c:IsType(TYPE_TUNER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
...@@ -36,7 +36,7 @@ function c23330008.initial_effect(c) ...@@ -36,7 +36,7 @@ function c23330008.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c23330008.spcon(e,tp,eg,ep,ev,re,r,rp) function c23330008.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c23330008.spfilter(c,e,tp) function c23330008.spfilter(c,e,tp)
return c:IsLevelBelow(3) and c:IsType(TYPE_TUNER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsLevelBelow(3) and c:IsType(TYPE_TUNER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
...@@ -36,7 +36,7 @@ function c23330009.initial_effect(c) ...@@ -36,7 +36,7 @@ function c23330009.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c23330009.spcon(e,tp,eg,ep,ev,re,r,rp) function c23330009.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c23330009.spfilter(c,e,tp) function c23330009.spfilter(c,e,tp)
return c:IsLevelBelow(4) and c:IsType(TYPE_TUNER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsLevelBelow(4) and c:IsType(TYPE_TUNER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
...@@ -36,7 +36,7 @@ function c23330010.initial_effect(c) ...@@ -36,7 +36,7 @@ function c23330010.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c23330010.spcon(e,tp,eg,ep,ev,re,r,rp) function c23330010.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c23330010.spfilter(c,e,tp) function c23330010.spfilter(c,e,tp)
return c:IsType(TYPE_TUNER) and c:IsType(TYPE_SYNCHRO) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsType(TYPE_TUNER) and c:IsType(TYPE_SYNCHRO) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
...@@ -46,7 +46,7 @@ function c23330013.initial_effect(c) ...@@ -46,7 +46,7 @@ function c23330013.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c23330013.tdcon(e,tp,eg,ep,ev,re,r,rp) function c23330013.tdcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c23330013.tdfilter(c) function c23330013.tdfilter(c)
return (c:IsType(TYPE_FUSION) or c:IsType(TYPE_XYZ)) and c:IsAbleToDeck() return (c:IsType(TYPE_FUSION) or c:IsType(TYPE_XYZ)) and c:IsAbleToDeck()
...@@ -61,7 +61,7 @@ function c23330013.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,7 +61,7 @@ function c23330013.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoDeck(g,nil,2,REASON_EFFECT) Duel.SendtoDeck(g,nil,2,REASON_EFFECT)
end end
function c23330013.splimit(e,c,tp,sumtp,sumpos) function c23330013.splimit(e,c,tp,sumtp,sumpos)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO and (bit.band(sumtp,SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION or bit.band(sumtp,SUMMON_TYPE_XYZ)==SUMMON_TYPE_XYZ) return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO) and (bit.band(sumtp,SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION or bit.band(sumtp,SUMMON_TYPE_XYZ)==SUMMON_TYPE_XYZ)
end end
function c23330013.matfilter1(c,syncard) function c23330013.matfilter1(c,syncard)
return c:IsType(TYPE_TUNER) and (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and c:IsCanBeSynchroMaterial(syncard) return c:IsType(TYPE_TUNER) and (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and c:IsCanBeSynchroMaterial(syncard)
......
...@@ -51,5 +51,5 @@ function c23330014.rmop(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,5 +51,5 @@ function c23330014.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(tp,cg) Duel.ConfirmCards(tp,cg)
end end
function c23330014.splimit(e,c,tp,sumtp,sumpos) function c23330014.splimit(e,c,tp,sumtp,sumpos)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO and (bit.band(sumtp,SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION or bit.band(sumtp,SUMMON_TYPE_XYZ)==SUMMON_TYPE_XYZ) return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO) and (bit.band(sumtp,SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION or bit.band(sumtp,SUMMON_TYPE_XYZ)==SUMMON_TYPE_XYZ)
end end
...@@ -50,14 +50,14 @@ function c23330015.initial_effect(c) ...@@ -50,14 +50,14 @@ function c23330015.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function c23330015.lpcon(e,tp,eg,ep,ev,re,r,rp) function c23330015.lpcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO and e:GetHandler():GetMaterial():GetCount()==5 return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO) and e:GetHandler():GetMaterial():GetCount()==5
end end
function c23330015.lpop(e,tp,eg,ep,ev,re,r,rp) function c23330015.lpop(e,tp,eg,ep,ev,re,r,rp)
Duel.SetLP(1-tp,2000) Duel.SetLP(1-tp,2000)
Duel.SetLP(tp,8000) Duel.SetLP(tp,8000)
end end
function c23330015.splimit(e,c,tp,sumtp,sumpos) function c23330015.splimit(e,c,tp,sumtp,sumpos)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO and (bit.band(sumtp,SUMMON_TYPE_RITUAL)==SUMMON_TYPE_RITUAL or bit.band(sumtp,SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION or bit.band(sumtp,SUMMON_TYPE_XYZ)==SUMMON_TYPE_XYZ or bit.band(sumtp,SUMMON_TYPE_PENDULUM)==SUMMON_TYPE_PENDULUM) return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO) and (bit.band(sumtp,SUMMON_TYPE_RITUAL)==SUMMON_TYPE_RITUAL or bit.band(sumtp,SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION or bit.band(sumtp,SUMMON_TYPE_XYZ)==SUMMON_TYPE_XYZ or bit.band(sumtp,SUMMON_TYPE_PENDULUM)==SUMMON_TYPE_PENDULUM)
end end
function c23330015.matfilter1(c,syncard) function c23330015.matfilter1(c,syncard)
return c:IsType(TYPE_TUNER) and c:IsType(TYPE_SYNCHRO) and (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and c:IsCanBeSynchroMaterial(syncard) return c:IsType(TYPE_TUNER) and c:IsType(TYPE_SYNCHRO) and (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and c:IsCanBeSynchroMaterial(syncard)
......
...@@ -176,7 +176,7 @@ function c33700004.descon(e) ...@@ -176,7 +176,7 @@ function c33700004.descon(e)
return e:GetHandler():GetFlagEffect(33700004)~=0 and not Duel.IsExistingMatchingCard(c33700004.actfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil) return e:GetHandler():GetFlagEffect(33700004)~=0 and not Duel.IsExistingMatchingCard(c33700004.actfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil)
end end
function c33700004.condition(e,tp,eg,ep,ev,re,r,rp) function c33700004.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SPECIAL+1 return e:GetHandler():IsSummonType(SUMMON_TYPE_SPECIAL)+1
end end
function c33700004.desop(e,tp,eg,ep,ev,re,r,rp) function c33700004.desop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterFlagEffect(33700004,RESET_EVENT+0x1fe0000,0,1) e:GetHandler():RegisterFlagEffect(33700004,RESET_EVENT+0x1fe0000,0,1)
......
...@@ -120,7 +120,7 @@ function c33700005.pencon2(e,tp,eg,ep,ev,re,r,rp) ...@@ -120,7 +120,7 @@ function c33700005.pencon2(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_EFFECT)~=0 return bit.band(r,REASON_EFFECT)~=0
end end
function c33700005.condition(e,tp,eg,ep,ev,re,r,rp) function c33700005.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SPECIAL+1 return e:GetHandler():IsSummonType(SUMMON_TYPE_SPECIAL)+1
end end
function c33700005.operation(e,tp,eg,ep,ev,re,r,rp) function c33700005.operation(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterFlagEffect(33700005,RESET_EVENT+0x1fe0000,0,1) e:GetHandler():RegisterFlagEffect(33700005,RESET_EVENT+0x1fe0000,0,1)
......
...@@ -135,7 +135,7 @@ function c33700006.descon(e) ...@@ -135,7 +135,7 @@ function c33700006.descon(e)
return e:GetHandler():GetFlagEffect(33700006)~=0 and not Duel.IsExistingMatchingCard(c33700006.actfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil) return e:GetHandler():GetFlagEffect(33700006)~=0 and not Duel.IsExistingMatchingCard(c33700006.actfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil)
end end
function c33700006.condition(e,tp,eg,ep,ev,re,r,rp) function c33700006.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SPECIAL+1 return e:GetHandler():IsSummonType(SUMMON_TYPE_SPECIAL)+1
end end
function c33700006.operation(e,tp,eg,ep,ev,re,r,rp) function c33700006.operation(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterFlagEffect(33700006,RESET_EVENT+0x1fe0000,0,1) e:GetHandler():RegisterFlagEffect(33700006,RESET_EVENT+0x1fe0000,0,1)
......
...@@ -28,7 +28,7 @@ function c33700028.initial_effect(c) ...@@ -28,7 +28,7 @@ function c33700028.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c33700028.spcon(e,tp,eg,ep,ev,re,r,rp) function c33700028.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c33700028.spfilter(c,e,tp) function c33700028.spfilter(c,e,tp)
return c:IsType(TYPE_MONSTER) and c:IsFaceup() and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsType(TYPE_MONSTER) and c:IsFaceup() and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
...@@ -115,7 +115,7 @@ function c33700030.ntop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -115,7 +115,7 @@ function c33700030.ntop(e,tp,eg,ep,ev,re,r,rp,c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c33700030.valcon(e,tp,eg,ep,ev,re,r,rp) function c33700030.valcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_NORMAL+1 return e:GetHandler():IsSummonType(SUMMON_TYPE_NORMAL)+1
end end
function c33700030.valop(e,tp,eg,ep,ev,re,r,rp) function c33700030.valop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
...@@ -22,7 +22,7 @@ function c33700041.initial_effect(c) ...@@ -22,7 +22,7 @@ function c33700041.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c33700041.cfilter(c,e,tp) function c33700041.cfilter(c,e,tp)
return c:GetSummonPlayer()==tp and c:GetSummonType()==SUMMON_TYPE_PENDULUM return c:GetSummonPlayer()==tp and c:IsSummonType(SUMMON_TYPE_PENDULUM)
and (not e or c:IsRelateToEffect(e)) and (not e or c:IsRelateToEffect(e))
end end
function c33700041.spcon(e,tp,eg,ep,ev,re,r,rp) function c33700041.spcon(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -32,7 +32,7 @@ function cm.ovfilter(c) ...@@ -32,7 +32,7 @@ function cm.ovfilter(c)
return c:IsType(TYPE_XYZ) and c:GetRank()==4 return c:IsType(TYPE_XYZ) and c:GetRank()==4
end end
function cm.atkcon(e,tp,eg,ep,ev,re,r,rp) function cm.atkcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_XYZ and e:GetHandler():GetOverlayGroup():IsExists(cm.ovfilter,1,nil) return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ) and e:GetHandler():GetOverlayGroup():IsExists(cm.ovfilter,1,nil)
end end
function cm.atkop(e,tp,eg,ep,ev,re,r,rp) function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -89,7 +89,7 @@ function cm.efop(e,tp,eg,ep,ev,re,r,rp) ...@@ -89,7 +89,7 @@ function cm.efop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.drcon(e,tp,eg,ep,ev,re,r,rp) function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_XYZ return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ)
end end
function cm.filter(c,tp) function cm.filter(c,tp)
return not c:IsType(TYPE_TOKEN) and (c:IsControler(tp) or c:IsAbleToChangeControler()) return not c:IsType(TYPE_TOKEN) and (c:IsControler(tp) or c:IsAbleToChangeControler())
......
...@@ -101,7 +101,7 @@ function cm.valcheck(e,c) ...@@ -101,7 +101,7 @@ function cm.valcheck(e,c)
e:GetLabelObject():SetLabel(ct) e:GetLabelObject():SetLabel(ct)
end end
function cm.mtcon(e,tp,eg,ep,ev,re,r,rp) function cm.mtcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_FUSION and e:GetLabel()>0 return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION) and e:GetLabel()>0
end end
function cm.mtop(e,tp,eg,ep,ev,re,r,rp) function cm.mtop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -20,7 +20,7 @@ function cm.initial_effect(c) ...@@ -20,7 +20,7 @@ function cm.initial_effect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) e2:SetCondition(function(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO and e:GetLabel()==1 return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO) and e:GetLabel()==1
end) end)
e2:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) e2:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -11,7 +11,7 @@ function cm.initial_effect(c) ...@@ -11,7 +11,7 @@ function cm.initial_effect(c)
e4:SetCode(EVENT_SPSUMMON_SUCCESS) e4:SetCode(EVENT_SPSUMMON_SUCCESS)
e4:SetProperty(0x14000+EFFECT_FLAG_CARD_TARGET) e4:SetProperty(0x14000+EFFECT_FLAG_CARD_TARGET)
e4:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) e4:SetCondition(function(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_XYZ return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ)
end) end)
e4:SetTarget(cm.destg) e4:SetTarget(cm.destg)
e4:SetOperation(cm.desop) e4:SetOperation(cm.desop)
......
...@@ -24,7 +24,7 @@ function cm.initial_effect(c) ...@@ -24,7 +24,7 @@ function cm.initial_effect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS) e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_FUSION and cm.material return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION) and cm.material
end) end)
e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) e0:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
local code1=cm.material[1] local code1=cm.material[1]
......
...@@ -22,7 +22,7 @@ function cm.initial_effect(c) ...@@ -22,7 +22,7 @@ function cm.initial_effect(c)
e4:SetProperty(0x14000) e4:SetProperty(0x14000)
e4:SetCost(cm.rm) e4:SetCost(cm.rm)
e4:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) e4:SetCondition(function(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_XYZ return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ)
end) end)
e4:SetTarget(cm.drtg) e4:SetTarget(cm.drtg)
e4:SetOperation(cm.drop) e4:SetOperation(cm.drop)
......
...@@ -11,7 +11,7 @@ function cm.initial_effect(c) ...@@ -11,7 +11,7 @@ function cm.initial_effect(c)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCode(EVENT_SPSUMMON_SUCCESS) e4:SetCode(EVENT_SPSUMMON_SUCCESS)
e4:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) e4:SetCondition(function(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_XYZ return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ)
end) end)
e4:SetProperty(0x14000) e4:SetProperty(0x14000)
e4:SetCost(Senya.PrismRemoveExtraCost) e4:SetCost(Senya.PrismRemoveExtraCost)
......
...@@ -31,7 +31,7 @@ function cm.initial_effect(c) ...@@ -31,7 +31,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.setcon(e,tp,eg,ep,ev,re,r,rp) function cm.setcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_XYZ return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsAbleToHand() end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsAbleToHand() end
......
...@@ -64,7 +64,7 @@ function cm.efop(e,tp,eg,ep,ev,re,r,rp) ...@@ -64,7 +64,7 @@ function cm.efop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.drcon(e,tp,eg,ep,ev,re,r,rp) function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_XYZ return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ)
end end
function cm.filter(c) function cm.filter(c)
return (Senya.check_set_elem(c) or Senya.check_set_prism(c)) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return (Senya.check_set_elem(c) or Senya.check_set_prism(c)) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
......
...@@ -10,7 +10,7 @@ function cm.initial_effect(c) ...@@ -10,7 +10,7 @@ function cm.initial_effect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) e2:SetCondition(function(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_XYZ return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ)
end) end)
e2:SetProperty(0x14000) e2:SetProperty(0x14000)
e2:SetCost(Senya.PrismRemoveExtraCost) e2:SetCost(Senya.PrismRemoveExtraCost)
......
...@@ -38,7 +38,7 @@ function cm.initial_effect(c) ...@@ -38,7 +38,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function cm.thcon(e,tp,eg,ep,ev,re,r,rp) function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function cm.distg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,0,LOCATION_ONFIELD,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,0,LOCATION_ONFIELD,1,nil) end
......
...@@ -40,7 +40,7 @@ function cm.initial_effect(c) ...@@ -40,7 +40,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function cm.sumcon(e,tp,eg,ep,ev,re,r,rp) function cm.sumcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function cm.sumsuc(e,tp,eg,ep,ev,re,r,rp) function cm.sumsuc(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
...@@ -55,7 +55,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -55,7 +55,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
else e:SetLabel(0) end else e:SetLabel(0) end
end end
function cm.thcon(e,tp,eg,ep,ev,re,r,rp) function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and chkc:IsDestructable() end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and chkc:IsDestructable() end
......
...@@ -29,7 +29,7 @@ function cm.initial_effect(c) ...@@ -29,7 +29,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function cm.thcon(e,tp,eg,ep,ev,re,r,rp) function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function cm.filter(c) function cm.filter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToRemove() return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToRemove()
......
...@@ -55,7 +55,7 @@ function cm.initial_effect(c) ...@@ -55,7 +55,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function cm.thcon(e,tp,eg,ep,ev,re,r,rp) function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function cm.filter(c,e,tp,mg) function cm.filter(c,e,tp,mg)
return mg and mg:IsContains(c) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return mg and mg:IsContains(c) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
...@@ -42,7 +42,7 @@ function cm.initial_effect(c) ...@@ -42,7 +42,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function cm.drcon(e,tp,eg,ep,ev,re,r,rp) function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function cm.drtarg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.drtarg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end
......
...@@ -30,7 +30,7 @@ function cm.initial_effect(c) ...@@ -30,7 +30,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function cm.thcon(e,tp,eg,ep,ev,re,r,rp) function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function cm.distg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDiscardDeck(tp,2) end if chk==0 then return Duel.IsPlayerCanDiscardDeck(tp,2) end
......
...@@ -103,7 +103,7 @@ function cm.xyzop(e,tp,eg,ep,ev,re,r,rp,c,og,min,max) ...@@ -103,7 +103,7 @@ function cm.xyzop(e,tp,eg,ep,ev,re,r,rp,c,og,min,max)
Senya.OverlayGroup(c,g,false,true) Senya.OverlayGroup(c,g,false,true)
end end
function cm.regcon(e,tp,eg,ep,ev,re,r,rp) function cm.regcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_XYZ return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ)
end end
function cm.thfilter1(c) function cm.thfilter1(c)
return c:IsType(TYPE_PENDULUM) and c:IsLevelBelow(4) return c:IsType(TYPE_PENDULUM) and c:IsLevelBelow(4)
......
...@@ -9,7 +9,7 @@ function cm.initial_effect(c) ...@@ -9,7 +9,7 @@ function cm.initial_effect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS) e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_FUSION and Duel.IsPlayerCanDraw(tp,1) and Duel.GetFlagEffect(tp,m)==0 return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION) and Duel.IsPlayerCanDraw(tp,1) and Duel.GetFlagEffect(tp,m)==0
end) end)
e0:SetOperation(cm.skipop) e0:SetOperation(cm.skipop)
c:RegisterEffect(e0) c:RegisterEffect(e0)
......
...@@ -9,7 +9,7 @@ function cm.initial_effect(c) ...@@ -9,7 +9,7 @@ function cm.initial_effect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS) e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_FUSION and Duel.IsExistingMatchingCard(cm.f,tp,0,LOCATION_ONFIELD,1,nil) and Duel.GetFlagEffect(tp,m)==0 return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION) and Duel.IsExistingMatchingCard(cm.f,tp,0,LOCATION_ONFIELD,1,nil) and Duel.GetFlagEffect(tp,m)==0
end) end)
e0:SetOperation(cm.tdop) e0:SetOperation(cm.tdop)
c:RegisterEffect(e0) c:RegisterEffect(e0)
......
...@@ -10,7 +10,7 @@ function cm.initial_effect(c) ...@@ -10,7 +10,7 @@ function cm.initial_effect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS) e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) e0:SetCondition(function(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_FUSION and Duel.IsExistingMatchingCard(cm.f,tp,0,LOCATION_MZONE,1,nil) and Duel.GetFlagEffect(tp,m)==0 return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION) and Duel.IsExistingMatchingCard(cm.f,tp,0,LOCATION_MZONE,1,nil) and Duel.GetFlagEffect(tp,m)==0
end) end)
e0:SetOperation(cm.tdop) e0:SetOperation(cm.tdop)
c:RegisterEffect(e0) c:RegisterEffect(e0)
......
...@@ -32,7 +32,7 @@ function cm.initial_effect(c) ...@@ -32,7 +32,7 @@ function cm.initial_effect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) e2:SetCondition(function(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_FUSION and e:GetLabel()==100 return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION) and e:GetLabel()==100
end) end)
e2:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) e2:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -56,7 +56,7 @@ function cm.spcon(e,c) ...@@ -56,7 +56,7 @@ function cm.spcon(e,c)
and Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_MZONE,0,1,nil)
end end
function cm.lmtcon(e,tp,eg,ep,ev,re,r,rp) function cm.lmtcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_PENDULUM return e:GetHandler():IsSummonType(SUMMON_TYPE_PENDULUM)
end end
function cm.lmtop(e,tp,eg,ep,ev,re,r,rp) function cm.lmtop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
...@@ -34,7 +34,7 @@ function cm.initial_effect(c) ...@@ -34,7 +34,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function cm.decon(e,tp,eg,ep,ev,re,r,rp) function cm.decon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_XYZ return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ)
end end
function cm.detg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.detg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDestructable,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDestructable,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
......
...@@ -23,7 +23,7 @@ function c46564765.initial_effect(c) ...@@ -23,7 +23,7 @@ function c46564765.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c46564765.ngcon(e,tp,eg,ep,ev,re,r,rp) function c46564765.ngcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function c46564765.filter(c) function c46564765.filter(c)
return c:IsFaceup() and not c:IsDisabled() return c:IsFaceup() and not c:IsDisabled()
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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