Known Issues
These issues were cross-checked against the current combat implementation in src/fight.c
and companion files.
High
- Damage cap ignores temporary stat buffs. The new
calculate_damage_cap()
helper only readsch->perm_stat
, so effects such as giant strength or stat-draining debuffs do not influence the cap. Characters with buffed prime attributes therefore hit the same ceiling as their unbuffed state.【F:src/fight.c†L950-L975】
Medium
- Cap applies universally to spell damage.
damage()
clamps every damage packet before any resist checks, meaning direct-damage spells and object procs cannot exceed the melee-oriented cap even when design intent calls for higher burst (for example, backstab crits already bypass it via the divine override but spells do not). Review the affected spells and decide whether to exempt non-melee sources or raise their caps.【F:src/fight.c†L980-L1113】
Low
- Future classes need explicit wiring. Any new class ID will currently fall through the damage-cap switch and remain stuck at the 150 base cap until the case list is extended. Additions should update both the cap logic and related documentation to avoid silent underperformance.【F:src/fight.c†L954-L970】