Halls Hopper
Posts: 89
Joined: Friday, 8th January 2016, 15:50
[Fixed] Discrepancy in spell hunger
It seems the algorithm or values defined here are wrong :
http://crawl.chaosforge.org/Spell_Hunger
According to the above formula, with 22 int and 12 spell casting I should have a hunger reduction of 22 *12 = 264.
For a 5 level spell, that translates to 350 - (22 * 12) = 86 hunger cost, which according to the same page should be represented by ###...
However I got something like :
I got 4 # instead of the 3 I was expecting.
So either the calculation is wrong, the spell cost is higher than 350 at lvl 5, or the display is wrong.
The page seems to be rather old (0.13) so is anyone aware of a change between 0.13 and 0.17. I'd like to understand what is my "real" hunger cost. It is not game changing but between a hunger cost of 80 and 120 that is 50% percent difference which is not that negligible.
In the other case, I'll go source diving and try to find the explanation.
Should be able to find out from spl-cast.cc