Commit 7ebaa479 authored by woodee's avatar woodee

fix

1."in monster zone" needed
2.damage should be original ATK
parent 86fb6525
...@@ -30,8 +30,8 @@ function c33776843.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -30,8 +30,8 @@ function c33776843.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c33776843.operation(e,tp,eg,ep,ev,re,r,rp) function c33776843.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and Duel.Destroy(tc,REASON_EFFECT)~=0 and tc:IsType(TYPE_MONSTER) then if tc:IsRelateToEffect(e) and Duel.Destroy(tc,REASON_EFFECT)~=0 and tc:IsPreviousLocation(LOCATION_MZONE) then
local atk=tc:GetAttack() local atk=tc:GetTextAttack()
if atk<0 then atk=0 end if atk<0 then atk=0 end
Duel.Damage(1-tp,atk,REASON_EFFECT) Duel.Damage(1-tp,atk,REASON_EFFECT)
end 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