Commit f0b54398 authored by mercury233's avatar mercury233 Committed by GitHub

fix スケアクロー・クシャトリラ

If the opponent monster is destroyed by battle and special summon itself back, it still has battle target
parent cfd1f91b
......@@ -77,7 +77,7 @@ function s.distg(e,c)
if flag==fid then return true end
end
local bc=c:GetBattleTarget()
if bc and s.disfilter(bc,e:GetHandlerPlayer()) then
if c:IsRelateToBattle() and bc and s.disfilter(bc,e:GetHandlerPlayer()) then
c:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1,fid)
return true
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