Commit 4c722c34 authored by Tianchenglipu's avatar Tianchenglipu

Update c39402797.lua

parent e12ad9ce
......@@ -8,6 +8,7 @@ function c39402797.initial_effect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(c39402797.sumlimit)
c:RegisterEffect(e1)
--destroy
local e2=Effect.CreateEffect(c)
......@@ -21,6 +22,9 @@ function c39402797.initial_effect(c)
e2:SetOperation(c39402797.desop)
c:RegisterEffect(e2)
end
function c39402797.sumlimit(e,se,sp,st)
return bit.band(st,SUMMON_TYPE_SYNCHRO)==SUMMON_TYPE_SYNCHRO
end
function c39402797.descon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO
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