Commit 2f814b62 authored by wyykak's avatar wyykak

fix 86379690

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 07a0716a
Pipeline #10168 passed with stage
in 45 seconds
......@@ -34,10 +34,10 @@ end
function c86379690.checkop(e,tp,eg,ep,ev,re,r,rp)
local a=Duel.GetAttacker()
local at=Duel.GetAttackTarget()
if a:IsStatus(STATUS_BATTLE_DESTROYED) then
if a and a:IsStatus(STATUS_BATTLE_DESTROYED) then
Duel.RegisterFlagEffect(a:GetControler(),86379690,RESET_PHASE+PHASE_END,0,1)
end
if at:IsStatus(STATUS_BATTLE_DESTROYED) then
if at and at:IsStatus(STATUS_BATTLE_DESTROYED) then
Duel.RegisterFlagEffect(at:GetControler(),86379690,RESET_PHASE+PHASE_END,0,1)
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