Commit d942bbb5 authored by VanillaSalt's avatar VanillaSalt

Merge pull request #738 from woodee/patch-50

fix
parents 08026f36 7ebaa479
......@@ -30,8 +30,8 @@ function c33776843.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c33776843.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and Duel.Destroy(tc,REASON_EFFECT)~=0 and tc:IsType(TYPE_MONSTER) then
local atk=tc:GetAttack()
if tc:IsRelateToEffect(e) and Duel.Destroy(tc,REASON_EFFECT)~=0 and tc:IsPreviousLocation(LOCATION_MZONE) then
local atk=tc:GetTextAttack()
if atk<0 then atk=0 end
Duel.Damage(1-tp,atk,REASON_EFFECT)
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