Commit c4ac29aa authored by nekrozar's avatar nekrozar

update

parent 6a65f1ba
...@@ -17,3 +17,4 @@ function c10526791.initial_effect(c) ...@@ -17,3 +17,4 @@ function c10526791.initial_effect(c)
e2:SetValue(1) e2:SetValue(1)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c10526791.material_setcode=0x8
...@@ -45,6 +45,7 @@ function c11502550.initial_effect(c) ...@@ -45,6 +45,7 @@ function c11502550.initial_effect(c)
e5:SetValue(c11502550.atkval) e5:SetValue(c11502550.atkval)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
c11502550.material_setcode=0x8
function c11502550.splimit(e,se,sp,st) function c11502550.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA) return not e:GetHandler():IsLocation(LOCATION_EXTRA)
end end
......
...@@ -31,6 +31,7 @@ function c13293158.initial_effect(c) ...@@ -31,6 +31,7 @@ function c13293158.initial_effect(c)
e3:SetOperation(c13293158.activate) e3:SetOperation(c13293158.activate)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c13293158.material_setcode=0x8
c13293158.dark_calling=true c13293158.dark_calling=true
function c13293158.splimit(e,se,sp,st) function c13293158.splimit(e,se,sp,st)
return st==SUMMON_TYPE_FUSION+0x10 return st==SUMMON_TYPE_FUSION+0x10
......
...@@ -17,6 +17,7 @@ function c14225239.initial_effect(c) ...@@ -17,6 +17,7 @@ function c14225239.initial_effect(c)
e2:SetCondition(c14225239.dacon) e2:SetCondition(c14225239.dacon)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c14225239.material_setcode=0x8
function c14225239.filter(c) function c14225239.filter(c)
return c:IsFacedown() and c:GetSequence()~=5 return c:IsFacedown() and c:GetSequence()~=5
end end
......
...@@ -22,6 +22,7 @@ function c16304628.initial_effect(c) ...@@ -22,6 +22,7 @@ function c16304628.initial_effect(c)
e3:SetValue(aux.fuslimit) e3:SetValue(aux.fuslimit)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c16304628.material_setcode=0x8
function c16304628.atkcon(e,tp,eg,ep,ev,re,r,rp) function c16304628.atkcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(e:GetHandler():GetSummonType(),SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION return bit.band(e:GetHandler():GetSummonType(),SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION
end end
......
...@@ -48,6 +48,7 @@ function c17032740.initial_effect(c) ...@@ -48,6 +48,7 @@ function c17032740.initial_effect(c)
e5:SetOperation(c17032740.coinop) e5:SetOperation(c17032740.coinop)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
c17032740.material_setcode=0x8
function c17032740.splimit(e,se,sp,st) function c17032740.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA) return not e:GetHandler():IsLocation(LOCATION_EXTRA)
end end
......
...@@ -22,6 +22,7 @@ function c1945387.initial_effect(c) ...@@ -22,6 +22,7 @@ function c1945387.initial_effect(c)
e2:SetOperation(c1945387.drop) e2:SetOperation(c1945387.drop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c1945387.material_setcode=0x8
function c1945387.drtg(e,tp,eg,ep,ev,re,r,rp,chk) function c1945387.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.SetTargetPlayer(tp) Duel.SetTargetPlayer(tp)
......
...@@ -22,6 +22,7 @@ function c21947653.initial_effect(c) ...@@ -22,6 +22,7 @@ function c21947653.initial_effect(c)
e2:SetOperation(c21947653.operation) e2:SetOperation(c21947653.operation)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c21947653.material_setcode=0x8
c21947653.dark_calling=true c21947653.dark_calling=true
function c21947653.splimit(e,se,sp,st) function c21947653.splimit(e,se,sp,st)
return st==SUMMON_TYPE_FUSION+0x10 return st==SUMMON_TYPE_FUSION+0x10
...@@ -38,4 +39,4 @@ function c21947653.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -38,4 +39,4 @@ function c21947653.operation(e,tp,eg,ep,ev,re,r,rp)
if tc and tc:IsRelateToEffect(e) then if tc and tc:IsRelateToEffect(e) then
Duel.Destroy(tc,REASON_EFFECT) Duel.Destroy(tc,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -30,6 +30,7 @@ function c22061412.initial_effect(c) ...@@ -30,6 +30,7 @@ function c22061412.initial_effect(c)
e4:SetValue(aux.fuslimit) e4:SetValue(aux.fuslimit)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
c22061412.material_setcode=0x8
function c22061412.atkfilter(c) function c22061412.atkfilter(c)
return c:IsFaceup() and c:IsSetCard(0x3008) return c:IsFaceup() and c:IsSetCard(0x3008)
end end
......
...@@ -27,6 +27,7 @@ function c22160245.initial_effect(c) ...@@ -27,6 +27,7 @@ function c22160245.initial_effect(c)
e3:SetCode(EFFECT_PIERCE) e3:SetCode(EFFECT_PIERCE)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c22160245.material_setcode=0x8
c22160245.dark_calling=true c22160245.dark_calling=true
function c22160245.splimit(e,se,sp,st) function c22160245.splimit(e,se,sp,st)
return st==SUMMON_TYPE_FUSION+0x10 return st==SUMMON_TYPE_FUSION+0x10
......
...@@ -32,6 +32,7 @@ function c23204029.initial_effect(c) ...@@ -32,6 +32,7 @@ function c23204029.initial_effect(c)
e3:SetOperation(c23204029.operation) e3:SetOperation(c23204029.operation)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c23204029.material_setcode=0x8
function c23204029.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c23204029.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and aux.disfilter1(chkc) end if chkc then return chkc:IsOnField() and aux.disfilter1(chkc) end
if chk==0 then return Duel.IsExistingTarget(aux.disfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end if chk==0 then return Duel.IsExistingTarget(aux.disfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
......
...@@ -30,6 +30,7 @@ function c25366484.initial_effect(c) ...@@ -30,6 +30,7 @@ function c25366484.initial_effect(c)
e3:SetValue(c25366484.atkup) e3:SetValue(c25366484.atkup)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c25366484.material_setcode=0x8
function c25366484.damtg(e,tp,eg,ep,ev,re,r,rp,chk) function c25366484.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
local bc=e:GetHandler():GetBattleTarget() local bc=e:GetHandler():GetBattleTarget()
......
...@@ -48,6 +48,7 @@ function c28677304.initial_effect(c) ...@@ -48,6 +48,7 @@ function c28677304.initial_effect(c)
e5:SetOperation(c28677304.disop) e5:SetOperation(c28677304.disop)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
c28677304.material_setcode=0x8
function c28677304.splimit(e,se,sp,st) function c28677304.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA) return not e:GetHandler():IsLocation(LOCATION_EXTRA)
end end
......
...@@ -37,6 +37,7 @@ function c29343734.initial_effect(c) ...@@ -37,6 +37,7 @@ function c29343734.initial_effect(c)
e5:SetValue(c29343734.val) e5:SetValue(c29343734.val)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
c29343734.material_setcode=0x8
function c29343734.retcon(e,tp,eg,ep,ev,re,r,rp) function c29343734.retcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(e:GetHandler():GetSummonType(),SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION return bit.band(e:GetHandler():GetSummonType(),SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION
end end
......
...@@ -19,6 +19,7 @@ function c30757127.initial_effect(c) ...@@ -19,6 +19,7 @@ function c30757127.initial_effect(c)
e1:SetOperation(c30757127.atkop) e1:SetOperation(c30757127.atkop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c30757127.material_setcode=0x8
function c30757127.ffilter(c) function c30757127.ffilter(c)
return c:IsFusionAttribute(ATTRIBUTE_DARK) and c:IsType(TYPE_EFFECT) return c:IsFusionAttribute(ATTRIBUTE_DARK) and c:IsType(TYPE_EFFECT)
end end
......
...@@ -27,6 +27,7 @@ function c31111109.initial_effect(c) ...@@ -27,6 +27,7 @@ function c31111109.initial_effect(c)
e3:SetValue(aux.fuslimit) e3:SetValue(aux.fuslimit)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c31111109.material_setcode=0x8
function c31111109.fuscon(e,g,gc,chkf) function c31111109.fuscon(e,g,gc,chkf)
if g==nil then return false end if g==nil then return false end
if gc then return false end if gc then return false end
......
...@@ -19,6 +19,7 @@ function c33574806.initial_effect(c) ...@@ -19,6 +19,7 @@ function c33574806.initial_effect(c)
e3:SetValue(c33574806.atkup) e3:SetValue(c33574806.atkup)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c33574806.material_setcode=0x8
function c33574806.atkup(e,c) function c33574806.atkup(e,c)
return Duel.GetMatchingGroupCount(Card.IsSetCard,c:GetControler(),LOCATION_GRAVE,0,nil,0x3008)*100 return Duel.GetMatchingGroupCount(Card.IsSetCard,c:GetControler(),LOCATION_GRAVE,0,nil,0x3008)*100
end end
...@@ -22,6 +22,7 @@ function c35809262.initial_effect(c) ...@@ -22,6 +22,7 @@ function c35809262.initial_effect(c)
e2:SetOperation(c35809262.damop) e2:SetOperation(c35809262.damop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c35809262.material_setcode=0x8
function c35809262.damcon(e,tp,eg,ep,ev,re,r,rp) function c35809262.damcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local bc=c:GetBattleTarget() local bc=c:GetBattleTarget()
......
...@@ -20,6 +20,7 @@ function c3642509.initial_effect(c) ...@@ -20,6 +20,7 @@ function c3642509.initial_effect(c)
e3:SetValue(aux.fuslimit) e3:SetValue(aux.fuslimit)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c3642509.material_setcode=0x8
function c3642509.atkcon(e,tp,eg,ep,ev,re,r,rp) function c3642509.atkcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(e:GetHandler():GetSummonType(),SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION return bit.band(e:GetHandler():GetSummonType(),SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION
end end
......
...@@ -35,6 +35,7 @@ function c40854197.initial_effect(c) ...@@ -35,6 +35,7 @@ function c40854197.initial_effect(c)
e5:SetValue(c40854197.atkup) e5:SetValue(c40854197.atkup)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
c40854197.material_setcode=0x8
function c40854197.atkfilter(c) function c40854197.atkfilter(c)
return c:IsFaceup() and c:GetCode()~=40854197 and c:IsAttribute(ATTRIBUTE_WATER) return c:IsFaceup() and c:GetCode()~=40854197 and c:IsAttribute(ATTRIBUTE_WATER)
end end
......
...@@ -17,3 +17,4 @@ function c41436536.initial_effect(c) ...@@ -17,3 +17,4 @@ function c41436536.initial_effect(c)
e2:SetValue(1) e2:SetValue(1)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c41436536.material_setcode=0x8
...@@ -33,6 +33,7 @@ function c41517968.initial_effect(c) ...@@ -33,6 +33,7 @@ function c41517968.initial_effect(c)
e4:SetOperation(c41517968.desop) e4:SetOperation(c41517968.desop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
c41517968.material_setcode=0x8
function c41517968.poscon(e,tp,eg,ep,ev,re,r,rp) function c41517968.poscon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler()==Duel.GetAttacker() and e:GetHandler():IsRelateToBattle() return e:GetHandler()==Duel.GetAttacker() and e:GetHandler():IsRelateToBattle()
end end
......
...@@ -14,6 +14,7 @@ function c45170821.initial_effect(c) ...@@ -14,6 +14,7 @@ function c45170821.initial_effect(c)
e2:SetOperation(c45170821.valop) e2:SetOperation(c45170821.valop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c45170821.material_setcode=0x8
function c45170821.sfilter(c) function c45170821.sfilter(c)
return c:IsFaceup() and c:IsSetCard(0x8) return c:IsFaceup() and c:IsSetCard(0x8)
end end
......
...@@ -23,6 +23,7 @@ function c46759931.initial_effect(c) ...@@ -23,6 +23,7 @@ function c46759931.initial_effect(c)
e3:SetCode(EFFECT_CANNOT_DIRECT_ATTACK) e3:SetCode(EFFECT_CANNOT_DIRECT_ATTACK)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c46759931.material_setcode=0x8
function c46759931.regcon(e,tp,eg,ep,ev,re,r,rp) function c46759931.regcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_FUSION return e:GetHandler():GetSummonType()==SUMMON_TYPE_FUSION
end end
......
...@@ -36,6 +36,7 @@ function c47737087.initial_effect(c) ...@@ -36,6 +36,7 @@ function c47737087.initial_effect(c)
e5:SetValue(c47737087.atkval) e5:SetValue(c47737087.atkval)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
c47737087.material_setcode=0x8
function c47737087.dacon(e) function c47737087.dacon(e)
return e:GetHandler():IsDefensePos() return e:GetHandler():IsDefensePos()
end end
......
...@@ -48,6 +48,7 @@ function c48996569.initial_effect(c) ...@@ -48,6 +48,7 @@ function c48996569.initial_effect(c)
e5:SetOperation(c48996569.thop) e5:SetOperation(c48996569.thop)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
c48996569.material_setcode=0x8
function c48996569.splimit(e,se,sp,st) function c48996569.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA) return not e:GetHandler():IsLocation(LOCATION_EXTRA)
end end
......
...@@ -56,6 +56,7 @@ function c49352945.initial_effect(c) ...@@ -56,6 +56,7 @@ function c49352945.initial_effect(c)
e6:SetOperation(c49352945.tdop) e6:SetOperation(c49352945.tdop)
c:RegisterEffect(e6) c:RegisterEffect(e6)
end end
c49352945.material_setcode=0x8
function c49352945.splimit(e,se,sp,st) function c49352945.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA) return not e:GetHandler():IsLocation(LOCATION_EXTRA)
end end
......
...@@ -32,6 +32,7 @@ function c50282757.initial_effect(c) ...@@ -32,6 +32,7 @@ function c50282757.initial_effect(c)
e3:SetValue(c50282757.indesval) e3:SetValue(c50282757.indesval)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c50282757.material_setcode=0x8
c50282757.dark_calling=true c50282757.dark_calling=true
function c50282757.splimit(e,se,sp,st) function c50282757.splimit(e,se,sp,st)
return st==SUMMON_TYPE_FUSION+0x10 return st==SUMMON_TYPE_FUSION+0x10
......
...@@ -30,6 +30,7 @@ function c5128859.initial_effect(c) ...@@ -30,6 +30,7 @@ function c5128859.initial_effect(c)
e3:SetOperation(c5128859.desop) e3:SetOperation(c5128859.desop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c5128859.material_setcode=0x8
function c5128859.splimit(e,se,sp,st) function c5128859.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA) return not e:GetHandler():IsLocation(LOCATION_EXTRA)
end end
......
...@@ -11,3 +11,4 @@ function c52031567.initial_effect(c) ...@@ -11,3 +11,4 @@ function c52031567.initial_effect(c)
e1:SetValue(aux.fuslimit) e1:SetValue(aux.fuslimit)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c52031567.material_setcode=0x8
...@@ -48,6 +48,7 @@ function c55171412.initial_effect(c) ...@@ -48,6 +48,7 @@ function c55171412.initial_effect(c)
e5:SetOperation(c55171412.desop) e5:SetOperation(c55171412.desop)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
c55171412.material_setcode=0x8
function c55171412.splimit(e,se,sp,st) function c55171412.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA) return not e:GetHandler():IsLocation(LOCATION_EXTRA)
end end
......
...@@ -26,6 +26,7 @@ function c58332301.initial_effect(c) ...@@ -26,6 +26,7 @@ function c58332301.initial_effect(c)
e3:SetOperation(c58332301.posop) e3:SetOperation(c58332301.posop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c58332301.material_setcode=0x8
c58332301.dark_calling=true c58332301.dark_calling=true
function c58332301.splimit(e,se,sp,st) function c58332301.splimit(e,se,sp,st)
return st==SUMMON_TYPE_FUSION+0x10 return st==SUMMON_TYPE_FUSION+0x10
......
...@@ -27,6 +27,7 @@ function c60493189.initial_effect(c) ...@@ -27,6 +27,7 @@ function c60493189.initial_effect(c)
e3:SetOperation(c60493189.desop) e3:SetOperation(c60493189.desop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c60493189.material_setcode=0x8
function c60493189.descost(e,tp,eg,ep,ev,re,r,rp,chk) function c60493189.descost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) end
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD) Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD)
......
...@@ -23,6 +23,7 @@ function c61204971.initial_effect(c) ...@@ -23,6 +23,7 @@ function c61204971.initial_effect(c)
e2:SetOperation(c61204971.desop) e2:SetOperation(c61204971.desop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c61204971.material_setcode=0x8
function c61204971.descost(e,tp,eg,ep,ev,re,r,rp,chk) function c61204971.descost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) end
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD) Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD)
......
...@@ -20,6 +20,7 @@ function c68745629.initial_effect(c) ...@@ -20,6 +20,7 @@ function c68745629.initial_effect(c)
e2:SetValue(1000) e2:SetValue(1000)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c68745629.material_setcode=0x8
function c68745629.atkcon(e) function c68745629.atkcon(e)
local ph=Duel.GetCurrentPhase() local ph=Duel.GetCurrentPhase()
if ph~=PHASE_DAMAGE and ph~=PHASE_DAMAGE_CAL then return false end if ph~=PHASE_DAMAGE and ph~=PHASE_DAMAGE_CAL then return false end
......
...@@ -35,6 +35,7 @@ function c72926163.initial_effect(c) ...@@ -35,6 +35,7 @@ function c72926163.initial_effect(c)
e5:SetCode(EFFECT_NO_BATTLE_DAMAGE) e5:SetCode(EFFECT_NO_BATTLE_DAMAGE)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
c72926163.material_setcode=0x8
function c72926163.valcheck(e,c) function c72926163.valcheck(e,c)
local g=c:GetMaterial() local g=c:GetMaterial()
local atk=0 local atk=0
......
...@@ -20,6 +20,7 @@ function c74711057.initial_effect(c) ...@@ -20,6 +20,7 @@ function c74711057.initial_effect(c)
e2:SetValue(aux.fuslimit) e2:SetValue(aux.fuslimit)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c74711057.material_setcode=0x8
function c74711057.atkcost(e,tp,eg,ep,ev,re,r,rp,chk) function c74711057.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,e:GetHandler(),0x3008) end if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,e:GetHandler(),0x3008) end
local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,e:GetHandler(),0x3008) local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,e:GetHandler(),0x3008)
......
...@@ -29,6 +29,7 @@ function c76263644.initial_effect(c) ...@@ -29,6 +29,7 @@ function c76263644.initial_effect(c)
e3:SetOperation(c76263644.spop) e3:SetOperation(c76263644.spop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c76263644.material_setcode=0x8
function c76263644.descost(e,tp,eg,ep,ev,re,r,rp,chk) function c76263644.descost(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
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
...@@ -54,6 +54,7 @@ function c78512663.initial_effect(c) ...@@ -54,6 +54,7 @@ function c78512663.initial_effect(c)
e6:SetOperation(c78512663.thop) e6:SetOperation(c78512663.thop)
c:RegisterEffect(e6) c:RegisterEffect(e6)
end end
c78512663.material_setcode=0x8
function c78512663.splimit(e,se,sp,st) function c78512663.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA) return not e:GetHandler():IsLocation(LOCATION_EXTRA)
end end
......
...@@ -22,6 +22,7 @@ function c81003500.initial_effect(c) ...@@ -22,6 +22,7 @@ function c81003500.initial_effect(c)
e2:SetOperation(c81003500.operation) e2:SetOperation(c81003500.operation)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c81003500.material_setcode=0x8
function c81003500.condition(e,tp,eg,ep,ev,re,r,rp) function c81003500.condition(e,tp,eg,ep,ev,re,r,rp)
return bit.band(e:GetHandler():GetSummonType(),SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION return bit.band(e:GetHandler():GetSummonType(),SUMMON_TYPE_FUSION)==SUMMON_TYPE_FUSION
end end
......
...@@ -22,6 +22,7 @@ function c81197327.initial_effect(c) ...@@ -22,6 +22,7 @@ function c81197327.initial_effect(c)
e2:SetOperation(c81197327.recop) e2:SetOperation(c81197327.recop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c81197327.material_setcode=0x8
function c81197327.reccon(e,tp,eg,ep,ev,re,r,rp) function c81197327.reccon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local bc=c:GetBattleTarget() local bc=c:GetBattleTarget()
......
...@@ -45,6 +45,7 @@ function c81566151.initial_effect(c) ...@@ -45,6 +45,7 @@ function c81566151.initial_effect(c)
e5:SetValue(c81566151.atkval) e5:SetValue(c81566151.atkval)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
c81566151.material_setcode=0x8
function c81566151.splimit(e,se,sp,st) function c81566151.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA) return not e:GetHandler():IsLocation(LOCATION_EXTRA)
end end
......
...@@ -21,6 +21,7 @@ function c83121692.initial_effect(c) ...@@ -21,6 +21,7 @@ function c83121692.initial_effect(c)
e1:SetOperation(c83121692.operation) e1:SetOperation(c83121692.operation)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c83121692.material_setcode=0x8
function c83121692.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c83121692.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToGraveAsCost,tp,LOCATION_ONFIELD,0,1,e:GetHandler()) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToGraveAsCost,tp,LOCATION_ONFIELD,0,1,e:GetHandler()) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
......
...@@ -49,6 +49,7 @@ function c85507811.initial_effect(c) ...@@ -49,6 +49,7 @@ function c85507811.initial_effect(c)
e5:SetOperation(c85507811.desop) e5:SetOperation(c85507811.desop)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
c85507811.material_setcode=0x8
function c85507811.splimit(e,se,sp,st) function c85507811.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA) return not e:GetHandler():IsLocation(LOCATION_EXTRA)
end end
......
...@@ -42,6 +42,7 @@ function c86346643.initial_effect(c) ...@@ -42,6 +42,7 @@ function c86346643.initial_effect(c)
e4:SetOperation(c86346643.tdop3) e4:SetOperation(c86346643.tdop3)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
c86346643.material_setcode=0x8
function c86346643.cfilter1(c) function c86346643.cfilter1(c)
return c:IsAbleToGraveAsCost() return c:IsAbleToGraveAsCost()
end end
......
...@@ -36,6 +36,7 @@ function c86676862.initial_effect(c) ...@@ -36,6 +36,7 @@ function c86676862.initial_effect(c)
e6:SetValue(1) e6:SetValue(1)
c:RegisterEffect(e6) c:RegisterEffect(e6)
end end
c86676862.material_setcode=0x8
c86676862.dark_calling=true c86676862.dark_calling=true
function c86676862.splimit(e,se,sp,st) function c86676862.splimit(e,se,sp,st)
return st==SUMMON_TYPE_FUSION+0x10 return st==SUMMON_TYPE_FUSION+0x10
......
...@@ -25,6 +25,7 @@ function c88820235.initial_effect(c) ...@@ -25,6 +25,7 @@ function c88820235.initial_effect(c)
e3:SetValue(c88820235.atkup) e3:SetValue(c88820235.atkup)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c88820235.material_setcode=0x8
function c88820235.atkup(e,c) function c88820235.atkup(e,c)
return Duel.GetMatchingGroupCount(Card.IsSetCard,c:GetControler(),LOCATION_GRAVE,0,nil,0x3008)*300 return Duel.GetMatchingGroupCount(Card.IsSetCard,c:GetControler(),LOCATION_GRAVE,0,nil,0x3008)*300
end end
...@@ -28,6 +28,7 @@ function c90579153.initial_effect(c) ...@@ -28,6 +28,7 @@ function c90579153.initial_effect(c)
e2:SetOperation(c90579153.desop) e2:SetOperation(c90579153.desop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c90579153.material_setcode=0x8
function c90579153.filter(c) function c90579153.filter(c)
return c:IsSetCard(0xc008) and c:IsLevelBelow(4) and c:GetAttack()>0 return c:IsSetCard(0xc008) and c:IsLevelBelow(4) and c:GetAttack()>0
end end
......
...@@ -42,6 +42,7 @@ function c95486586.initial_effect(c) ...@@ -42,6 +42,7 @@ function c95486586.initial_effect(c)
e4:SetOperation(c95486586.spop) e4:SetOperation(c95486586.spop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
c95486586.material_setcode=0x8
function c95486586.atkop(e,tp,eg,ep,ev,re,r,rp) function c95486586.atkop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and c:IsFaceup() then if c:IsRelateToEffect(e) and c:IsFaceup() then
......
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