Skip to content

Card.IsPreviousDefenseOnField ​

Source Code | Usage Examples | Card Functions

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

Signature ​

Card.IsPreviousDefenseOnField(Card c, int def) → bool

lua
c:IsPreviousDefenseOnField(def)

Parameters ​

  • Card c ​

    The card to check the previous DEF of.

  • int def ​

    The DEF value to check.

Returns ​

  • bool ​

    If the previous DEF of c is equal to def.


card-check, def-related, previous-property