RushDuel.AddCodeList
Alias: RD.AddCodeList. Requires the matching Rush Duel Lua bootstrap.
Signature
lua
RushDuel.AddCodeList(Card card, ... int|table) -> voidDescription
Accepts passcodes or flat tables of passcodes, registering each through Auxiliary.AddCodeList. This is mention metadata for other scripts; it does not create a Summon procedure or change the card's name.
Parameters
cardCard: Card whose script mentions these passcodes....int|table: Passcodes or flat tables of passcodes.
Returns
No return values.
Source
Rush/Utilities/RDBase.lua:244
lua
function RushDuel.AddCodeList(card, ...)
for _, list in ipairs {...} do
local type = Auxiliary.GetValueType(list)
if type == "number" then
Auxiliary.AddCodeList(card, list)
elseif type == "table" then
Auxiliary.AddCodeList(card, table.unpack(list))
end
end
endUsed By
Generated from the local Rush/Scripts/ folder and rush_cards.cdb.
- Detected in 1134 indexed script(s).
- Search this function in the Script Explorer with
RushDuel.AddCodeList.
Script Examples
Lufer the Symbol of the Devils (120309059)
Source: Rush/Scripts/c120309059.lua
lua
cm.name="恶魔之印 卢法"
function cm.initial_effect(c)
RD.AddCodeList(c,list)
--Activate
local e1=Effect.CreateEffect(c)The Eye of Timaeus (120285065)
Source: Rush/Scripts/c120285065.lua
lua
cm.name="蒂迈欧之眼"
function cm.initial_effect(c)
RD.AddCodeList(c,list)
--Activate
local e1=Effect.CreateEffect(c)Valkyrian Guard (120231066)
Source: Rush/Scripts/c120231066.lua
lua
cm.name="女武神防御"
function cm.initial_effect(c)
RD.AddCodeList(c,list)
--Activate
local e1=Effect.CreateEffect(c)