brynnb / idlequest

A idle / incremental game based on the 1999 classic EverQuest
1 stars 0 forks source link

Spell damage calculations (used for spell descriptions) is difficult and complicated #19

Open brynnb opened 2 months ago

brynnb commented 2 months ago

Damage calculation in spellCalculations.ts is really messy due to legacy everquest stuff. For example, base damage values can be negative. But I think we want them negative since healing is positive? But we want to display them as positive values. After lots of messing with it, the values look sane and accurate to me, but are probably not 100% accurate.