Skip to content

Card.EnableCounterPermit

Source Code | Usage Examples | Card Functions

Enables the card to hold a counter that requires permissions. Refer to the counter guide for details on counter permissions.

Signature

Card.EnableCounterPermit(Card c, int countertype, [int location]) → nil

lua
c:EnableCounterPermit(countertype,location)

Parameters

  • Card c

    The card that will be granted permissions to hold counters.

  • int countertype

    The type of the counter.

  • int location

    Optional.

    Composite Location in which the card will be able to hold the counters. Defaults to LOCATION_MZONE for monster cards, 0 otherwise.