Commit f1b511ed authored by nekrozar's avatar nekrozar

setcode

Hope(Utopi) setcode: 0x7f
Utopia setcode: 0x107f
parent eeefb35c
...@@ -21,7 +21,7 @@ function c11705261.initial_effect(c) ...@@ -21,7 +21,7 @@ function c11705261.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c11705261.filter(c,tp) function c11705261.filter(c,tp)
return c:IsSetCard(0x7f) and c:IsControler(tp) and c:GetSummonType()==SUMMON_TYPE_XYZ return c:IsSetCard(0x107f) and c:IsControler(tp) and c:GetSummonType()==SUMMON_TYPE_XYZ
end end
function c11705261.condition(e,tp,eg,ep,ev,re,r,rp) function c11705261.condition(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c11705261.filter,1,nil,tp) return eg:IsExists(c11705261.filter,1,nil,tp)
......
...@@ -51,7 +51,7 @@ function c12927849.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,7 +51,7 @@ function c12927849.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c12927849.eqfilter(c) function c12927849.eqfilter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) return c:IsFaceup() and c:IsSetCard(0x107f)
end end
function c12927849.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c12927849.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c12927849.eqfilter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c12927849.eqfilter(chkc) end
......
...@@ -30,7 +30,7 @@ function c18865703.eqcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -30,7 +30,7 @@ function c18865703.eqcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():CheckUniqueOnField(tp) return e:GetHandler():CheckUniqueOnField(tp)
end end
function c18865703.filter(c) function c18865703.filter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) return c:IsFaceup() and c:IsSetCard(0x107f)
end end
function c18865703.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c18865703.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c18865703.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c18865703.filter(chkc) end
......
...@@ -30,7 +30,7 @@ function c21521304.initial_effect(c) ...@@ -30,7 +30,7 @@ function c21521304.initial_effect(c)
e3:SetType(EFFECT_TYPE_SINGLE) e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e3:SetCode(EFFECT_ADD_SETCODE) e3:SetCode(EFFECT_ADD_SETCODE)
e3:SetValue(0x7f) e3:SetValue(0x107f)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c21521304.xyz_number=39 c21521304.xyz_number=39
...@@ -58,7 +58,7 @@ function c21521304.rmfilter(c) ...@@ -58,7 +58,7 @@ function c21521304.rmfilter(c)
return c:IsFaceup() and c:IsType(TYPE_XYZ) and c:IsAbleToRemove() return c:IsFaceup() and c:IsType(TYPE_XYZ) and c:IsAbleToRemove()
end end
function c21521304.spfilter(c,e,tp) function c21521304.spfilter(c,e,tp)
return c:IsSetCard(0x7f) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x107f) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c21521304.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c21521304.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return false end if chkc then return false end
......
...@@ -28,7 +28,7 @@ function c2648201.eqcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -28,7 +28,7 @@ function c2648201.eqcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():CheckUniqueOnField(tp) return e:GetHandler():CheckUniqueOnField(tp)
end end
function c2648201.filter(c) function c2648201.filter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) return c:IsFaceup() and c:IsSetCard(0x107f)
end end
function c2648201.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c2648201.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c2648201.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c2648201.filter(chkc) end
...@@ -71,7 +71,7 @@ function c2648201.spcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,7 +71,7 @@ function c2648201.spcon(e,tp,eg,ep,ev,re,r,rp)
return c:IsReason(REASON_LOST_TARGET) and c:GetPreviousControler()==tp and ec:IsReason(REASON_DESTROY) and ec:GetReasonPlayer()~=tp return c:IsReason(REASON_LOST_TARGET) and c:GetPreviousControler()==tp and ec:IsReason(REASON_DESTROY) and ec:GetReasonPlayer()~=tp
end end
function c2648201.spfilter(c,e,tp) function c2648201.spfilter(c,e,tp)
return c:IsSetCard(0x7f) and c:IsCanBeSpecialSummoned(e,0,tp,tp,false,false) return c:IsSetCard(0x107f) and c:IsCanBeSpecialSummoned(e,0,tp,tp,false,false)
end end
function c2648201.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c2648201.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and c2648201.spfilter(chkc,e,tp) end if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and c2648201.spfilter(chkc,e,tp) end
......
...@@ -38,7 +38,7 @@ function c26493435.initial_effect(c) ...@@ -38,7 +38,7 @@ function c26493435.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function c26493435.ctfilter(c,tp) function c26493435.ctfilter(c,tp)
return c:IsFaceup() and c:IsSetCard(0x7f) and c:IsControler(tp) return c:IsFaceup() and c:IsSetCard(0x107f) and c:IsControler(tp)
end end
function c26493435.ctcon(e,tp,eg,ep,ev,re,r,rp) function c26493435.ctcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c26493435.ctfilter,1,nil,tp) return eg:IsExists(c26493435.ctfilter,1,nil,tp)
......
...@@ -46,7 +46,7 @@ function c27062594.damcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,7 +46,7 @@ function c27062594.damcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp return Duel.GetTurnPlayer()==tp
end end
function c27062594.cfilter(c) function c27062594.cfilter(c)
return c:IsSetCard(0x7f) and c:IsAbleToRemoveAsCost() return c:IsSetCard(0x107f) and c:IsAbleToRemoveAsCost()
end end
function c27062594.damcost(e,tp,eg,ep,ev,re,r,rp,chk) function c27062594.damcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c27062594.cfilter,tp,LOCATION_GRAVE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c27062594.cfilter,tp,LOCATION_GRAVE,0,1,nil) end
......
...@@ -40,7 +40,7 @@ function c29353756.eqcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,7 @@ function c29353756.eqcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():CheckUniqueOnField(tp) return e:GetHandler():CheckUniqueOnField(tp)
end end
function c29353756.filter(c) function c29353756.filter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) return c:IsFaceup() and c:IsSetCard(0x107f)
end end
function c29353756.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c29353756.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c29353756.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c29353756.filter(chkc) end
......
...@@ -11,7 +11,7 @@ function c30341772.initial_effect(c) ...@@ -11,7 +11,7 @@ function c30341772.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c30341772.cfilter(c) function c30341772.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) return c:IsFaceup() and c:IsSetCard(0x107f)
end end
function c30341772.condition(e,tp,eg,ep,ev,re,r,rp) function c30341772.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c30341772.cfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c30341772.cfilter,tp,LOCATION_MZONE,0,1,nil)
......
...@@ -33,7 +33,7 @@ function c33725002.initial_effect(c) ...@@ -33,7 +33,7 @@ function c33725002.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c33725002.spfilter(c,e,tp) function c33725002.spfilter(c,e,tp)
return c:IsSetCard(0x7f) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x107f) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c33725002.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c33725002.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c33725002.spfilter(chkc,e,tp) end if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c33725002.spfilter(chkc,e,tp) end
...@@ -73,10 +73,11 @@ function c33725002.eqop(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,10 +73,11 @@ function c33725002.eqop(e,tp,eg,ep,ev,re,r,rp)
e1:SetCode(EFFECT_EQUIP_LIMIT) e1:SetCode(EFFECT_EQUIP_LIMIT)
e1:SetReset(RESET_EVENT+0x1fe0000) e1:SetReset(RESET_EVENT+0x1fe0000)
e1:SetValue(c33725002.eqlimit) e1:SetValue(c33725002.eqlimit)
e1:SetLabelObject(tc)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c33725002.eqlimit(e,c) function c33725002.eqlimit(e,c)
return c:IsSetCard(0x7f) return c==e:GetLabelObject()
end end
function c33725002.descost(e,tp,eg,ep,ev,re,r,rp,chk) function c33725002.descost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():GetEquipTarget():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():GetEquipTarget():CheckRemoveOverlayCard(tp,1,REASON_COST) end
......
...@@ -12,8 +12,8 @@ function c38777931.initial_effect(c) ...@@ -12,8 +12,8 @@ function c38777931.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c38777931.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c38777931.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,nil,0x7f) end if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,nil,0x107f) end
local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,nil,0x7f) local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,nil,0x107f)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c38777931.filter(c) function c38777931.filter(c)
......
...@@ -23,7 +23,7 @@ function c40941889.eqcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -23,7 +23,7 @@ function c40941889.eqcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():CheckUniqueOnField(tp) return e:GetHandler():CheckUniqueOnField(tp)
end end
function c40941889.filter(c) function c40941889.filter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) return c:IsFaceup() and c:IsSetCard(0x107f)
end end
function c40941889.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c40941889.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c40941889.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c40941889.filter(chkc) end
......
...@@ -33,7 +33,7 @@ function c45082499.eqcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -33,7 +33,7 @@ function c45082499.eqcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():CheckUniqueOnField(tp) return e:GetHandler():CheckUniqueOnField(tp)
end end
function c45082499.filter(c) function c45082499.filter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) return c:IsFaceup() and c:IsSetCard(0x107f)
end end
function c45082499.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c45082499.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c45082499.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c45082499.filter(chkc) end
......
...@@ -33,7 +33,7 @@ function c51543904.cfilter(c) ...@@ -33,7 +33,7 @@ function c51543904.cfilter(c)
return c:IsSetCard(0x95) and c:IsType(TYPE_SPELL) and c:IsDiscardable() return c:IsSetCard(0x95) and c:IsType(TYPE_SPELL) and c:IsDiscardable()
end end
function c51543904.ovfilter(c) function c51543904.ovfilter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) return c:IsFaceup() and c:IsSetCard(0x107f)
end end
function c51543904.xyzop(e,tp,chk) function c51543904.xyzop(e,tp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c51543904.cfilter,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c51543904.cfilter,tp,LOCATION_HAND,0,1,nil) end
......
...@@ -27,7 +27,7 @@ function c51865604.initial_effect(c) ...@@ -27,7 +27,7 @@ function c51865604.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c51865604.cfilter(c) function c51865604.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) return c:IsFaceup() and c:IsSetCard(0x107f)
end end
function c51865604.condition(e,tp,eg,ep,ev,re,r,rp) function c51865604.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c51865604.cfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c51865604.cfilter,tp,LOCATION_MZONE,0,1,nil)
......
...@@ -54,7 +54,7 @@ function c52653092.cfilter(c) ...@@ -54,7 +54,7 @@ function c52653092.cfilter(c)
return c:IsSetCard(0x95) and c:GetType()==TYPE_SPELL and c:IsDiscardable() return c:IsSetCard(0x95) and c:GetType()==TYPE_SPELL and c:IsDiscardable()
end end
function c52653092.ovfilter(c) function c52653092.ovfilter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) return c:IsFaceup() and c:IsSetCard(0x107f)
end end
function c52653092.mfilter(c,xyzc) function c52653092.mfilter(c,xyzc)
return c:IsFaceup() and c:IsType(TYPE_XYZ) and c:IsSetCard(0x48) and c:IsCanBeXyzMaterial(xyzc) return c:IsFaceup() and c:IsType(TYPE_XYZ) and c:IsSetCard(0x48) and c:IsCanBeXyzMaterial(xyzc)
......
...@@ -34,7 +34,7 @@ function c56832966.initial_effect(c) ...@@ -34,7 +34,7 @@ function c56832966.initial_effect(c)
end end
c56832966.xyz_number=39 c56832966.xyz_number=39
function c56832966.ovfilter(c) function c56832966.ovfilter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) and c:IsType(TYPE_XYZ) and c:GetRank()==4 return c:IsFaceup() and c:IsSetCard(0x107f) and c:IsType(TYPE_XYZ) and c:GetRank()==4
end end
function c56832966.aclimit(e,re,tp) function c56832966.aclimit(e,re,tp)
return not re:GetHandler():IsImmuneToEffect(e) return not re:GetHandler():IsImmuneToEffect(e)
...@@ -43,7 +43,7 @@ function c56832966.actcon(e) ...@@ -43,7 +43,7 @@ function c56832966.actcon(e)
return Duel.GetAttacker()==e:GetHandler() or Duel.GetAttackTarget()==e:GetHandler() return Duel.GetAttacker()==e:GetHandler() or Duel.GetAttackTarget()==e:GetHandler()
end end
function c56832966.atkcon(e,tp,eg,ep,ev,re,r,rp) function c56832966.atkcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetBattleTarget()~=nil and e:GetHandler():GetOverlayGroup():IsExists(Card.IsSetCard,1,nil,0x7f) return e:GetHandler():GetBattleTarget()~=nil and e:GetHandler():GetOverlayGroup():IsExists(Card.IsSetCard,1,nil,0x107f)
end end
function c56832966.atkcost(e,tp,eg,ep,ev,re,r,rp,chk) function c56832966.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -61,7 +61,7 @@ function c60992364.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,7 +61,7 @@ function c60992364.operation(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c60992364.filter(c) function c60992364.filter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) return c:IsFaceup() and c:IsSetCard(0x107f)
end end
function c60992364.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c60992364.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c60992364.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c60992364.filter(chkc) end
......
...@@ -28,7 +28,7 @@ function c6330307.initial_effect(c) ...@@ -28,7 +28,7 @@ function c6330307.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c6330307.filter(c) function c6330307.filter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) and c:IsSetCard(0x1048) return c:IsFaceup() and c:IsSetCard(0x107f) and c:IsSetCard(0x1048)
end end
function c6330307.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c6330307.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c6330307.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c6330307.filter(chkc) end
......
...@@ -49,7 +49,7 @@ function c66970002.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,7 +49,7 @@ function c66970002.tdop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c66970002.descon(e,tp,eg,ep,ev,re,r,rp) function c66970002.descon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetOverlayGroup():IsExists(Card.IsSetCard,1,nil,0x7f) return e:GetHandler():GetOverlayGroup():IsExists(Card.IsSetCard,1,nil,0x107f)
end end
function c66970002.descost(e,tp,eg,ep,ev,re,r,rp,chk) function c66970002.descost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
......
...@@ -12,11 +12,11 @@ function c71345905.initial_effect(c) ...@@ -12,11 +12,11 @@ function c71345905.initial_effect(c)
end end
function c71345905.filter1(c,e,tp) function c71345905.filter1(c,e,tp)
local rk=c:GetRank() local rk=c:GetRank()
return rk>1 and c:IsFaceup() and c:IsSetCard(0x7f) return rk>1 and c:IsFaceup() and c:IsSetCard(0x107f)
and Duel.IsExistingMatchingCard(c71345905.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,c,rk) and Duel.IsExistingMatchingCard(c71345905.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,c,rk)
end end
function c71345905.filter2(c,e,tp,mc,rk) function c71345905.filter2(c,e,tp,mc,rk)
return c:IsRankBelow(rk-1) and c:IsSetCard(0x7f) and mc:IsCanBeXyzMaterial(c) return c:IsRankBelow(rk-1) and c:IsSetCard(0x107f) and mc:IsCanBeXyzMaterial(c)
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false)
end end
function c71345905.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c71345905.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
...@@ -13,7 +13,7 @@ function c72502414.initial_effect(c) ...@@ -13,7 +13,7 @@ function c72502414.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c72502414.filter(c) function c72502414.filter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) and c:IsType(TYPE_XYZ) return c:IsFaceup() and c:IsSetCard(0x107f) and c:IsType(TYPE_XYZ)
end end
function c72502414.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c72502414.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c72502414.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c72502414.filter(chkc) end
......
...@@ -34,7 +34,7 @@ function c81471108.eqcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -34,7 +34,7 @@ function c81471108.eqcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():CheckUniqueOnField(tp) return e:GetHandler():CheckUniqueOnField(tp)
end end
function c81471108.filter(c) function c81471108.filter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) return c:IsFaceup() and c:IsSetCard(0x107f)
end end
function c81471108.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c81471108.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c81471108.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c81471108.filter(chkc) end
......
...@@ -36,7 +36,7 @@ function c87911394.aclimit(e,re,tp) ...@@ -36,7 +36,7 @@ function c87911394.aclimit(e,re,tp)
end end
function c87911394.atkcon(e,tp,eg,ep,ev,re,r,rp) function c87911394.atkcon(e,tp,eg,ep,ev,re,r,rp)
local at=Duel.GetAttackTarget() local at=Duel.GetAttackTarget()
return at and at:IsFaceup() and e:GetHandler():GetOverlayGroup():IsExists(Card.IsSetCard,1,nil,0x7f) return at and at:IsFaceup() and e:GetHandler():GetOverlayGroup():IsExists(Card.IsSetCard,1,nil,0x107f)
end end
function c87911394.atkcost(e,tp,eg,ep,ev,re,r,rp,chk) function c87911394.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
......
...@@ -48,10 +48,10 @@ function c94807487.initial_effect(c) ...@@ -48,10 +48,10 @@ function c94807487.initial_effect(c)
c:RegisterEffect(e6) c:RegisterEffect(e6)
end end
function c94807487.eqlimit(e,c) function c94807487.eqlimit(e,c)
return c:IsSetCard(0x7f) return c:IsSetCard(0x107f)
end end
function c94807487.filter(c) function c94807487.filter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) return c:IsFaceup() and c:IsSetCard(0x107f)
end end
function c94807487.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c94807487.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c94807487.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and c94807487.filter(chkc) end
......
...@@ -30,10 +30,10 @@ function c94950218.initial_effect(c) ...@@ -30,10 +30,10 @@ function c94950218.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c94950218.eqlimit(e,c) function c94950218.eqlimit(e,c)
return c:IsSetCard(0x7f) return c:IsSetCard(0x107f)
end end
function c94950218.filter(c) function c94950218.filter(c)
return c:IsFaceup() and c:IsSetCard(0x7f) return c:IsFaceup() and c:IsSetCard(0x107f)
end end
function c94950218.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c94950218.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c94950218.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and c94950218.filter(chkc) end
......
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