Commit e395049a authored by nekrozar's avatar nekrozar Committed by salix5

fix (#515)

parent 255150a1
...@@ -11,7 +11,7 @@ function c61166988.initial_effect(c) ...@@ -11,7 +11,7 @@ function c61166988.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c61166988.filter(c) function c61166988.filter(c)
return c:IsFaceup() and c:IsRace(RACE_BEAST+RACE_BEASTWARRIOR) return aux.nzdef(c) and c:IsRace(RACE_BEAST+RACE_BEASTWARRIOR)
end end
function c61166988.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c61166988.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c61166988.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and c61166988.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