Commit 931e19f5 authored by woodee's avatar woodee

fix

cannot target a monster whose ATK is 0
parent 86fb6525
...@@ -19,7 +19,7 @@ function c13183454.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -19,7 +19,7 @@ function c13183454.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST) e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end end
function c13183454.filter(c) function c13183454.filter(c)
return c:IsFaceup() return c:IsFaceup() and c:GetAttack()>0
end end
function c13183454.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c13183454.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and c13183454.filter(chkc) end if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and c13183454.filter(chkc) 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