Skip to content

Duel.IsEndOfBattlePhase

Source Code | Usage Examples | Duel Functions

Checks if it is currently the end of the Battle Phase (End Step).

aliases: Duel.IsEndStep

Signature

Duel.IsEndOfBattlePhase([int player]) → bool

lua
Duel.IsEndOfBattlePhase(player)

Parameters

  • int player

    Optional.

    If provided, the function will also check if it is currently that player's turn.

Returns

  • bool

    true if it is currently the end of the Battle Phase (End Step), false otherwise.