Commit 4e6a01b4 authored by Grajade's avatar Grajade

Update c27067.lua

parent cec7be1d
Pipeline #12112 passed with stage
in 36 seconds
......@@ -24,8 +24,8 @@ end
function c27067.desop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
local ct=tc:GetCounter(0x119)
if tc:IsRelateToEffect(e) then
Duel.Destroy(tc,REASON_EFFECT)
if tc:IsRelateToEffect(e) and Duel.Destroy(tc,REASON_EFFECT)>0 then
Duel.Damage(tp,ct*300,REASON_EFFECT)
Duel.Damage(1-tp,ct*300,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