Commit 36e9b11a authored by salix5's avatar salix5

fix

parent 3fa89fe0
......@@ -11,8 +11,7 @@ function c96947648.initial_effect(c)
c:RegisterEffect(e1)
end
function c96947648.filter(c)
local atk=c:GetAttack()
return atk>=0 and atk<=1500 and c:IsAttribute(ATTRIBUTE_WATER) and c:IsAbleToHand()
return c:IsType(TYPE_MONSTER) and c:IsAttackBelow(1500) and c:IsAttribute(ATTRIBUTE_WATER) and c:IsAbleToHand()
end
function c96947648.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:GetControler()==tp and chkc:GetLocation()==LOCATION_GRAVE and c96947648.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