This patch allow for reduced spell hunger for all spell casters with
high enough INT (not only wizards). An "hunger intelligence" is
computed as follow:
- Fighters classes (Barbarian, Caveman, Samurai, Undead Slayer,
Valkyrie and Yeoman) have 10, not further modified by race or skill.
- Wizard have their actual intelligence +5, not further modified by
race of skill.
- Mages (ice and flame) have their intelligence +3, modified by
race and skill.
- Necromancers and Priests ahve tehir intelligence, modified by
race and skill.
- Archeologists and Healers have their intelligence -3, modified by
race and skill.
- rangers and Rogues have their intelligence -4, modified by race
and skill.
- Knights, Monks and Tourists have their intelligence -5, modified
by race and skill.
Then, race is taken into account:
- Human, Gnomes and Hobbits do not have further modifiers.
- Doppelgangers (non-wizards) have their hunger intelligence set to
10 (they use magic to polyself, not to cast spell).
- Orcs and dwarfs substract 3 from the previous result (they don't
like magic).
- Elfs and Drows add 2 to the previous result (they do like
magic).
- Vampires and Werewolf reduce any penalty by 3 (that is, they add
3 but cannot have hunger intelligence higher than actual intelligence)
(they live by magic so are better trained than their fellows to use
it).
Then skills may further reduce any penalty by 1 (basic), 2 (skilled)
or 3 (expert).
Spell hunger is then reduced by 10% per point of hunger intelligence
above 15.
Roughly speaking, the result is has following:
- Wizards still halve spell hunger at INT 15, start to have bonuses
from INT 10 but only completely negate spell hunger at INT 20 (not
17).
- Mages start to reduce spell hunger from INT 12, halve it at INT 17
and negate it at INT 22 (plus races modifiers).
- Pure figthers never reduce spell hunger.
- Mid-spellcaster may reduce spell hunger with high enough INT,
halving it with INT between 18 (elven priest) and 28 (dwarven monk)
and negating it only possible for few of them (priest, necromancers at
INT 25, elven healer at INT 25, ...)
This is mainly intended to allow starting mages to use their sphere
spell without strarving too early.