Skip to content

Debug.PreSetTarget

Source Code | Debug Functions

In puzzles, sets the target of a card to be a specified card. Useful when placing cards on the field that require a target to keep the effect relation (e.g., Call of the Haunted).

Signature

Debug.PreSetTarget(Card c, Card tc) → nil

lua
Debug.PreSetTarget(c,tc)

Parameters

  • Card c

    The card that will be considered to be targetting another card.

  • Card tc

    The card that will be considered to be the target.