> Game Rules
A critical hit is like a standard hit, with a bonus on the result of the action. The probability of landing a critical hit depends on the entity's Agility and is given by the formula:
Critical hit probability = Caster's agility / 1000
Examples:
The bonus for a critical hit is 30%, i.e. 1.3 × the base effect (in your code, you can use the CRITICAL_FACTOR constant, so your AI isn't affected if an update ever changes this ratio).
All effects can crit, but for some of them it makes no difference: for example, teleport, antidote, push, attract, invert, remove_shackle... give the same result on a critical hit as on a normal hit.
If you summon with a critical hit, all of the summon's characteristics are boosted by 20%.
For items with several effects, the bonus applies to all effects.
For damage dealt by a critical hit, the erosion rate is increased by 10%.
Impossible de charger les données du jeu.
Vérifiez votre connexion et réessayez.