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
cThe card that will be presummoned.
int
sum_typeThe SummonType that will be applied to the card.
int
sum_locationOptional. Defaults to
0.If provided, the Location the monster will be treated to be summoned from.
int
sum_sequenceOptional. Defaults to
0.If provided, the sequence on the field in which the monster will be treated to be summoned in.
bool
sum_pzoneOptional. Defaults to
false.If true, treats the card as summoned from the Pendulum Zone.