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 1 week ago

brynnb commented 1 week 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.