Commit d616f367 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c62624505.lua

parent b948ebe0
...@@ -16,7 +16,7 @@ function c62624505.initial_effect(c) ...@@ -16,7 +16,7 @@ function c62624505.initial_effect(c)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_BE_MATERIAL) e2:SetCode(EVENT_TO_GRAVE)
e2:SetCondition(c62624505.sumcon) e2:SetCondition(c62624505.sumcon)
e2:SetTarget(c62624505.sumtg) e2:SetTarget(c62624505.sumtg)
e2:SetOperation(c62624505.sumop) e2:SetOperation(c62624505.sumop)
...@@ -44,7 +44,7 @@ function c62624505.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,7 +44,7 @@ function c62624505.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c62624505.sumcon(e,tp,eg,ep,ev,re,r,rp) function c62624505.sumcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsLocation(LOCATION_GRAVE) and (r==REASON_SYNCHRO or r==REASON_FUSION or r==REASON_LINK) return r&(REASON_SYNCHRO+REASON_FUSION+REASON_LINK)~=0
and Duel.GetFlagEffect(tp,62624505)==0 and Duel.GetFlagEffect(tp,62624505)==0
end end
function c62624505.sumtg(e,tp,eg,ep,ev,re,r,rp,chk) function c62624505.sumtg(e,tp,eg,ep,ev,re,r,rp,chk)
......
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