Skip to content

Card.IsPreviousRaceOnField

Source Code | Card Functions

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

Signature

Card.IsPreviousRaceOnField(Card c, int race) → bool

lua
c:IsPreviousRaceOnField(race)

Parameters

  • Card c

    The card to check the previous race of.

  • int race

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

Returns

  • bool

    If the previous race of c includes race.


card-check, race-related, previous-property