Light-spell is clerical, if playing a priest
Ideally the spell adjustment should be in o_init, but by that time hero's role has not yet been set.
This commit is contained in:
@@ -2084,6 +2084,9 @@ role_init(void)
|
||||
/* 0 or 1; no gods are neuter, nor is gender randomized */
|
||||
svq.quest_status.godgend = !strcmpi(align_gtitle(alignmnt), "goddess");
|
||||
|
||||
if (Role_if(PM_CLERIC))
|
||||
objects[SPE_LIGHT].oc_skill = P_CLERIC_SPELL;
|
||||
|
||||
#if 0
|
||||
/*
|
||||
* Disable this fixup so that mons[] can be const. The only
|
||||
|
||||
Reference in New Issue
Block a user