From 27adb7c71db809dd9f722116cad84c0b7a41f707 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Tue, 3 Feb 2026 12:07:08 +0200 Subject: [PATCH] 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. --- doc/fixes3-7-0.txt | 1 + src/role.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 3d0fd6f67..8bade1d23 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -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 diff --git a/src/role.c b/src/role.c index e95d3f121..8d4feaab2 100644 --- a/src/role.c +++ b/src/role.c @@ -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