Skip to content

Card.IsPreviousAttributeOnField

Source Code | Card Functions

Returns true if a card's previous race on the field includes a given value(s).

Signature

Card.IsPreviousAttributeOnField(Card c, int attr) → bool

lua
c:IsPreviousAttributeOnField(attr)

Parameters

  • Card c

    The card to check the previous attribute of.

  • int attr

    Composite MonsterAttribute values to check. The card only needs to have at least one of the given attributes, not all.

Returns

  • bool

    If the previous attribute of c includes attr.


card-check, attribute-related, previous-property