Commit 717ae4e5 authored by 未闻皂名's avatar 未闻皂名

2022/10/11 bug修复

parent 58d96ede
......@@ -23,7 +23,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetAttacker()
if Duel.NegateAttack() and tc:IsRelateToEffect(e) then
if Duel.NegateAttack() and tc:IsRelateToBattle() then
Duel.Damage(1-tp,tc:GetAttack(),REASON_EFFECT)
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