Commit 84e9fdd1 authored by nanahira's avatar nanahira

sync

parent 83e69533
...@@ -24,7 +24,8 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -24,7 +24,8 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function cm.filter(c,e,tp) function cm.filter(c,e,tp)
return c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_PENDULUM,tp,false,false) local bool=aux.PendulumSummonableBool(c)
return c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_PENDULUM,tp,bool,bool)
and (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and (c:IsLocation(LOCATION_HAND) or c:IsFaceup())
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)
......
...@@ -1023,7 +1023,8 @@ function cm.PConditionFilterNanahira(c,e,tp,lscale,rscale,f,tc) ...@@ -1023,7 +1023,8 @@ function cm.PConditionFilterNanahira(c,e,tp,lscale,rscale,f,tc)
else else
lv=c:GetLevel() lv=c:GetLevel()
end end
return lv>lscale and lv<rscale and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_PENDULUM,tp,false,false) local bool=aux.PendulumSummonableBool(c)
return lv>lscale and lv<rscale and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_PENDULUM,tp,bool,bool)
and not c:IsForbidden() and (not f or f(c,tc)) and not c:IsForbidden() and (not f or f(c,tc))
end end
function cm.PendConditionNanahira() function cm.PendConditionNanahira()
......
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