Commit fa57cb38 authored by salix5's avatar salix5

fix

parent 90ed969a
...@@ -38,7 +38,7 @@ function c41209827.initial_effect(c) ...@@ -38,7 +38,7 @@ function c41209827.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c41209827.ffilter(c) function c41209827.ffilter(c)
return c:IsAttribute(ATTRIBUTE_DARK) and c:IsLocation(LOCATION_MZONE) return c:IsAttribute(ATTRIBUTE_DARK) and c:IsLocation(LOCATION_MZONE) and not c:IsType(TYPE_TOKEN)
end end
function c41209827.atkcon(e,tp,eg,ep,ev,re,r,rp) function c41209827.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
...@@ -69,7 +69,7 @@ function c41209827.copycost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -69,7 +69,7 @@ function c41209827.copycost(e,tp,eg,ep,ev,re,r,rp,chk)
e:GetHandler():RegisterFlagEffect(41209827,RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END,0,1) e:GetHandler():RegisterFlagEffect(41209827,RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END,0,1)
end end
function c41209827.copyfilter(c) function c41209827.copyfilter(c)
return c:IsFaceup() and c:IsLevelAbove(5) and not c:IsType(TYPE_TOKEN) return c:IsFaceup() and c:IsLevelAbove(5)
end end
function c41209827.copytg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c41209827.copytg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and c41209827.copyfilter(chkc) end if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and c41209827.copyfilter(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