Auxiliary.EnablePendulumAttribute
Signature
lua
Auxiliary.EnablePendulumAttribute(Card c, [bool|nil reg]) -> voidDescription
Registers the standard Pendulum Summon procedure for Pendulum Monster c. The procedure is a LOCATION_PZONE EFFECT_SPSUMMON_PROC_G with SUMMON_TYPE_PENDULUM, using Auxiliary.PendCondition and Auxiliary.PendOperation. Unless reg is false, the helper also registers the simple Pendulum Card activation effect from the hand.
Parameters
cCard- Pendulum Monster receiving the shared Pendulum Summon procedure.regbool|niloptional - When false, skip the default hand activation effect. nil or true registers it.
Source
Utilities/procedure.lua:1948
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 390 indexed script(s).
- Search this function in the Script Explorer with
Auxiliary.EnablePendulumAttribute.
Script Examples
Astrograph Sorcerer, the Starfrost Magician (48171151)
Source: Scripts/c48171151.lua
lua
function s.initial_effect(c)
--pendulum
aux.EnablePendulumAttribute(c)
--place
local e1=Effect.CreateEffect(c)Astrograph Sorcerer (76794549)
Source: Scripts/c76794549.lua
lua
function c76794549.initial_effect(c)
aux.AddCodeList(c,13331639)
aux.EnablePendulumAttribute(c)
--pendulum set/spsummon
local e1=Effect.CreateEffect(c)Deftero Enneacraft - "alazoneIA" (92171126)
Source: Scripts/c92171126.lua
lua
function s.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
c:EnableCounterPermit(0x71,LOCATION_PZONE)
--counter