Each turn is composed of 3 phases. 1. Selection Phase: Player picks their action. If the player is attacking: Based on the player's base speed modifier, weapon speed modifier, and the chosen attack's speed modifier, and random chance, a speed value is calculated. If the player is defending: Each turn that the player does not defend, their temporary defence points are increased. Based on the player's base defence modifier, temporary defence points, shield defence modifier, armor defence modifier, and random chance, a defence value is calculated. If the player casts spell: Bases on the speed of the spell, and the level of the player, a speed value is calculated. Monster picks their action. (randomly, or algorithmically) If the monster is attacking: Based on the monster's base speed modifier, player level, and random chance, a speed value is calculated. If the monster is defending: Each turn that the monster does not defend, their temporary defence points are increased. Based on the monster's base defence modifier, temporary defence points, player level, and random chance, a defence value is calculated. If the monster casts spell: Bases on the speed of the spell, and the level of the monster, a speed value is calculated. 2. Priority Decision Phase If 1 defends and the other attacks/uses spell: If the defender has a higher defence that the attacker, the defender goes first. Same is true vice versa. The defender loses their temporary defence points. In the case of a tie, the defender goes fist. If both attack/use spell: The attacker with the higher speed goes first. In the case of a tie, the winner is picked randomly. If both defend: Both defenders lose their temporary defence points In the case of a tie, nothing happens. 3. Resolution Phase If 1 defends and the other attacks/uses spell: If the defender goes first: The defender will: Roll(a random chance based on the defender's chance to block) to block. If the block is successful: All damage dealt to the defender this turn is negated. If the block is unsuccessful: Take damage based on the defence calculation. The attackers chance to inflict critical strike is increased. The attacker will: Not have their attack's/spell's effects resolve Deal damage to their opponent based on the weapon damage calculation. If the attacker goes first: The attacker will: Have their attack's/spell's effects resolve. Have their chance to inflict critical strike increased. Deal damage to their opponent based on the weapon damage calculation. The defender will: Take damage based on the defence calculation. If both attack/use spell: The attacker going fist will: Have their attack's/spell's effects resolve Have their chance to inflict critical strike increased Deal damage to their opponent based on the weapon damage calculation Take all damage, unless negated by effects. The attacker going last will: Not have their attack's/spell's effects resolve Deal damage to their opponent based on the weapon damage calculation, unless attack/spell effects negate or otherwise alter the attack. Effects take priority. Take all damage. If both defend: Something funny happens, having no effect on the game itself.