Skip to content

Card.IsPreviousAttackOnField ​

Source Code | Usage Examples | Card Functions

Returns true if a card's previous ATK on the field is equal to a given value.

Signature ​

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

lua
c:IsPreviousAttackOnField(atk)

Parameters ​

  • Card c ​

    The card to check the previous ATK of.

  • int atk ​

    The ATK value to check.

Returns ​

  • bool ​

    If the previous ATK of c is equal to atk.


card-check, atk-related, previous-property