Skip to content

Card.Attack

Source Code | Usage Examples | Card Functions

Returns a card's original ATK.

Signature

Card.Attack(Card c) → int

lua
c:Attack()

Parameters

  • Card c

    The card to get the original ATK of.

Returns

  • int

    The card's original ATK.

Overload

Card.Attack(Card c, int id) → nil

lua
c:Attack(id)

Changes a card's ATK.

Parameters

  • Card c

    The card to change the ATK of.

  • int id

    The new ATK value.


atk-related