Commit 1c71e31b authored by salix5's avatar salix5

Merge pull request #1284 from Steeldarkeagel/patch-41

Update c54360049.lua
parents 9e5c8cce c85cf3e0
...@@ -13,7 +13,7 @@ function c54360049.initial_effect(c) ...@@ -13,7 +13,7 @@ function c54360049.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c54360049.cfilter(c) function c54360049.cfilter(c)
return c:GetAttack()==-2 and c:IsAbleToRemoveAsCost() return c:GetTextAttack()==-2 and c:IsAbleToRemoveAsCost() and c:IsType(TYPE_MONSTER)
end end
function c54360049.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c54360049.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c54360049.cfilter,tp,LOCATION_GRAVE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c54360049.cfilter,tp,LOCATION_GRAVE,0,1,nil) 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