Skip to content

Duel.GetCounter

Source Code | Duel Functions

Gets the number of counter (int countertype) on the field, from a player's (int player) perspective. The variables int s and int o are the player's and the opponent's field, respectively, 0 to exclude and 1 (or higher) to include.

Signature

Duel.GetCounter(int player, int s, int o, int countertype) → int

lua
Duel.GetCounter(player,s,o,countertype)

Parameters

Returns


under-construction