Skip to content

Debug.PreAddCounter ​

Signature ​

lua
Debug.PreAddCounter(Card c, int counter_type, [int count]) -> void

Description ​

Adds count counters of countertype directly to c for field setup; count defaults to 1.

Parameters ​

  • c Card
  • counter_type int
  • count int optional - default: 0

Source ​

  • D:\Programs\GitHub\ygopro-core\libdebug.cpp:208

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

No indexed local card script currently calls this function.

This can mean the function is unused in the current script set, is only called through an alias, or is available for future/manual scripts.