Commit 1c7fcc16 authored by 未闻皂名's avatar 未闻皂名

2023/10/2 bug修复

parent 04e941b3
Pipeline #23657 passed with stages
in 7 minutes and 9 seconds
......@@ -24,9 +24,8 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
or (tc and tc:IsFaceup() and tc:IsAttack(0)))
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if not Duel.NegateAttack() then return end
local tc=Duel.GetAttackTarget()
if tc and RD.IsCanChangePosition(tc) and Duel.SelectEffectYesNo(tp,aux.Stringid(m,1)) then
if Duel.NegateAttack() and tc and RD.IsCanChangePosition(tc) and Duel.SelectEffectYesNo(tp,aux.Stringid(m,1)) then
Duel.BreakEffect()
if RD.ChangePosition(tc)~=0 then
local dam=Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)*200
......
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