Damage Cap Reference

The 2024 combat refresh replaced the old flat 30/75 limits with a class-aware ceiling implemented in calculate_damage_cap(). This page captures how the cap interacts with melee and spell damage so balance tweaks can be validated quickly.

Formula

The raw cap is 150 + 6 × prime stat, where the prime stat comes from class_table and the value is read from ch->perm_stat. Buffs that only modify mod_stat (giant strength, curse, etc.) currently do not influence the limit.【F:src/fight.c†L950-L975】【F:src/const.c†L640-L659】

ClassPrime statCap @ 25 stat
WarriorStrength300
ClericWisdom300
MageIntelligence300
ThiefDexterity300

What counts toward the cap

After the clamp

Tuning tips