Skip to content

Card.AddCounter

Source Code | Card Functions

Adds a number (int count) of the specified counter (int countertype) to a card (Card c). If singly is set to a number, then it will be added by that number each time. When the number of added counter would exceed the limit for that card, it is not added.

Signature

Card.AddCounter(Card c, int countertype, int count, [int singly = false]) → bool

lua
c:AddCounter(countertype,count,singly)

Parameters

  • Card c

    (To be added)

  • int countertype

    (To be added)

  • int count

    (To be added)

  • int singly

    Optional. Defaults to false.

    (To be added)

Returns


under-construction