Commit f50ced58 authored by a597449807's avatar a597449807 Committed by GitHub

fix E・HERO ネオス・クルーガー (#2646)

修复与攻击力为0的怪兽进行战斗时不应发动①效果的问题。
parent e8cef83a
...@@ -35,7 +35,7 @@ end ...@@ -35,7 +35,7 @@ end
c90307498.material_setcode=0x8 c90307498.material_setcode=0x8
function c90307498.damcon(e,tp,eg,ep,ev,re,r,rp) function c90307498.damcon(e,tp,eg,ep,ev,re,r,rp)
local bc=e:GetHandler():GetBattleTarget() local bc=e:GetHandler():GetBattleTarget()
return bc and bc:IsControler(1-tp) return bc and bc:IsControler(1-tp) and bc:GetAttack()>0
end end
function c90307498.damtg(e,tp,eg,ep,ev,re,r,rp,chk) function c90307498.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true 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