Card.AddCounter
Source Code | Usage Examples | Card
Functions
Places any number of counters of the specified type to a card.
Signature
Card.AddCounter(Card c
, int countertype
, int count
, [bool checklimits
= false
]) → bool
lua
c:AddCounter(countertype,count,checklimits)
Parameters
Card
c
The card to place counters on.
int
countertype
The value for the type of counter to be placed.
int
count
The number of counters to be placed.
bool
checklimits
Optional. Defaults to
false
.If set to
true
, only places counters up to the maximum value set by anEFFECT_COUNTER_LIMIT
effect on the card for that counter. Iffalse
, does not place any counter if the limit would be exceeded.