Commit 538cb062 authored by Tianchenglipu's avatar Tianchenglipu

Update c97836203.lua

parent 719d97ae
......@@ -8,7 +8,7 @@ function c97836203.initial_effect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.FALSE)
e1:SetValue(c97836203.sumlimit)
c:RegisterEffect(e1)
--Negate summon
local e2=Effect.CreateEffect(c)
......@@ -42,6 +42,9 @@ function c97836203.initial_effect(c)
e5:SetOperation(c97836203.spop)
c:RegisterEffect(e5)
end
function c97836203.sumlimit(e,se,sp,st)
return bit.band(st,SUMMON_TYPE_SYNCHRO)==SUMMON_TYPE_SYNCHRO
end
function c97836203.discon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentChain()==0
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