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:
@@ -1575,6 +1575,7 @@ elementals do double damage on their home plane
|
||||
water elementals move slightly more slowly
|
||||
the "totally digested" instadeath timer is much faster
|
||||
slow monster effects are more effective against faster enemies
|
||||
light-spell is clerical, if playing a priest
|
||||
|
||||
|
||||
Fixes to 3.7.0-x General Problems Exposed Via git Repository
|
||||
|
||||
@@ -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