Commit 9a949666 authored by wind2009's avatar wind2009 Committed by GitHub

Update Six Samurai setcode (#2635)

parent 672f57f5
...@@ -18,7 +18,7 @@ function c11102908.initial_effect(c) ...@@ -18,7 +18,7 @@ function c11102908.initial_effect(c)
end end
function c11102908.atkcon(e) function c11102908.atkcon(e)
local d=Duel.GetAttackTarget() local d=Duel.GetAttackTarget()
return Duel.GetCurrentPhase()==PHASE_DAMAGE_CAL and d and d:IsSetCard(0x3d) return Duel.GetCurrentPhase()==PHASE_DAMAGE_CAL and d and d:IsSetCard(0x103d)
end end
function c11102908.atktg(e,c) function c11102908.atktg(e,c)
return c==Duel.GetAttacker() return c==Duel.GetAttacker()
......
...@@ -36,10 +36,10 @@ function c12324546.initial_effect(c) ...@@ -36,10 +36,10 @@ function c12324546.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function c12324546.eqlimit(e,c) function c12324546.eqlimit(e,c)
return c:IsSetCard(0x3d) return c:IsSetCard(0x103d)
end end
function c12324546.filter(c) function c12324546.filter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
end end
function c12324546.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c12324546.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c12324546.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and c12324546.filter(chkc) end
......
...@@ -16,7 +16,7 @@ function c1498130.tgcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -16,7 +16,7 @@ function c1498130.tgcon(e,tp,eg,ep,ev,re,r,rp)
if not g or g:GetCount()~=1 then return false end if not g or g:GetCount()~=1 then return false end
local tc=g:GetFirst() local tc=g:GetFirst()
local c=e:GetHandler() local c=e:GetHandler()
if tc==c or tc:IsControler(1-tp) or tc:IsFacedown() or not tc:IsLocation(LOCATION_MZONE) or not tc:IsSetCard(0x3d) then return false end if tc==c or tc:IsControler(1-tp) or tc:IsFacedown() or not tc:IsLocation(LOCATION_MZONE) or not tc:IsSetCard(0x103d) then return false end
return Duel.CheckChainTarget(ev,c) return Duel.CheckChainTarget(ev,c)
end end
function c1498130.tgop(e,tp,eg,ep,ev,re,r,rp) function c1498130.tgop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -26,7 +26,7 @@ function c15327215.initial_effect(c) ...@@ -26,7 +26,7 @@ function c15327215.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c15327215.cfilter(c,tp) function c15327215.cfilter(c,tp)
return c:IsFaceup() and c:IsSummonPlayer(tp) and c:IsSetCard(0x103d) return c:IsFaceup() and c:IsSummonPlayer(tp) and c:IsSetCard(0x903d)
end end
function c15327215.spcon(e,tp,eg,ep,ev,re,r,rp) function c15327215.spcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c15327215.cfilter,1,nil,tp) return eg:IsExists(c15327215.cfilter,1,nil,tp)
...@@ -43,7 +43,7 @@ function c15327215.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -43,7 +43,7 @@ function c15327215.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c15327215.filter(c,mc) function c15327215.filter(c,mc)
return c:IsLevelBelow(4) and c:IsSetCard(0x3d) and c:IsAbleToRemoveAsCost() return c:IsLevelBelow(4) and c:IsSetCard(0x103d) and c:IsAbleToRemoveAsCost()
and not (c:IsLevel(mc:GetLevel()) and c:IsAttribute(mc:GetAttribute()) and c:IsAttack(mc:GetAttack()) and c:IsDefense(mc:GetDefense())) and not (c:IsLevel(mc:GetLevel()) and c:IsAttribute(mc:GetAttribute()) and c:IsAttack(mc:GetAttack()) and c:IsDefense(mc:GetDefense()))
end end
function c15327215.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c15327215.cost(e,tp,eg,ep,ev,re,r,rp,chk)
......
--六武衆の影-紫炎 --六武衆の影-紫炎
function c1828513.initial_effect(c) function c1828513.initial_effect(c)
--xyz summon --xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x3d),4,2) aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x103d),4,2)
c:EnableReviveLimit() c:EnableReviveLimit()
--attack up --attack up
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -23,7 +23,7 @@ function c1828513.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -23,7 +23,7 @@ function c1828513.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST) e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end end
function c1828513.filter(c) function c1828513.filter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) and c:IsAttackBelow(2000) return c:IsFaceup() and c:IsSetCard(0x103d) and c:IsAttackBelow(2000)
end end
function c1828513.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c1828513.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c1828513.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c1828513.filter(chkc) end
......
...@@ -11,7 +11,7 @@ function c21007444.initial_effect(c) ...@@ -11,7 +11,7 @@ function c21007444.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c21007444.filter(c,e,tp) function c21007444.filter(c,e,tp)
return c:IsSetCard(0x3d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_ATTACK) return c:IsSetCard(0x103d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_ATTACK)
end end
function c21007444.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c21007444.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and c21007444.filter(chkc,e,tp) end if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and c21007444.filter(chkc,e,tp) end
......
...@@ -20,7 +20,7 @@ function c2511717.initial_effect(c) ...@@ -20,7 +20,7 @@ function c2511717.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c2511717.filter(c,e,tp) function c2511717.filter(c,e,tp)
return c:IsLevelBelow(4) and c:IsSetCard(0x3d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsLevelBelow(4) and c:IsSetCard(0x103d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c2511717.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c2511717.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
...@@ -36,7 +36,7 @@ function c2511717.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -36,7 +36,7 @@ function c2511717.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c2511717.atkfilter(c) function c2511717.atkfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) and not c:IsCode(2511717) return c:IsFaceup() and c:IsSetCard(0x103d) and not c:IsCode(2511717)
end end
function c2511717.atkcon(e) function c2511717.atkcon(e)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -12,7 +12,7 @@ function c27178262.initial_effect(c) ...@@ -12,7 +12,7 @@ function c27178262.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c27178262.costfilter(c,ft) function c27178262.costfilter(c,ft)
return c:IsFaceup() and c:IsSetCard(0x3d) and c:IsAbleToGraveAsCost() and (ft>0 or c:GetSequence()<5) return c:IsFaceup() and c:IsSetCard(0x103d) and c:IsAbleToGraveAsCost() and (ft>0 or c:GetSequence()<5)
end end
function c27178262.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c27178262.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
...@@ -22,7 +22,7 @@ function c27178262.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -22,7 +22,7 @@ function c27178262.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(g,REASON_COST) Duel.SendtoGrave(g,REASON_COST)
end end
function c27178262.filter(c,e,tp) function c27178262.filter(c,e,tp)
return c:IsSetCard(0x3d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x103d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c27178262.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c27178262.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and c27178262.filter(chkc,e,tp) end if chkc then return chkc:IsLocation(LOCATION_GRAVE) and c27178262.filter(chkc,e,tp) end
......
...@@ -21,7 +21,7 @@ function c27782503.initial_effect(c) ...@@ -21,7 +21,7 @@ function c27782503.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c27782503.cfilter(c) function c27782503.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) and not c:IsCode(27782503) return c:IsFaceup() and c:IsSetCard(0x103d) and not c:IsCode(27782503)
end end
function c27782503.descon(e,tp,eg,ep,ev,re,r,rp) function c27782503.descon(e,tp,eg,ep,ev,re,r,rp)
local d=Duel.GetAttackTarget() local d=Duel.GetAttackTarget()
...@@ -39,7 +39,7 @@ function c27782503.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -39,7 +39,7 @@ function c27782503.desop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c27782503.repfilter(c,e) function c27782503.repfilter(c,e)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED) and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED)
end end
function c27782503.desreptg(e,tp,eg,ep,ev,re,r,rp,chk) function c27782503.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -11,10 +11,10 @@ function c27821104.initial_effect(c) ...@@ -11,10 +11,10 @@ function c27821104.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c27821104.tfilter(c,atk,code,e,tp) function c27821104.tfilter(c,atk,code,e,tp)
return c:IsSetCard(0x3d) and not c:IsCode(code) and c:IsAttack(atk) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x103d) and not c:IsCode(code) and c:IsAttack(atk) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c27821104.filter(c,e,tp) function c27821104.filter(c,e,tp)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
and Duel.IsExistingMatchingCard(c27821104.tfilter,tp,LOCATION_DECK,0,1,nil,c:GetAttack(),c:GetCode(),e,tp) and Duel.IsExistingMatchingCard(c27821104.tfilter,tp,LOCATION_DECK,0,1,nil,c:GetAttack(),c:GetCode(),e,tp)
end end
function c27821104.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c27821104.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
...@@ -51,7 +51,7 @@ function c27970830.initial_effect(c) ...@@ -51,7 +51,7 @@ function c27970830.initial_effect(c)
end end
c27970830.counter_add_list={0x3} c27970830.counter_add_list={0x3}
function c27970830.ctfilter(c) function c27970830.ctfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
end end
function c27970830.ctop(e,tp,eg,ep,ev,re,r,rp) function c27970830.ctop(e,tp,eg,ep,ev,re,r,rp)
if eg:IsExists(c27970830.ctfilter,1,nil) then if eg:IsExists(c27970830.ctfilter,1,nil) then
...@@ -64,7 +64,7 @@ function c27970830.cost1(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -64,7 +64,7 @@ function c27970830.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.RemoveCounter(tp,1,0,0x3,2,REASON_COST) Duel.RemoveCounter(tp,1,0,0x3,2,REASON_COST)
end end
function c27970830.filter1(c) function c27970830.filter1(c)
return c:IsFaceup() and c:IsSetCard(0x3d,0x20) and c:IsType(TYPE_EFFECT) return c:IsFaceup() and c:IsSetCard(0x103d,0x20) and c:IsType(TYPE_EFFECT)
end end
function c27970830.tg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c27970830.tg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c27970830.filter1(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and c27970830.filter1(chkc) end
...@@ -90,7 +90,7 @@ function c27970830.cost2(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -90,7 +90,7 @@ function c27970830.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.RemoveCounter(tp,1,0,0x3,4,REASON_COST) Duel.RemoveCounter(tp,1,0,0x3,4,REASON_COST)
end end
function c27970830.filter2(c) function c27970830.filter2(c)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x3d) and c:IsAbleToHand() return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x103d) and c:IsAbleToHand()
end end
function c27970830.tg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c27970830.tg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.IsExistingMatchingCard(c27970830.filter2,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c27970830.filter2,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil) end
......
--真六武衆-シエン --真六武衆-シエン
function c29981921.initial_effect(c) function c29981921.initial_effect(c)
--synchro summon --synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_WARRIOR),aux.NonTuner(Card.IsSetCard,0x3d),1) aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_WARRIOR),aux.NonTuner(Card.IsSetCard,0x103d),1)
c:EnableReviveLimit() c:EnableReviveLimit()
--negate --negate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -43,7 +43,7 @@ function c29981921.disop(e,tp,eg,ep,ev,re,r,rp) ...@@ -43,7 +43,7 @@ function c29981921.disop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c29981921.repfilter(c,e) function c29981921.repfilter(c,e)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED) and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED)
end end
function c29981921.desreptg(e,tp,eg,ep,ev,re,r,rp,chk) function c29981921.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -18,13 +18,13 @@ function c31904181.initial_effect(c) ...@@ -18,13 +18,13 @@ function c31904181.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c31904181.cfilter(c) function c31904181.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) and not c:IsCode(31904181) return c:IsFaceup() and c:IsSetCard(0x103d) and not c:IsCode(31904181)
end end
function c31904181.dircon(e) function c31904181.dircon(e)
return Duel.IsExistingMatchingCard(c31904181.cfilter,e:GetHandler():GetControler(),LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c31904181.cfilter,e:GetHandler():GetControler(),LOCATION_MZONE,0,1,nil)
end end
function c31904181.repfilter(c,e) function c31904181.repfilter(c,e)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED) and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED)
end end
function c31904181.desreptg(e,tp,eg,ep,ev,re,r,rp,chk) function c31904181.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -16,7 +16,7 @@ function c32603633.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -16,7 +16,7 @@ function c32603633.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.PayLPCost(tp,lp-100) Duel.PayLPCost(tp,lp-100)
end end
function c32603633.filter(c,e,tp) function c32603633.filter(c,e,tp)
return c:IsSetCard(0x3d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x103d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
and not Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,c:GetCode()) and not Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,c:GetCode())
end end
function c32603633.tg(e,tp,eg,ep,ev,re,r,rp,chk) function c32603633.tg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -15,7 +15,7 @@ end ...@@ -15,7 +15,7 @@ end
function c33883834.con(e,tp,eg,ep,ev,re,r,rp) function c33883834.con(e,tp,eg,ep,ev,re,r,rp)
local a=Duel.GetAttacker() local a=Duel.GetAttacker()
local d=Duel.GetAttackTarget() local d=Duel.GetAttackTarget()
return d and ((a:IsControler(tp) and a:IsSetCard(0x3d)) or (d:IsControler(tp) and d:IsSetCard(0x3d))) return d and ((a:IsControler(tp) and a:IsSetCard(0x103d)) or (d:IsControler(tp) and d:IsSetCard(0x103d)))
and Duel.GetFlagEffect(tp,33883834)==0 and Duel.GetFlagEffect(tp,33883834)==0
end end
function c33883834.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c33883834.cost(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -43,10 +43,10 @@ function c33964637.splimit(e,se,sp,st) ...@@ -43,10 +43,10 @@ function c33964637.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA) return not e:GetHandler():IsLocation(LOCATION_EXTRA)
end end
function c33964637.ffilter(c,fc,sub,mg,sg) function c33964637.ffilter(c,fc,sub,mg,sg)
return c:IsFusionSetCard(0x3d) and (not sg or not sg:IsExists(Card.IsFusionAttribute,1,c,c:GetFusionAttribute())) return c:IsFusionSetCard(0x103d) and (not sg or not sg:IsExists(Card.IsFusionAttribute,1,c,c:GetFusionAttribute()))
end end
function c33964637.costfilter(c,tp) function c33964637.costfilter(c,tp)
return c:IsSetCard(0x3d) and c:IsAbleToRemoveAsCost() and (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) return c:IsSetCard(0x103d) and c:IsAbleToRemoveAsCost() and (c:IsLocation(LOCATION_HAND) or c:IsFaceup())
and Duel.IsExistingTarget(Card.IsAbleToRemove,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,c) and Duel.IsExistingTarget(Card.IsAbleToRemove,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,c)
end end
function c33964637.rmcost(e,tp,eg,ep,ev,re,r,rp,chk) function c33964637.rmcost(e,tp,eg,ep,ev,re,r,rp,chk)
...@@ -70,7 +70,7 @@ function c33964637.rmop(e,tp,eg,ep,ev,re,r,rp) ...@@ -70,7 +70,7 @@ function c33964637.rmop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c33964637.repfilter(c,tp) function c33964637.repfilter(c,tp)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
and c:IsLocation(LOCATION_MZONE) and c:IsControler(tp) and c:IsReason(REASON_EFFECT+REASON_BATTLE) and not c:IsReason(REASON_REPLACE) and c:IsLocation(LOCATION_MZONE) and c:IsControler(tp) and c:IsReason(REASON_EFFECT+REASON_BATTLE) and not c:IsReason(REASON_REPLACE)
end end
function c33964637.reptg(e,tp,eg,ep,ev,re,r,rp,chk) function c33964637.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -32,7 +32,7 @@ function c38280762.initial_effect(c) ...@@ -32,7 +32,7 @@ function c38280762.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c38280762.spfilter(c) function c38280762.spfilter(c)
return c:IsSetCard(0x3d) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost() return c:IsSetCard(0x103d) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost()
end end
function c38280762.spcon(e,c) function c38280762.spcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -12,7 +12,7 @@ function c41458579.initial_effect(c) ...@@ -12,7 +12,7 @@ function c41458579.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c41458579.filter(c) function c41458579.filter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
end end
function c41458579.condition(e,tp,eg,ep,ev,re,r,rp) function c41458579.condition(e,tp,eg,ep,ev,re,r,rp)
if not Duel.IsExistingMatchingCard(c41458579.filter,tp,LOCATION_MZONE,0,1,nil) then return false end if not Duel.IsExistingMatchingCard(c41458579.filter,tp,LOCATION_MZONE,0,1,nil) then return false end
......
...@@ -26,7 +26,7 @@ function c44686185.filter0(c) ...@@ -26,7 +26,7 @@ function c44686185.filter0(c)
return c:IsLocation(LOCATION_MZONE) and c:GetSequence()<5 return c:IsLocation(LOCATION_MZONE) and c:GetSequence()<5
end end
function c44686185.filter1(c) function c44686185.filter1(c)
return c:IsSetCard(0x3d) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost() and (c:IsLocation(LOCATION_GRAVE) or c:IsFaceup()) return c:IsSetCard(0x103d) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost() and (c:IsLocation(LOCATION_GRAVE) or c:IsFaceup())
end end
function c44686185.filter3(c,e,tp) function c44686185.filter3(c,e,tp)
return c44686185.filter1(c) return c44686185.filter1(c)
...@@ -49,7 +49,7 @@ function c44686185.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -49,7 +49,7 @@ function c44686185.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Remove(g1,POS_FACEUP,REASON_COST) Duel.Remove(g1,POS_FACEUP,REASON_COST)
end end
function c44686185.filter2(c,e,tp) function c44686185.filter2(c,e,tp)
return c:IsSetCard(0x3d) and not c:IsCode(44686185) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x103d) and not c:IsCode(44686185) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c44686185.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c44686185.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c44686185.filter2(chkc,e,tp) end if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c44686185.filter2(chkc,e,tp) end
...@@ -65,7 +65,7 @@ function c44686185.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,7 +65,7 @@ function c44686185.operation(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c44686185.repfilter(c,tp) function c44686185.repfilter(c,tp)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
and c:IsLocation(LOCATION_MZONE) and c:IsControler(tp) and c:IsReason(REASON_EFFECT) and not c:IsReason(REASON_REPLACE) and c:IsLocation(LOCATION_MZONE) and c:IsControler(tp) and c:IsReason(REASON_EFFECT) and not c:IsReason(REASON_REPLACE)
end end
function c44686185.reptg(e,tp,eg,ep,ev,re,r,rp,chk) function c44686185.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -11,7 +11,7 @@ function c46874015.initial_effect(c) ...@@ -11,7 +11,7 @@ function c46874015.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c46874015.filter(c,e,tp) function c46874015.filter(c,e,tp)
return c:IsSetCard(0x3d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x103d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c46874015.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c46874015.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c46874015.filter(chkc,e,tp) end if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c46874015.filter(chkc,e,tp) end
......
...@@ -29,7 +29,7 @@ function c47436247.initial_effect(c) ...@@ -29,7 +29,7 @@ function c47436247.initial_effect(c)
end end
c47436247.counter_add_list={0x3} c47436247.counter_add_list={0x3}
function c47436247.ctfilter(c) function c47436247.ctfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
end end
function c47436247.ctop(e,tp,eg,ep,ev,re,r,rp) function c47436247.ctop(e,tp,eg,ep,ev,re,r,rp)
if eg:IsExists(c47436247.ctfilter,1,nil) then if eg:IsExists(c47436247.ctfilter,1,nil) then
...@@ -43,7 +43,7 @@ function c47436247.spcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -43,7 +43,7 @@ function c47436247.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(e:GetHandler(),REASON_COST) Duel.SendtoGrave(e:GetHandler(),REASON_COST)
end end
function c47436247.filter(c,ct,e,tp) function c47436247.filter(c,ct,e,tp)
return c:IsLevelBelow(ct) and c:IsSetCard(0x3d,0x20) return c:IsLevelBelow(ct) and c:IsSetCard(0x103d,0x20)
and c:IsType(TYPE_EFFECT) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsType(TYPE_EFFECT) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c47436247.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c47436247.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -32,7 +32,7 @@ function c48505422.rlcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -32,7 +32,7 @@ function c48505422.rlcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD)
end end
function c48505422.filter(c) function c48505422.filter(c)
return c:IsSetCard(0x3d) and not c:IsCode(48505422) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsSetCard(0x103d) and not c:IsCode(48505422) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end end
function c48505422.rltg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c48505422.rltg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and c48505422.filter(chkc) end if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and c48505422.filter(chkc) end
......
...@@ -22,7 +22,7 @@ function c49721904.initial_effect(c) ...@@ -22,7 +22,7 @@ function c49721904.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c49721904.spfilter(c) function c49721904.spfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) and not c:IsCode(49721904) return c:IsFaceup() and c:IsSetCard(0x103d) and not c:IsCode(49721904)
end end
function c49721904.spcon(e,c) function c49721904.spcon(e,c)
if c==nil then return true end if c==nil then return true end
...@@ -30,7 +30,7 @@ function c49721904.spcon(e,c) ...@@ -30,7 +30,7 @@ function c49721904.spcon(e,c)
and Duel.IsExistingMatchingCard(c49721904.spfilter,c:GetControler(),LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(c49721904.spfilter,c:GetControler(),LOCATION_MZONE,0,1,nil)
end end
function c49721904.vfilter(c) function c49721904.vfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
end end
function c49721904.valcon(e) function c49721904.valcon(e)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -27,7 +27,7 @@ function c53819808.initial_effect(c) ...@@ -27,7 +27,7 @@ function c53819808.initial_effect(c)
end end
c53819808.counter_add_list={0x3} c53819808.counter_add_list={0x3}
function c53819808.ctfilter(c) function c53819808.ctfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
end end
function c53819808.ctop(e,tp,eg,ep,ev,re,r,rp) function c53819808.ctop(e,tp,eg,ep,ev,re,r,rp)
if eg:IsExists(c53819808.ctfilter,1,nil) then if eg:IsExists(c53819808.ctfilter,1,nil) then
......
...@@ -10,7 +10,7 @@ function c54031490.initial_effect(c) ...@@ -10,7 +10,7 @@ function c54031490.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c54031490.filter(c) function c54031490.filter(c)
return c:IsSetCard(0x3d) and c:IsLevelBelow(3) and c:IsAbleToHand() return c:IsSetCard(0x103d) and c:IsLevelBelow(3) and c:IsAbleToHand()
end end
function c54031490.target(e,tp,eg,ep,ev,re,r,rp,chk) function c54031490.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c54031490.filter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c54031490.filter,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -11,7 +11,7 @@ function c54913680.initial_effect(c) ...@@ -11,7 +11,7 @@ function c54913680.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c54913680.rfilter(c) function c54913680.rfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
end end
function c54913680.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c54913680.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(1) e:SetLabel(1)
......
...@@ -44,7 +44,7 @@ function c63176202.initial_effect(c) ...@@ -44,7 +44,7 @@ function c63176202.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function c63176202.spfilter(c) function c63176202.spfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
end end
function c63176202.spcon(e,c) function c63176202.spcon(e,c)
if c==nil then return true end if c==nil then return true end
...@@ -53,7 +53,7 @@ function c63176202.spcon(e,c) ...@@ -53,7 +53,7 @@ function c63176202.spcon(e,c)
and Duel.IsExistingMatchingCard(c63176202.spfilter,tp,LOCATION_MZONE,0,2,nil) and Duel.IsExistingMatchingCard(c63176202.spfilter,tp,LOCATION_MZONE,0,2,nil)
end end
function c63176202.repfilter(c,e) function c63176202.repfilter(c,e)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED) and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED)
end end
function c63176202.desreptg(e,tp,eg,ep,ev,re,r,rp,chk) function c63176202.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -10,7 +10,7 @@ function c6357341.initial_effect(c) ...@@ -10,7 +10,7 @@ function c6357341.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c6357341.filter(c) function c6357341.filter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
end end
function c6357341.condition(e,tp,eg,ep,ev,re,r,rp) function c6357341.condition(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c6357341.filter,tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(c6357341.filter,tp,LOCATION_MZONE,0,nil)
......
...@@ -24,7 +24,7 @@ function c64398890.initial_effect(c) ...@@ -24,7 +24,7 @@ function c64398890.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c64398890.cfilter(c) function c64398890.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) and not c:IsCode(64398890) return c:IsFaceup() and c:IsSetCard(0x103d) and not c:IsCode(64398890)
end end
function c64398890.descon(e,tp,eg,ep,ev,re,r,rp) function c64398890.descon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c64398890.cfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c64398890.cfilter,tp,LOCATION_MZONE,0,1,nil)
...@@ -56,7 +56,7 @@ function c64398890.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -56,7 +56,7 @@ function c64398890.desop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c64398890.repfilter(c,e) function c64398890.repfilter(c,e)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED) and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED)
end end
function c64398890.desreptg(e,tp,eg,ep,ev,re,r,rp,chk) function c64398890.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -64,10 +64,10 @@ function c65685470.initial_effect(c) ...@@ -64,10 +64,10 @@ function c65685470.initial_effect(c)
end end
c65685470.old_union=true c65685470.old_union=true
function c65685470.eqlimit(e,c) function c65685470.eqlimit(e,c)
return c:IsSetCard(0x3d) return c:IsSetCard(0x103d)
end end
function c65685470.filter(c) function c65685470.filter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) and c:GetUnionCount()==0 return c:IsFaceup() and c:IsSetCard(0x103d) and c:GetUnionCount()==0
end end
function c65685470.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c65685470.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c65685470.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c65685470.filter(chkc) end
......
...@@ -23,7 +23,7 @@ function c6579928.filter(c,att) ...@@ -23,7 +23,7 @@ function c6579928.filter(c,att)
return c:IsFaceup() and c:IsAttribute(att) return c:IsFaceup() and c:IsAttribute(att)
end end
function c6579928.thfilter(c,tp) function c6579928.thfilter(c,tp)
return c:IsSetCard(0x3d) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsSetCard(0x103d) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
and not Duel.IsExistingMatchingCard(c6579928.filter,tp,LOCATION_MZONE,0,1,nil,c:GetAttribute()) and not Duel.IsExistingMatchingCard(c6579928.filter,tp,LOCATION_MZONE,0,1,nil,c:GetAttribute())
end end
function c6579928.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function c6579928.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
...@@ -39,7 +39,7 @@ function c6579928.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -39,7 +39,7 @@ function c6579928.thop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c6579928.repfilter(c,tp) function c6579928.repfilter(c,tp)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
and c:IsLocation(LOCATION_MZONE) and c:IsControler(tp) and c:IsReason(REASON_EFFECT) and not c:IsReason(REASON_REPLACE) and c:IsLocation(LOCATION_MZONE) and c:IsControler(tp) and c:IsReason(REASON_EFFECT) and not c:IsReason(REASON_REPLACE)
end end
function c6579928.reptg(e,tp,eg,ep,ev,re,r,rp,chk) function c6579928.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -17,13 +17,13 @@ function c69025477.initial_effect(c) ...@@ -17,13 +17,13 @@ function c69025477.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c69025477.cfilter(c) function c69025477.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) and not c:IsCode(69025477) return c:IsFaceup() and c:IsSetCard(0x103d) and not c:IsCode(69025477)
end end
function c69025477.dircon(e) function c69025477.dircon(e)
return Duel.IsExistingMatchingCard(c69025477.cfilter,e:GetHandler():GetControler(),LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c69025477.cfilter,e:GetHandler():GetControler(),LOCATION_MZONE,0,1,nil)
end end
function c69025477.repfilter(c,e) function c69025477.repfilter(c,e)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED) and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED)
end end
function c69025477.desreptg(e,tp,eg,ep,ev,re,r,rp,chk) function c69025477.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -25,13 +25,13 @@ function c70180284.initial_effect(c) ...@@ -25,13 +25,13 @@ function c70180284.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c70180284.tgcfilter(c,tp) function c70180284.tgcfilter(c,tp)
return c:IsFaceup() and c:IsSetCard(0x3d) and c:IsControler(tp) return c:IsFaceup() and c:IsSetCard(0x103d) and c:IsControler(tp)
end end
function c70180284.tgcon(e,tp,eg,ep,ev,re,r,rp) function c70180284.tgcon(e,tp,eg,ep,ev,re,r,rp)
return eg and eg:IsExists(c70180284.tgcfilter,1,e:GetHandler(),tp) return eg and eg:IsExists(c70180284.tgcfilter,1,e:GetHandler(),tp)
end end
function c70180284.tgfilter(c) function c70180284.tgfilter(c)
return c:IsSetCard(0x3d) and c:IsAbleToGrave() return c:IsSetCard(0x103d) and c:IsAbleToGrave()
end end
function c70180284.tgtg(e,tp,eg,ep,ev,re,r,rp,chk) function c70180284.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c70180284.tgfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c70180284.tgfilter,tp,LOCATION_DECK,0,1,nil) end
...@@ -45,7 +45,7 @@ function c70180284.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,7 +45,7 @@ function c70180284.tgop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c70180284.repfilter(c,tp) function c70180284.repfilter(c,tp)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
and c:IsLocation(LOCATION_MZONE) and c:IsControler(tp) and c:IsReason(REASON_EFFECT) and not c:IsReason(REASON_REPLACE) and c:IsLocation(LOCATION_MZONE) and c:IsControler(tp) and c:IsReason(REASON_EFFECT) and not c:IsReason(REASON_REPLACE)
end end
function c70180284.reptg(e,tp,eg,ep,ev,re,r,rp,chk) function c70180284.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -25,7 +25,7 @@ function c71207871.spcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -25,7 +25,7 @@ function c71207871.spcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_EFFECT+REASON_BATTLE)~=0 return bit.band(r,REASON_EFFECT+REASON_BATTLE)~=0
end end
function c71207871.spfilter(c,e,tp) function c71207871.spfilter(c,e,tp)
return c:IsSetCard(0x3d) and not c:IsCode(71207871) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x103d) and not c:IsCode(71207871) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c71207871.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c71207871.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
...@@ -40,7 +40,7 @@ function c71207871.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,7 @@ function c71207871.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c71207871.repfilter(c,tp) function c71207871.repfilter(c,tp)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
and c:IsLocation(LOCATION_MZONE) and c:IsControler(tp) and c:IsReason(REASON_EFFECT) and not c:IsReason(REASON_REPLACE) and c:IsLocation(LOCATION_MZONE) and c:IsControler(tp) and c:IsReason(REASON_EFFECT) and not c:IsReason(REASON_REPLACE)
end end
function c71207871.reptg(e,tp,eg,ep,ev,re,r,rp,chk) function c71207871.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -21,7 +21,7 @@ function c71934924.initial_effect(c) ...@@ -21,7 +21,7 @@ function c71934924.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c71934924.check(c,tp) function c71934924.check(c,tp)
return c and c:IsSetCard(0x3d) and c:IsControler(tp) return c and c:IsSetCard(0x103d) and c:IsControler(tp)
end end
function c71934924.atop(e,tp,eg,ep,ev,re,r,rp) function c71934924.atop(e,tp,eg,ep,ev,re,r,rp)
if c71934924.check(Duel.GetAttacker(),tp) or c71934924.check(Duel.GetAttackTarget(),tp) then if c71934924.check(Duel.GetAttacker(),tp) or c71934924.check(Duel.GetAttackTarget(),tp) then
...@@ -29,7 +29,7 @@ function c71934924.atop(e,tp,eg,ep,ev,re,r,rp) ...@@ -29,7 +29,7 @@ function c71934924.atop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c71934924.filter(c) function c71934924.filter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) and c:GetFlagEffect(71934924)==0 return c:IsFaceup() and c:IsSetCard(0x103d) and c:GetFlagEffect(71934924)==0
end end
function c71934924.upop(e,tp,eg,ep,ev,re,r,rp) function c71934924.upop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -30,7 +30,7 @@ function c72345736.initial_effect(c) ...@@ -30,7 +30,7 @@ function c72345736.initial_effect(c)
end end
c72345736.counter_add_list={0x3} c72345736.counter_add_list={0x3}
function c72345736.ctfilter(c) function c72345736.ctfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
end end
function c72345736.ctop(e,tp,eg,ep,ev,re,r,rp) function c72345736.ctop(e,tp,eg,ep,ev,re,r,rp)
if eg:IsExists(c72345736.ctfilter,1,nil) then if eg:IsExists(c72345736.ctfilter,1,nil) then
......
...@@ -21,7 +21,7 @@ function c7291576.initial_effect(c) ...@@ -21,7 +21,7 @@ function c7291576.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c7291576.thfilter(c) function c7291576.thfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsFaceup() and c:IsSetCard(0x103d) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end end
function c7291576.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c7291576.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_REMOVED) and c7291576.thfilter(chkc) end if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_REMOVED) and c7291576.thfilter(chkc) end
...@@ -37,7 +37,7 @@ function c7291576.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -37,7 +37,7 @@ function c7291576.thop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c7291576.repfilter(c,tp) function c7291576.repfilter(c,tp)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
and c:IsLocation(LOCATION_MZONE) and c:IsControler(tp) and c:IsReason(REASON_EFFECT) and not c:IsReason(REASON_REPLACE) and c:IsLocation(LOCATION_MZONE) and c:IsControler(tp) and c:IsReason(REASON_EFFECT) and not c:IsReason(REASON_REPLACE)
end end
function c7291576.reptg(e,tp,eg,ep,ev,re,r,rp,chk) function c7291576.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -30,7 +30,7 @@ function c74094021.spcon(e,c) ...@@ -30,7 +30,7 @@ function c74094021.spcon(e,c)
Duel.IsExistingMatchingCard(c74094021.spfilter,c:GetControler(),LOCATION_ONFIELD,0,1,nil) Duel.IsExistingMatchingCard(c74094021.spfilter,c:GetControler(),LOCATION_ONFIELD,0,1,nil)
end end
function c74094021.costfilter(c,tp) function c74094021.costfilter(c,tp)
return c:IsSetCard(0x3d) and (c:IsControler(tp) or c:IsFaceup()) return c:IsSetCard(0x103d) and (c:IsControler(tp) or c:IsFaceup())
end end
function c74094021.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c74094021.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c74094021.costfilter,1,e:GetHandler(),tp) end if chk==0 then return Duel.CheckReleaseGroup(tp,c74094021.costfilter,1,e:GetHandler(),tp) end
......
...@@ -39,7 +39,7 @@ function c74752631.initial_effect(c) ...@@ -39,7 +39,7 @@ function c74752631.initial_effect(c)
end end
c74752631.counter_add_list={0x3} c74752631.counter_add_list={0x3}
function c74752631.lcheck(g,lc) function c74752631.lcheck(g,lc)
return g:IsExists(Card.IsLinkSetCard,1,nil,0x3d) return g:IsExists(Card.IsLinkSetCard,1,nil,0x103d)
end end
function c74752631.thcon(e,tp,eg,ep,ev,re,r,rp) function c74752631.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
...@@ -65,9 +65,9 @@ function c74752631.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,9 +65,9 @@ function c74752631.thop(e,tp,eg,ep,ev,re,r,rp)
end end
function c74752631.cfilter(c,ec) function c74752631.cfilter(c,ec)
if c:IsLocation(LOCATION_MZONE) then if c:IsLocation(LOCATION_MZONE) then
return c:IsSetCard(0x3d) and c:IsFaceup() and ec:GetLinkedGroup():IsContains(c) return c:IsSetCard(0x103d) and c:IsFaceup() and ec:GetLinkedGroup():IsContains(c)
else else
return c:IsPreviousSetCard(0x3d) and c:IsPreviousPosition(POS_FACEUP) return c:IsPreviousSetCard(0x103d) and c:IsPreviousPosition(POS_FACEUP)
and bit.extract(ec:GetLinkedZone(c:GetPreviousControler()),c:GetPreviousSequence())~=0 and bit.extract(ec:GetLinkedZone(c:GetPreviousControler()),c:GetPreviousSequence())~=0
end end
end end
......
...@@ -29,13 +29,13 @@ function c75116619.initial_effect(c) ...@@ -29,13 +29,13 @@ function c75116619.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c75116619.cfilter(c) function c75116619.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) and not c:IsCode(75116619) return c:IsFaceup() and c:IsSetCard(0x103d) and not c:IsCode(75116619)
end end
function c75116619.thcon(e,tp,eg,ep,ev,re,r,rp) function c75116619.thcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c75116619.cfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c75116619.cfilter,tp,LOCATION_MZONE,0,1,nil)
end end
function c75116619.costfilter(c) function c75116619.costfilter(c)
return c:IsSetCard(0x3d) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost() return c:IsSetCard(0x103d) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost()
end end
function c75116619.thcost(e,tp,eg,ep,ev,re,r,rp,chk) function c75116619.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c75116619.costfilter,tp,LOCATION_GRAVE,0,2,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c75116619.costfilter,tp,LOCATION_GRAVE,0,2,nil) end
...@@ -61,7 +61,7 @@ function c75116619.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,7 +61,7 @@ function c75116619.thop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c75116619.vfilter(c) function c75116619.vfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) and not c:IsCode(75116619) return c:IsFaceup() and c:IsSetCard(0x103d) and not c:IsCode(75116619)
end end
function c75116619.valcon(e) function c75116619.valcon(e)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -16,7 +16,7 @@ function c75525309.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -16,7 +16,7 @@ function c75525309.condition(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetFieldGroup(tp,LOCATION_MZONE,0) local g=Duel.GetFieldGroup(tp,LOCATION_MZONE,0)
local ct=g:GetCount() local ct=g:GetCount()
local tg=g:GetFirst() local tg=g:GetFirst()
return ct==1 and tg:IsFaceup() and tg:IsAttackPos() and tg:IsSetCard(0x3d) return ct==1 and tg:IsFaceup() and tg:IsAttackPos() and tg:IsSetCard(0x103d)
end end
function c75525309.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c75525309.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsOnField() and chkc:IsAbleToHand() end if chkc then return chkc:IsControler(1-tp) and chkc:IsOnField() and chkc:IsAbleToHand() end
......
...@@ -11,13 +11,13 @@ function c77847678.initial_effect(c) ...@@ -11,13 +11,13 @@ function c77847678.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c77847678.cfilter(c,tp) function c77847678.cfilter(c,tp)
return c:IsSetCard(0x3d) and c:IsPreviousControler(tp) return c:IsSetCard(0x103d) and c:IsPreviousControler(tp)
end end
function c77847678.condition(e,tp,eg,ep,ev,re,r,rp) function c77847678.condition(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c77847678.cfilter,1,nil,tp) return eg:IsExists(c77847678.cfilter,1,nil,tp)
end end
function c77847678.filter(c,e,tp) function c77847678.filter(c,e,tp)
return c:IsSetCard(0x3d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x103d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c77847678.target(e,tp,eg,ep,ev,re,r,rp,chk) function c77847678.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -14,14 +14,14 @@ function c78792195.initial_effect(c) ...@@ -14,14 +14,14 @@ function c78792195.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c78792195.confilter(c) function c78792195.confilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
end end
function c78792195.con(e,tp,eg,ep,ev,re,r,rp) function c78792195.con(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c78792195.confilter,tp,LOCATION_MZONE,0,1,e:GetHandler()) return Duel.IsExistingMatchingCard(c78792195.confilter,tp,LOCATION_MZONE,0,1,e:GetHandler())
end end
function c78792195.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c78792195.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,nil,0x3d) end if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,nil,0x103d) end
local sg=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,nil,0x3d) local sg=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,nil,0x103d)
Duel.Release(sg,REASON_COST) Duel.Release(sg,REASON_COST)
end end
function c78792195.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c78792195.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
...@@ -19,7 +19,7 @@ function c79968632.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -19,7 +19,7 @@ function c79968632.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(g,REASON_COST) Duel.SendtoGrave(g,REASON_COST)
end end
function c79968632.filter(c,e,tp) function c79968632.filter(c,e,tp)
return c:IsFaceup() and c:IsSetCard(0x3d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsFaceup() and c:IsSetCard(0x103d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c79968632.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c79968632.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_REMOVED) and c79968632.filter(chkc,e,tp) end if chkc then return chkc:IsLocation(LOCATION_REMOVED) and c79968632.filter(chkc,e,tp) end
......
...@@ -11,7 +11,7 @@ function c81426505.initial_effect(c) ...@@ -11,7 +11,7 @@ function c81426505.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c81426505.confilter(c) function c81426505.confilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
end end
function c81426505.descon(e,tp,eg,ep,ev,re,r,rp) function c81426505.descon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c81426505.confilter,tp,LOCATION_MZONE,0,3,nil) return Duel.IsExistingMatchingCard(c81426505.confilter,tp,LOCATION_MZONE,0,3,nil)
......
...@@ -22,7 +22,7 @@ function c83039729.initial_effect(c) ...@@ -22,7 +22,7 @@ function c83039729.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c83039729.spfilter(c) function c83039729.spfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
end end
function c83039729.spcon(e,c) function c83039729.spcon(e,c)
if c==nil then return true end if c==nil then return true end
...@@ -34,7 +34,7 @@ function c83039729.thcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -34,7 +34,7 @@ function c83039729.thcon(e,tp,eg,ep,ev,re,r,rp)
return not c:IsReason(REASON_BATTLE) and rp==1-tp and c:IsPreviousControler(tp) return not c:IsReason(REASON_BATTLE) and rp==1-tp and c:IsPreviousControler(tp)
end end
function c83039729.filter(c) function c83039729.filter(c)
return c:IsSetCard(0x3d) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsSetCard(0x103d) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end end
function c83039729.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c83039729.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and c83039729.filter(chkc) end if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and c83039729.filter(chkc) end
......
...@@ -21,7 +21,7 @@ function c84613836.spcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -21,7 +21,7 @@ function c84613836.spcon(e,tp,eg,ep,ev,re,r,rp)
return ep==tp and Duel.GetCurrentPhase()==PHASE_DRAW return ep==tp and Duel.GetCurrentPhase()==PHASE_DRAW
end end
function c84613836.filter(c,e,tp) function c84613836.filter(c,e,tp)
return c:IsSetCard(0x3d) and c:IsType(TYPE_MONSTER) and not c:IsPublic() and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x103d) and c:IsType(TYPE_MONSTER) and not c:IsPublic() and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c84613836.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c84613836.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and eg:IsExists(c84613836.filter,1,nil,e,tp) end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and eg:IsExists(c84613836.filter,1,nil,e,tp) end
......
...@@ -24,7 +24,7 @@ function c90397998.initial_effect(c) ...@@ -24,7 +24,7 @@ function c90397998.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c90397998.cfilter(c) function c90397998.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) and not c:IsCode(90397998) return c:IsFaceup() and c:IsSetCard(0x103d) and not c:IsCode(90397998)
end end
function c90397998.descon(e,tp,eg,ep,ev,re,r,rp) function c90397998.descon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c90397998.cfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c90397998.cfilter,tp,LOCATION_MZONE,0,1,nil)
...@@ -56,7 +56,7 @@ function c90397998.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -56,7 +56,7 @@ function c90397998.desop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c90397998.repfilter(c,e) function c90397998.repfilter(c,e)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED) and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED)
end end
function c90397998.desreptg(e,tp,eg,ep,ev,re,r,rp,chk) function c90397998.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -21,7 +21,7 @@ function c95519486.initial_effect(c) ...@@ -21,7 +21,7 @@ function c95519486.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c95519486.cfilter(c) function c95519486.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) and not c:IsCode(95519486) return c:IsFaceup() and c:IsSetCard(0x103d) and not c:IsCode(95519486)
end end
function c95519486.descon(e,tp,eg,ep,ev,re,r,rp) function c95519486.descon(e,tp,eg,ep,ev,re,r,rp)
return aux.dsercon(e,tp,eg,ep,ev,re,r,rp) and e:GetHandler()==Duel.GetAttacker() and Duel.GetAttackTarget() return aux.dsercon(e,tp,eg,ep,ev,re,r,rp) and e:GetHandler()==Duel.GetAttacker() and Duel.GetAttackTarget()
...@@ -38,7 +38,7 @@ function c95519486.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -38,7 +38,7 @@ function c95519486.desop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c95519486.repfilter(c,e) function c95519486.repfilter(c,e)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED) and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED+STATUS_BATTLE_DESTROYED)
end end
function c95519486.desreptg(e,tp,eg,ep,ev,re,r,rp,chk) function c95519486.desreptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -14,7 +14,7 @@ function c96218085.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -14,7 +14,7 @@ function c96218085.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()<PHASE_MAIN2 return Duel.GetCurrentPhase()<PHASE_MAIN2
end end
function c96218085.filter(c) function c96218085.filter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
end end
function c96218085.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c96218085.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c96218085.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c96218085.filter(chkc) end
...@@ -35,7 +35,7 @@ function c96218085.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -35,7 +35,7 @@ function c96218085.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c96218085.filter2(c) function c96218085.filter2(c)
return c:IsFaceup() and (c:IsSetCard(0x3d) or c:IsCode(63176202)) return c:IsFaceup() and (c:IsSetCard(0x103d) or c:IsCode(63176202))
end end
function c96218085.desop(e,tp,eg,ep,ev,re,r,rp) function c96218085.desop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c96218085.filter2,tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(c96218085.filter2,tp,LOCATION_MZONE,0,nil)
......
...@@ -11,7 +11,7 @@ function c98126725.initial_effect(c) ...@@ -11,7 +11,7 @@ function c98126725.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c98126725.cfilter(c) function c98126725.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3d) return c:IsFaceup() and c:IsSetCard(0x103d)
end end
function c98126725.atcon(e,tp,eg,ep,ev,re,r,rp) function c98126725.atcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c98126725.cfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c98126725.cfilter,tp,LOCATION_MZONE,0,1,nil)
......
...@@ -15,7 +15,7 @@ function c99675356.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -15,7 +15,7 @@ function c99675356.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsLocation(LOCATION_GRAVE) and e:GetHandler():IsReason(REASON_BATTLE) return e:GetHandler():IsLocation(LOCATION_GRAVE) and e:GetHandler():IsReason(REASON_BATTLE)
end end
function c99675356.filter(c,e,tp) function c99675356.filter(c,e,tp)
return c:IsLevelBelow(3) and c:IsSetCard(0x3d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsLevelBelow(3) and c:IsSetCard(0x103d) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c99675356.target(e,tp,eg,ep,ev,re,r,rp,chk) function c99675356.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
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