Auxiliary.AddEquipSpellEffect
Signature
Auxiliary.AddEquipSpellEffect(Card c, bool is_self, bool is_opponent, function filter, function|nil eqlimit, [bool pause], [bool skip_target]) -> EffectDescription
Creates an Equip Spell activation effect for c and registers the matching EFFECT_EQUIP_LIMIT. The activation effect is returned; when pause is true it is created but not registered on c. Use this for ordinary Equip Spells. Write the target and operation manually when the card equips after another action or needs extra state.
How To Use It
Use this for the normal Equip Spell activation shape: target a face-up monster, equip the handler during resolution, and register the matching EFFECT_EQUIP_LIMIT on the Equip Card.
aux.AddEquipSpellEffect(c,true,true,s.eqfilter,s.eqlimit)Use a manual activation instead when the card Special Summons first, equips cards from another location, equips several cards at once, or needs extra state before Duel.Equip.
Related Functions
Parameters
cCardis_selfboolis_opponentboolfilterfunctioneqlimitfunction|nilpausebooloptional - default: falseskip_targetbooloptional - default: false
Returns
Effect- Created activation effect.
Source
Utilities/utility.lua:1888
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 10 indexed script(s).
- Search this function in the Script Explorer with
Auxiliary.AddEquipSpellEffect.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Tails of the Fairy Tails | 82119326 | Scripts/c82119326.lua | 1 |
| DoomZ Command "D.O.O.M.D.U.R.G." | 68831625 | Scripts/c68831625.lua | 1 |
| Cursed Copycat Noble Arms | 23249029 | Scripts/c23249029.lua | 1 |
| Reincarnation Unveiling Mail | 68663427 | Scripts/c68663427.lua | 1 |
| DoomZ Command "A.D.R.A.S.T.E.I.A." | 84054556 | Scripts/c84054556.lua | 1 |
| Xyz Lay | 43150717 | Scripts/c43150717.lua | 1 |
| Orichalcos Sword of Sealing | 847217 | Scripts/c847217.lua | 1 |
| Dragon Treasure | 1435851 | Scripts/c1435851.lua | 1 |
| Ballista of Rampart Smashing | 242146 | Scripts/c242146.lua | 1 |
| WINDS OF VICTORY | 37301660 | Scripts/c37301660.lua | 1 |
Script Examples
Tails of the Fairy Tails (82119326)
Source: Scripts/c82119326.lua
function s.initial_effect(c)
aux.AddCodeList(c,19144623)
aux.AddEquipSpellEffect(c,true,true,Card.IsFaceup,nil)
--Atk up
local e1=Effect.CreateEffect(c)DoomZ Command "D.O.O.M.D.U.R.G." (68831625)
Source: Scripts/c68831625.lua
local s,id,o=GetID()
function s.initial_effect(c)
aux.AddEquipSpellEffect(c,true,true,Card.IsFaceup,nil)
--dam
local e1=Effect.CreateEffect(c)Cursed Copycat Noble Arms (23249029)
Source: Scripts/c23249029.lua
local s,id,o=GetID()
function s.initial_effect(c)
aux.AddEquipSpellEffect(c,true,true,Card.IsFaceup,nil)
--Atk Change
local e1=Effect.CreateEffect(c)