Combat State Overview

Contents

Combat State Overview

This page provides a general overview of how the Combat state works. The combat state is divided into two main "phases": the "decision phase" and the "action phase". For non-server games, there is also an additional "draw phase" which draws and animates the results of the action phase.

Summary

Here is a short summary of the game logic for combat:

Decision Phase

The decision phase is part of combat where all players in a match choose the action they'd like to perform. After all players have made a decision, the action phase starts and resolves the actions that the players chose.

Wait for all players in a match to decide on an action.

Decision phase ends.

Action Phase

The action phase is responsible for carrying out the actions that the players have chosen and any combat effects (such as poison effects, etc.) in the appropriate order. This is also known as "resolving" the actions and effects. The action phase can be further sub-divided into the "Pre-Action Phase", "Action Phase", and "Post-Action Phase" phases.