Commit 67524e9f authored by wyykak's avatar wyykak

fix 74563014

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent e6905b24
Pipeline #14482 passed with stage
in 1 minute and 7 seconds
...@@ -54,12 +54,13 @@ function c74563014.spcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -54,12 +54,13 @@ function c74563014.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
end end
function c74563014.desfilter2(c,num) function c74563014.desfilter2(c,num)
if c:IsType(TYPE_LINK) or c:IsFacedown() then if not (c:IsCanTurnSet() or c:IsAbleToRemove()) then
return num>1200 and c:IsAbleToRemove() return false
elseif c:IsType(TYPE_SPELL+TYPE_TRAP) then end
return num>1200 and c:IsSSetable() if c:IsType(TYPE_LINK|TYPE_SPELL|TYPE_TRAP) or c:IsFacedown() then
return num>=1200
else else
return c:IsDefenseBelow(num) and (c:IsCanTurnSet() or c:IsAbleToRemove()) return c:IsDefenseBelow(num)
end end
end end
function c74563014.eqtg(e,tp,eg,ep,ev,re,r,rp,chk) function c74563014.eqtg(e,tp,eg,ep,ev,re,r,rp,chk)
......
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