Skip to content

Duel.Win

Source Code | Usage Examples | Duel Functions

Player (int player) wins the Duel for a reason (REASON_x). If the player is affected by EFFECT_CANNOT_LOSE_EFFECT the duel keeps going on.

Signature

Duel.Win(int player, int win_reason) → nil

lua
Duel.Win(player,win_reason)

Parameters


under-construction