Combat Mechanics
Combat Mechanics, Leveling Dynamics, and Discrete Math
[edit | edit source]The combat architecture operates on calculated mathematical systems that govern experience distribution, server-side hit resolution, and damage mitigation.
Experience Distribution
[edit | edit source]Characters accumulate combat experience dynamically during battle, splitting the earned XP at a strict 75% to 25% ratio. The larger share (75%) goes directly to the active stance skill (such as Attack, Archery, Block, Evasion, or Warding), while the remaining 25% is funnelled into the passive Health pool. Each level gained in Health grants a flat +10 HP increase to the character's base life pool.
Combat experience is generated as a function of damage dealt, scaled by a linear Combat Multiplier that increases based on the monster's level:
The Combat Multiplier scales with the target's level to ensure that high-tier combat encounters remain rewarding:
For example, fighting a level 50 monster yields a multiplier of 1.50 (a 50% experience bonus). This formula allows players to accurately project experience rates by using the monster's maximum HP as the damage value.
Hit Resolution
[edit | edit source]To resolve physical hits, the backend engine compares two independent, uniform random integer rolls:
A hit is registered strictly if . The upper limits for these ranges ( and ) scale dynamically based on active combat skills and equipped item stats:
To analyze DPS probabilities and calculate expected values, the continuous approximation of the hit chance is structured as follows:
For discrete probability models requiring strict server-side accuracy, the exact roll-based hit chance probability is modeled as:
Damage Mitigation & Shields
[edit | edit source]Damage calculations are further balanced by comparing the attacker's penetration rating against the defender's damage reduction score. The damage reduction score is computed as:
These calculations make matching shield types essential during combat. Standard shields are divided into three categories to counter specific enemy attack colors:
- Block Shields (Red Damage) counter heavy physical attacks.
- Parry Shields (Green Damage) deflect quick, agile attacks.
- Warding Shields (Blue Damage) mitigate mystical or arcane attacks.