Commit 95f00810 authored by Satty's avatar Satty

fix

parent 44ff25aa
Pipeline #36754 passed with stages
in 41 minutes and 8 seconds
...@@ -66,7 +66,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,7 +66,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if not e:GetHandler():IsRelateToEffect(e) then return end if not e:GetHandler():IsRelateToEffect(e) then return end
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) then
local atk=tc:IsFaceup() and tc:GetAttack() or 0 local atk=tc:IsFaceup() and tc:GetBaseAttack() or 0
if Duel.Destroy(tc,REASON_EFFECT)>0 and atk~=0 then if Duel.Destroy(tc,REASON_EFFECT)>0 and atk~=0 then
Duel.Damage(1-tp,atk/2,REASON_EFFECT) Duel.Damage(1-tp,atk/2,REASON_EFFECT)
Duel.BreakEffect() Duel.BreakEffect()
......
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