Commit 660f70ae authored by DailyShana's avatar DailyShana

fix

parent 2b358ef9
......@@ -13,13 +13,18 @@ function c36100154.initial_effect(c)
e2:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e2:SetCondition(c36100154.atkcon)
e2:SetTarget(c36100154.atktg)
e2:SetValue(1000)
e2:SetValue(c36100154.atkval)
c:RegisterEffect(e2)
end
function c36100154.atkcon(e)
return Duel.GetCurrentPhase()==PHASE_DAMAGE_CAL and Duel.GetAttackTarget()
end
function c36100154.atktg(e,c)
return c==Duel.GetAttacker() and c:IsSetCard(0x4)
end
function c36100154.atkval(e,c)
local d=Duel.GetAttackTarget()
return c==Duel.GetAttacker() and c:IsSetCard(0x4) and c:GetAttack()<d:GetAttack()
if c:GetAttack()<d:GetAttack() then
return 1000
else return 0 end
end
......@@ -13,13 +13,18 @@ function c53527835.initial_effect(c)
e2:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e2:SetCondition(c53527835.atkcon)
e2:SetTarget(c53527835.atktg)
e2:SetValue(1000)
e2:SetValue(c53527835.atkval)
c:RegisterEffect(e2)
end
function c53527835.atkcon(e)
return Duel.GetCurrentPhase()==PHASE_DAMAGE_CAL and Duel.GetAttackTarget()
end
function c53527835.atktg(e,c)
return c==Duel.GetAttacker() and c:IsSetCard(0xc008)
end
function c53527835.atkval(e,c)
local d=Duel.GetAttackTarget()
return c==Duel.GetAttacker() and c:IsSetCard(0xc008) and c:GetAttack()<d:GetAttack()
if c:GetAttack()<d:GetAttack() then
return 1000
else return 0 end
end
......@@ -13,13 +13,18 @@ function c63035430.initial_effect(c)
e2:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e2:SetCondition(c63035430.atkcon)
e2:SetTarget(c63035430.atktg)
e2:SetValue(1000)
e2:SetValue(c63035430.atkval)
c:RegisterEffect(e2)
end
function c63035430.atkcon(e)
return Duel.GetCurrentPhase()==PHASE_DAMAGE_CAL and Duel.GetAttackTarget()
end
function c63035430.atktg(e,c)
return c==Duel.GetAttacker() and c:IsSetCard(0x3008)
end
function c63035430.atkval(e,c)
local d=Duel.GetAttackTarget()
return c==Duel.GetAttacker() and c:IsSetCard(0x3008) and c:GetAttack()<d:GetAttack()
if c:GetAttack()<d:GetAttack() then
return 1000
else return 0 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