Commit 00fc2ad7 authored by mercury233's avatar mercury233 Committed by GitHub

fix B・F-突撃のヴォウジェ

parent abbe3701
...@@ -18,6 +18,7 @@ function c53950487.initial_effect(c) ...@@ -18,6 +18,7 @@ function c53950487.initial_effect(c)
e2:SetCategory(CATEGORY_DAMAGE) e2:SetCategory(CATEGORY_DAMAGE)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_BATTLE_DAMAGE) e2:SetCode(EVENT_BATTLE_DAMAGE)
e2:SetCountLimit(1,53950487)
e2:SetCondition(c53950487.damcon) e2:SetCondition(c53950487.damcon)
e2:SetTarget(c53950487.damtg) e2:SetTarget(c53950487.damtg)
e2:SetOperation(c53950487.damop) e2:SetOperation(c53950487.damop)
...@@ -26,7 +27,7 @@ end ...@@ -26,7 +27,7 @@ end
function c53950487.atkcon(e,tp,eg,ep,ev,re,r,rp) function c53950487.atkcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=c:GetBattleTarget() local tc=c:GetBattleTarget()
return c==Duel.GetAttacker() and tc and tc:IsFaceup() and tc:IsControler(1-tp) and tc:GetAttack()>c:GetAttack() return c==Duel.GetAttacker() and tc and tc:IsFaceup() and tc:IsControler(1-tp) and tc:IsAttackAbove(c:GetAttack())
end end
function c53950487.atkcost(e,tp,eg,ep,ev,re,r,rp,chk) function c53950487.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
......
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