Skip to content

Card.IsBaseAttack

Source Code | Card Functions

Returns true if a card's original ATK is equal to a given value. Original ATK might differ from the printed ATK of the card due to effects that change original ATK. Use Card.IsTextAttack if you need to check for the printed ATK instead.

Signature

Card.IsBaseAttack(Card c, int atk) → bool

lua
c:IsBaseAttack(atk)

Parameters

  • Card c

    The card to check the original ATK of.

  • int atk

    The ATK value to check.

Returns

  • bool

    If the original ATK of c is equal to atk.


card-check, atk-related, original-property