Skip to content

Debug.SetPlayerInfo

Source Code | Usage Examples | Debug Functions

In puzzles, sets a player's LP, initial number of cards in the hand, and the number of cards to draw each Draw Phase.

Signature

Debug.SetPlayerInfo(int playerid, int lp, int startcount, int drawcount) → nil

lua
Debug.SetPlayerInfo(playerid,lp,startcount,drawcount)

Parameters

  • int playerid

    The player whose information will be set.

  • int lp

    The initial LP for the player.

  • int startcount

    The number of cards in the starting hand.

  • int drawcount

    The number of cards to draw each Draw Phase.