Skip to content

Duel.IsStartOfBattlePhase ​

Source Code | Usage Examples | Duel Functions

Checks if it is currently the start of the Battle Phase (Start Step).

aliases: Duel.IsStartStep

Signature ​

Duel.IsStartOfBattlePhase([int player]) → bool

lua
Duel.IsStartOfBattlePhase(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 start of the Battle Phase (Start Step), false otherwise.