Skip to content

Duel.IsBattlePhase ​

Source Code | Usage Examples | Duel Functions

Checks if it is currently the Battle Phase.

Signature ​

Duel.IsBattlePhase([int player]) → bool

lua
Duel.IsBattlePhase(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 Battle Phase, false otherwise.