Skip to content

Debug.PreSummon

Source Code | Usage Examples | Debug Functions

In puzzles, treats a card as if it was summoned by the provided SummonType. The summon location and sequence can also be specified.

Signature

Debug.PreSummon(Card c, int sum_type, [int sum_location = 0, int sum_sequence = 0, bool sum_pzone = false]) → nil

lua
Debug.PreSummon(c,sum_type,sum_location,sum_sequence,sum_pzone)

Parameters

  • Card c

    The card that will be presummoned.

  • int sum_type

    The SummonType that will be applied to the card.

  • int sum_location

    Optional. Defaults to 0.

    If provided, the Location the monster will be treated to be summoned from.

  • int sum_sequence

    Optional. Defaults to 0.

    If provided, the sequence on the field in which the monster will be treated to be summoned in.

  • bool sum_pzone

    Optional. Defaults to false.

    If true, treats the card as summoned from the Pendulum Zone.