Commit 964b2d34 authored by woodee's avatar woodee

fix

indes needs faceup attack position
parent 7d8e25b5
......@@ -9,6 +9,7 @@ function c54366836.initial_effect(c)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetCondition(c54366836.indcon)
e1:SetValue(1)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
......@@ -57,3 +58,6 @@ function c54366836.damop2(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_PHASE+PHASE_DAMAGE_CAL)
Duel.RegisterEffect(e1,tp)
end
function c54366836.indcon(e)
return e:GetHandler():IsPosition(POS_FACEUP_ATTACK)
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