Skip to content

Debug.PreAddCounter

Source Code | Usage Examples | Debug Functions

Adds a certain number of a specified counter to a card.

Signature

Debug.PreAddCounter(Card c, int counter_type, int count) → nil

lua
Debug.PreAddCounter(c,counter_type,count)

Parameters

  • Card c

    The card that will receive the counter(s).

  • int counter_type

    The hexadecimal value (or its respective constant) that represents that counter type.

  • int count

    The number of counters to be placed.