This chapter provides a detailed breakdown of combat mechanics between players and monsters. It also serves as a summary of various combat-related formulas and mechanics covered throughout the guide. While much of this information can be found in other chapters, this section presents it in a structured way to clarify how different aspects of battle interact.
Melee attacks are handled differently than other attack types, such as ranged attacks and spells. This chapter follows the game's mechanics by distinguishing between them. Additionally, combat scenarios vary depending on who the attacker and the target are. There are four main combat interactions:
- Player vs. Monster
- Monster vs. Player
- Player vs. Player
- Monster vs. Monster
The Monster vs. Monster category primarily concerns golems, but in Hellfire, it also applies to berserk monsters. Traps follow the same mechanics as monster attacks when they damage players, so they are covered under Monster vs. Player.
The game processes combat interactions in a fixed sequence. Players are always updated before monsters, meaning that if a player and a monster attack at the same time, the player's attack will register first. If multiple players attack simultaneously, the order is determined by their entry sequence into the game. If a player leaves, a new player takes their place in the update order.
The game updates combat interactions every 0.05 seconds, which is why all timing-related mechanics (such as attack delays) are measured in increments of 0.05 seconds.
The update sequence is as follows:
- Players
- Monsters
- Magical Effects (including arrows, spells, and other projectiles)
Each of these steps is processed every 0.05 seconds, determining the exact order in which attacks land and effects apply.