Commit 0b1831ba authored by VanillaSalt's avatar VanillaSalt

fix

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