Commit d549ccdd authored by Tianchenglipu's avatar Tianchenglipu

Update c17377751.lua

parent bd646cbb
...@@ -9,6 +9,7 @@ function c17377751.initial_effect(c) ...@@ -9,6 +9,7 @@ function c17377751.initial_effect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetRange(LOCATION_EXTRA) e1:SetRange(LOCATION_EXTRA)
e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(c17377751.sumlimit)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--Special Summon --Special Summon
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
...@@ -21,6 +22,9 @@ function c17377751.initial_effect(c) ...@@ -21,6 +22,9 @@ function c17377751.initial_effect(c)
e2:SetOperation(c17377751.spop) e2:SetOperation(c17377751.spop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c17377751.sumlimit(e,se,sp,st)
return bit.band(st,SUMMON_TYPE_SYNCHRO)==SUMMON_TYPE_SYNCHRO
end
function c17377751.spcon(e,tp,eg,ep,ev,re,r,rp,chk) function c17377751.spcon(e,tp,eg,ep,ev,re,r,rp,chk)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO return e:GetHandler():GetSummonType()==SUMMON_TYPE_SYNCHRO
end 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