Commit 719d97ae authored by Tianchenglipu's avatar Tianchenglipu

Update c89474727.lua

parent 4c722c34
......@@ -8,6 +8,7 @@ function c89474727.initial_effect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetValue(c89474727.sumlimit)
c:RegisterEffect(e1)
--immune
local e2=Effect.CreateEffect(c)
......@@ -31,6 +32,9 @@ function c89474727.initial_effect(c)
e3:SetOperation(c89474727.spop)
c:RegisterEffect(e3)
end
function c89474727.sumlimit(e,se,sp,st)
return bit.band(st,SUMMON_TYPE_SYNCHRO)==SUMMON_TYPE_SYNCHRO
end
function c89474727.cfilter(c)
return c:IsType(TYPE_SYNCHRO) and c:IsAbleToRemoveAsCost()
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