Skip to content

Card.GetAttack ​

Source Code | Usage Examples | Card Functions

Gets the current ATK of a card.

Signature ​

Card.GetAttack(Card c) → int

lua
c:GetAttack()

Parameters ​

  • Card c ​

    The card to get the ATK of.

Returns ​

  • int ​

    The card's ATK. For monsters with ? ATK, returns 0.


atk-related