Commit 68f79fc4 authored by DailyShana's avatar DailyShana

fix

parent f2c180ff
...@@ -17,6 +17,7 @@ function c36100154.initial_effect(c) ...@@ -17,6 +17,7 @@ function c36100154.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c36100154.atkcon(e) function c36100154.atkcon(e)
c36100154[0]=false
return Duel.GetCurrentPhase()==PHASE_DAMAGE_CAL and Duel.GetAttackTarget() return Duel.GetCurrentPhase()==PHASE_DAMAGE_CAL and Duel.GetAttackTarget()
end end
function c36100154.atktg(e,c) function c36100154.atktg(e,c)
...@@ -24,7 +25,8 @@ function c36100154.atktg(e,c) ...@@ -24,7 +25,8 @@ function c36100154.atktg(e,c)
end end
function c36100154.atkval(e,c) function c36100154.atkval(e,c)
local d=Duel.GetAttackTarget() local d=Duel.GetAttackTarget()
if c:GetAttack()<d:GetAttack() then if c36100154[0] or c:GetAttack()<d:GetAttack() then
c36100154[0]=true
return 1000 return 1000
else return 0 end else return 0 end
end end
...@@ -17,6 +17,7 @@ function c53527835.initial_effect(c) ...@@ -17,6 +17,7 @@ function c53527835.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c53527835.atkcon(e) function c53527835.atkcon(e)
c53527835[0]=false
return Duel.GetCurrentPhase()==PHASE_DAMAGE_CAL and Duel.GetAttackTarget() return Duel.GetCurrentPhase()==PHASE_DAMAGE_CAL and Duel.GetAttackTarget()
end end
function c53527835.atktg(e,c) function c53527835.atktg(e,c)
...@@ -24,7 +25,8 @@ function c53527835.atktg(e,c) ...@@ -24,7 +25,8 @@ function c53527835.atktg(e,c)
end end
function c53527835.atkval(e,c) function c53527835.atkval(e,c)
local d=Duel.GetAttackTarget() local d=Duel.GetAttackTarget()
if c:GetAttack()<d:GetAttack() then if c53527835[0] or c:GetAttack()<d:GetAttack() then
c53527835[0]=true
return 1000 return 1000
else return 0 end else return 0 end
end end
...@@ -17,6 +17,7 @@ function c63035430.initial_effect(c) ...@@ -17,6 +17,7 @@ function c63035430.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c63035430.atkcon(e) function c63035430.atkcon(e)
c63035430[0]=false
return Duel.GetCurrentPhase()==PHASE_DAMAGE_CAL and Duel.GetAttackTarget() return Duel.GetCurrentPhase()==PHASE_DAMAGE_CAL and Duel.GetAttackTarget()
end end
function c63035430.atktg(e,c) function c63035430.atktg(e,c)
...@@ -24,7 +25,8 @@ function c63035430.atktg(e,c) ...@@ -24,7 +25,8 @@ function c63035430.atktg(e,c)
end end
function c63035430.atkval(e,c) function c63035430.atkval(e,c)
local d=Duel.GetAttackTarget() local d=Duel.GetAttackTarget()
if c:GetAttack()<d:GetAttack() then if c63035430[0] or c:GetAttack()<d:GetAttack() then
c63035430[0]=true
return 1000 return 1000
else return 0 end else return 0 end
end 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