]> granicus.if.org Git - nethack/commit
spell skils for role-specific special spell
authorPatR <rankin@nethack.org>
Fri, 5 Feb 2016 08:25:39 +0000 (00:25 -0800)
committerPatR <rankin@nethack.org>
Fri, 5 Feb 2016 08:25:39 +0000 (00:25 -0800)
commit3c4152f52ad5d1bfbf0c0208de0e1592a90f10f6
tree2235185e927491bdd9644ec68348c35adba039ea
parentea21f384ba6f7b63fe566c33ba5836ae91225815
spell skils for role-specific special spell

Every role has a specific spell that they having an easier time
casting.  Samurai's special spell is clairvoyance but samurai is
restricted in divination spells.  Requested about 4.5 years ago:
allow samurai to achieve basic skill in divination.

Similar for barbarian, special spell is haste self but escape spells
are restricted.  All the other roles can already get at least basic
in their special spell's category.

There were several choices:
1) leave things as they are;
2) give those two roles different special spells;
3) allow them to reach basic in the spell category of the existing
   special spell;
4) #2 for one of those roles, #3 for the other.

I went with #3.  To compensate, reduce attack spell skill limit from
skilled to basic for both.  (#4 might be better, since the reason to
want divination enhanced is most likely identify and magic mapping,
not interest in clairvoyance.)
src/u_init.c
src/weapon.c