Skip to content

Duel.Damage

Source Code | Usage Examples | Duel Functions

Damages/Decreases player's (int player) Life Points by an amount (int value) for a reason (int reason). The damage is considered to be dealt by (int rp). Setting (bool is_step) to true will make so the damage is considered dealt at the call of Duel.RDComplete().

Signature

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

lua
Duel.Damage(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