Duel.IsMainPhase
Source Code | Usage Examples | Duel Functions
Checks if it is currently the Main Phase.
Signature
Duel.IsMainPhase([int player]) → bool
lua
Duel.IsMainPhase(player)Parameters
int
playerOptional.
If provided, the function will also check if it is currently that player's turn.