Card.Setcode
Source Code | Usage Examples | Card
Functions
Returns the card's original archetype(s).
Signature
Card.Setcode(Card c
) → int ...
lua
c:Setcode()
Parameters
Returns
Overload
Card.Setcode(Card c
, IntArray setcodes
) → nil
lua
c:Setcode(setcodes)
Replaces a card's archetype(s) with a table of setcode values.
Parameters
Card
c
The card to change the archetype(s) of.
IntArray
setcodes
A table of setcode values to set as the card's new archetype(s).
Overload
Card.Setcode(Card c
, int ...
) → nil
lua
c:Setcode(...)
Replaces a card's archetype(s) with any number of setcode values.