Skip to content

Duel.SetTargetParam

Source Code | Usage Examples | Duel Functions

Stores an arbitrary integer as the "target parameter" for the currently resolving chain, its uses vary depending on the type of effect, but for example with cards that damage/recover LP this value corresponds to the amount to gain/lose, so that other effects that change those amounts can access and change this value

Signature

Duel.SetTargetParam(int value) → nil

lua
Duel.SetTargetParam(value)

Parameters


under-construction