Skip to content

Card.IsTextAttack

Source Code | Usage Examples | Card Functions

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

Signature

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

lua
c:IsTextAttack(atk)

Parameters

  • Card c

    The card to check the printed ATK of.

  • int atk

    The ATK value to check.

Returns

  • bool

    If the printed ATK of c is equal to atk.


card-check, atk-related, original-property