Commit 71afdf1b authored by wind2009's avatar wind2009

Fix 黒智天至イリスフィール

parent 3f5832cc
Pipeline #42027 passed with stages
in 1 minute and 52 seconds
No preview for this file type
......@@ -15,6 +15,7 @@
101304043
101304044
101304047
101304048
101304207
101304054
101304062
......
......@@ -49,7 +49,7 @@ function s.xyzop(e,tp,chk)
end
function s.atkcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_XYZ)
and Duel.IsAbleToEnterBP()
and aux.bpcon(e,tp,eg,ep,ev,re,r,rp)
end
function s.atkop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler())
......@@ -63,8 +63,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp)
end
function s.atkcon2(e)
local ph=Duel.GetCurrentPhase()
return ph>=PHASE_BATTLE_START and ph<=PHASE_BATTLE
return Duel.IsBattlePhase()
end
function s.atktg(e,c)
return c:IsType(TYPE_XYZ)
......@@ -80,4 +79,4 @@ function s.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.RemoveOverlayCard(tp,1,0,1,1,REASON_EFFECT)
return true
else return false end
end
\ No newline at end of file
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