Skip to content

Duel.IsMainPhase2

Source Code | Usage Examples | Duel Functions

Checks if it is currently the Main Phase 2.

Signature

Duel.IsMainPhase2([int player]) → bool

lua
Duel.IsMainPhase2(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 Main Phase 2, false otherwise.