Commit 636658e0 authored by Vee4's avatar Vee4 Committed by GitHub

fix Silent Swordsman Zero (#2848)

parent c973c46d
...@@ -48,8 +48,8 @@ function s.value(e,c) ...@@ -48,8 +48,8 @@ function s.value(e,c)
return math.max(0,c:GetLevel()-c:GetOriginalLevel())*500 return math.max(0,c:GetLevel()-c:GetOriginalLevel())*500
end end
function s.tfilter(c,tp) function s.tfilter(c,tp)
return c:IsLocation(LOCATION_ONFIELD) and (aux.IsCodeListed(c,79791878) or c:IsCode(79791878)) return c:IsOnField() and c:IsControler(tp) and c:IsFaceup()
and c:IsControler(tp) and c:IsFaceup() and (c:IsCode(79791878) or c:IsType(TYPE_MONSTER) and aux.IsCodeListed(c,79791878))
end end
function s.negcon(e,tp,eg,ep,ev,re,r,rp) function s.negcon(e,tp,eg,ep,ev,re,r,rp)
if rp==tp or e:GetHandler():IsStatus(STATUS_BATTLE_DESTROYED) then return false end if rp==tp or e:GetHandler():IsStatus(STATUS_BATTLE_DESTROYED) then return false 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