Skip to content

Duel.Recover

Source Code | Duel Functions

Increases player's (int player) Life Points by an amount (int value) for a reason (int reason). The LP increase is considered to be done by (int rp). Setting (bool is_step) to true makes so the recovery is considered being done at the call of Duel.RDComplete().

Signature

Duel.Recover(int player, int value, int reason, [bool is_step = false, int rp = reason_player]) → int

lua
Duel.Recover(player,value,reason,is_step,rp)

Parameters

  • int player

    (To be added)

  • int value

    (To be added)

  • int reason

    (To be added)

  • bool is_step

    Optional. Defaults to false.

    (To be added)

  • int rp

    Optional. Defaults to reason_player.

    (To be added)

Returns


under-construction