Commit edfc556d authored by mercury233's avatar mercury233

fix

parent 8f535139
...@@ -87,10 +87,11 @@ function c100266027.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,10 +87,11 @@ function c100266027.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e3,tp) Duel.RegisterEffect(e3,tp)
local e6=Effect.CreateEffect(c) local e6=Effect.CreateEffect(c)
e6:SetType(EFFECT_TYPE_FIELD) e6:SetType(EFFECT_TYPE_FIELD)
e6:SetCode(EFFECT_SPSUMMON_COUNT_LIMIT) e6:SetCode(EFFECT_LEFT_SPSUMMON_COUNT)
e6:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e6:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e6:SetTargetRange(1,0) e6:SetTargetRange(1,0)
e6:SetValue(1) e6:SetLabel(c100266027.getsummoncount(tp))
e6:SetValue(c100266027.countval)
e6:SetReset(RESET_PHASE+PHASE_END) e6:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e6,tp) Duel.RegisterEffect(e6,tp)
end end
...@@ -116,3 +117,6 @@ end ...@@ -116,3 +117,6 @@ end
function c100266027.splimit(e,c,sump,sumtype,sumpos,targetp,se) function c100266027.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return c100266027.getsummoncount(sump)>e:GetLabel() return c100266027.getsummoncount(sump)>e:GetLabel()
end end
function c100266027.countval(e,re,tp)
if c100266027.getsummoncount(tp)>e:GetLabel() then return 0 else return 1 end
end
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
-- --
--Script by JoyJ --Script by JoyJ
function c100424037.initial_effect(c) function c100424037.initial_effect(c)
aux.AddCodeList(c,77585513)
--activate --activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(100424037,0)) e1:SetDescription(aux.Stringid(100424037,0))
......
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