Commit 4a4b04c4 authored by mercury233's avatar mercury233 Committed by GitHub

fix 氷結界

parent fbbfb9ef
......@@ -28,7 +28,7 @@ end
function c34293667.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetBattleMonster(1-tp)
if tc:IsRelateToBattle() then
if tc and tc:IsRelateToBattle() then
Duel.NegateRelatedChain(tc,RESET_TURN_SET)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......
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