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