Commit 2556a758 authored by xiaoye's avatar xiaoye

Update c37564701.lua

parent cc5cdbcd
Pipeline #35140 passed with stage
in 1 minute and 27 seconds
...@@ -156,8 +156,9 @@ function cm.PConditionFilter(c,e,tp,lscale,rscale) ...@@ -156,8 +156,9 @@ function cm.PConditionFilter(c,e,tp,lscale,rscale)
else else
lv=c:GetLevel() lv=c:GetLevel()
end end
local bool=Auxiliary.PendulumSummonableBool(c)
return (c:IsLocation(LOCATION_HAND) or (c:IsFaceup() and c:IsType(TYPE_PENDULUM))) return (c:IsLocation(LOCATION_HAND) or (c:IsFaceup() and c:IsType(TYPE_PENDULUM)))
and lv>lscale and lv<rscale and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_PENDULUM,tp,false,false) and lv>lscale and lv<rscale and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_PENDULUM,tp,bool,bool)
and not c:IsForbidden() and not c:IsForbidden()
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(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