Commit 0b1831ba authored by VanillaSalt's avatar VanillaSalt

fix

parent c1e1540b
......@@ -13,10 +13,12 @@ function c10000090.initial_effect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e2:SetCode(EVENT_TO_GRAVE)
e2:SetProperty(EFFECT_FLAG_CVAL_CHECK)
e2:SetRange(LOCATION_GRAVE)
e2:SetCondition(c10000090.spcon1)
e2:SetTarget(c10000090.sptg1)
e2:SetOperation(c10000090.spop1)
e2:SetValue(c10000090.valcheck)
c:RegisterEffect(e2)
--immune
local e3=Effect.CreateEffect(c)
......@@ -57,7 +59,6 @@ end
function c10000090.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
Duel.SetChainLimit(aux.FALSE)
end
function c10000090.spop1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......@@ -65,6 +66,9 @@ function c10000090.spop1(e,tp,eg,ep,ev,re,r,rp)
c:CompleteProcedure()
end
end
function c10000090.valcheck(e)
Duel.SetChainLimit(aux.FALSE)
end
function c10000090.efilter(e,te)
return te:GetOwner()~=e:GetOwner()
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