Skip to content

Card.Attribute ​

Source Code | Usage Examples | Card Functions

Returns the card's original attribute(s).

Signature ​

Card.Attribute(Card c) → int

lua
c:Attribute()

Parameters ​

  • Card c ​

    The card to get the attribute(s) of.

Returns ​

Overload ​

Card.Attribute(Card c, int att) → nil

lua
c:Attribute(att)

Changes a card's attribute.

Parameters ​


attribute-related