Skip to content

Card.SetStatus ​

Source Code | Usage Examples | Card Functions

Applies or removes a status on a card.

Signature ​

Card.SetStatus(Card c, CardStatus status, bool value) → nil

lua
c:SetStatus(status,value)

Parameters ​

  • Card c ​

    The card to set the status of.

  • CardStatus status ​

    The status to set.

  • bool value ​

    true when applying the status, false when removing it