Commit 0c4c7de7 authored by Tachibana's avatar Tachibana

得得得得得

parent 5bf65722
Pipeline #12075 passed with stages
in 24 minutes and 56 seconds
......@@ -64,7 +64,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) then
local tac = tc:GetTextAttack()
local tpc = tc:GetControler()
if Duel.SendtoGrave(tc,REASON_EFFECT)>0 and tac>0 then
if Duel.SendtoGrave(tc,REASON_EFFECT)>0 and tac>0 and tc:IsLocation(LOCATION_GRAVE) then
Duel.BreakEffect()
Duel.SetLP(tpc,Duel.GetLP(tpc)-tac)
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