Commit ee6b1467 authored by wind2009's avatar wind2009

Fix 光の黄金櫃

Fix selection when monsters're special summoned in a chain
parent bc30c141
......@@ -30,7 +30,7 @@ function s.initial_effect(c)
e4:SetDescription(aux.Stringid(id,1))
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetCode(EVENT_SPSUMMON_SUCCESS)
e4:SetCode(EVENT_CUSTOM+id)
e4:SetRange(LOCATION_SZONE)
e4:SetCountLimit(1,id+o)
e4:SetCondition(s.gycon)
......@@ -38,6 +38,7 @@ function s.initial_effect(c)
e4:SetTarget(s.gytg)
e4:SetOperation(s.gyop)
c:RegisterEffect(e4)
aux.RegisterMergedDelayedEvent(c,id,EVENT_SPSUMMON_SUCCESS)
end
function s.indesval(e,re)
return re:IsActiveType(TYPE_MONSTER)
......
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