Commit 7408da57 authored by gggg's avatar gggg

fix

parent 1b97c234
Pipeline #35162 passed with stage
in 34 seconds
...@@ -158,7 +158,7 @@ function cm.PConditionFilter(c,e,tp,lscale,rscale) ...@@ -158,7 +158,7 @@ function cm.PConditionFilter(c,e,tp,lscale,rscale)
end end
local bool=Auxiliary.PendulumSummonableBool(c) 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,bool,bool) 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)
......
...@@ -1140,7 +1140,7 @@ function cm.PendOperationNanahira() ...@@ -1140,7 +1140,7 @@ function cm.PendOperationNanahira()
if not g then return end if not g then return end
if ce then if ce then
Duel.Hint(HINT_CARD,0,ce:GetOwner():GetOriginalCode()) Duel.Hint(HINT_CARD,0,ce:GetOwner():GetOriginalCode())
ce:Reset() ce:UseCountLimit(tp)
else else
Auxiliary.PendulumChecklist=Auxiliary.PendulumChecklist|(0x1<<tp) Auxiliary.PendulumChecklist=Auxiliary.PendulumChecklist|(0x1<<tp)
end 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