]> granicus.if.org Git - nethack/commit
B4003 - exercising spell skills
authornethack.rankin <nethack.rankin>
Sat, 13 Jul 2002 12:39:10 +0000 (12:39 +0000)
committernethack.rankin <nethack.rankin>
Sat, 13 Jul 2002 12:39:10 +0000 (12:39 +0000)
commit615d9dde2b368781ef12165f337c20f89c5a05a8
treed0c570798a036e7687fa6400b46b6487efc90845
parent30f6fbb5fedb78f1ed1956ae5335b5791dd029c1
B4003 - exercising spell skills

     The spellcasting code stopped counting a spell class's skill
exercise once that reached expert, so the only way that it could
end up being flagged as having reached maximum in the #enhance
feedback would be if it had already received enough exercise to
reach the hypothetical level beyond expert while it was still at
skilled or less.

     It also didn't count the exercise if you were restricted in
the spell class, but that wasn't necessary because becoming
unrestricted--which I don't think is even possible for spells at
present--resets the counter back to 0 to discard any exercise
achieved while ineligible.
doc/fixes34.1
src/spell.c