Auxiliary.PendOperationCheck
Signature
lua
Auxiliary.PendOperationCheck(int ft1, int ft2, int ft) -> functionDescription
Returns a group check that enforces the hand, Extra Deck, and total Monster Zone limits for a Pendulum Summon selection. The returned function counts selected Extra Deck cards separately from non-Extra Deck cards before accepting the subgroup.
Parameters
ft1int- Maximum selected monsters from non-Extra Deck locations, usually the hand.ft2int- Maximum selected monsters from the face-up Extra Deck.ftint- Maximum total selected monsters.
Returns
function- Group check for Pendulum Summon zone limits.
Source
Utilities/procedure.lua:2026
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 1 indexed script(s).
- Search this function in the Script Explorer with
Auxiliary.PendOperationCheck.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Pendulum Evolution | 55795155 | Scripts/c55795155.lua | 1 |
Script Examples
Pendulum Evolution (55795155)
Source: Scripts/c55795155.lua
lua
tg=tg:Filter(aux.PConditionExtraFilterSpecific,nil,e,tp,lscale,rscale,e1)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
aux.GCheckAdditional=aux.PendOperationCheck(ft1,ft2,ft)
local g=tg:SelectSubGroup(tp,aux.TRUE,false,1,math.min(#tg,ft))
aux.GCheckAdditional=nil