Commit 270caef0 authored by DailyShana's avatar DailyShana

fix

parent 5ba9cf15
...@@ -32,7 +32,7 @@ function c29843091.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -32,7 +32,7 @@ function c29843091.activate(e,tp,eg,ep,ev,re,r,rp)
token:RegisterEffect(e1,true) token:RegisterEffect(e1,true)
local e2=Effect.CreateEffect(e:GetHandler()) local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_DESTROYED) e2:SetCode(EVENT_LEAVE_FIELD)
e2:SetOperation(c29843091.damop) e2:SetOperation(c29843091.damop)
token:RegisterEffect(e2,true) token:RegisterEffect(e2,true)
end end
...@@ -41,6 +41,8 @@ function c29843091.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -41,6 +41,8 @@ function c29843091.activate(e,tp,eg,ep,ev,re,r,rp)
end end
function c29843091.damop(e,tp,eg,ep,ev,re,r,rp) function c29843091.damop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
Duel.Damage(c:GetPreviousControler(),300,REASON_EFFECT) if c:IsReason(REASON_DESTROY) then
Duel.Damage(c:GetPreviousControler(),300,REASON_EFFECT)
end
e:Reset() e:Reset()
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