From c00ade13eda1df6f61bfdb9ae37cb26b2667c30f Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Thu, 4 Mar 2010 01:45:43 +0000 Subject: [PATCH] crowning bonus (trunk only) Have being crowned Hand of Elbereth/Envoy of Balance/Glory of Arioch give a minor extra benefit beyond resistances and an artifact and maybe unlocking the artifact's skill: one extra skill credit, making it feasible to earn 30 rather than 29. (Previously the only way to get any was to receive one for each new experience level, so you could gain one 29 times when going from level 1 to level 30.) Added as a new feature. --- doc/fixes35.0 | 1 + src/pray.c | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/fixes35.0 b/doc/fixes35.0 index 858fa1d36..fd10b0cd2 100644 --- a/doc/fixes35.0 +++ b/doc/fixes35.0 @@ -450,6 +450,7 @@ fainting while wielding a cockatrice corpse will be fatal Sunsword's light radius depends on its curse/bless state Add M-C and M-R meta-key shortcuts for #conduct and #ride, respectively can now use ESC to cancel out of prompts for playing musical instruments +being crowned gives an additional benefit: one extra skill slot/credit Platform- and/or Interface-Specific New Features diff --git a/src/pray.c b/src/pray.c index 94a403f1a..cfd827154 100644 --- a/src/pray.c +++ b/src/pray.c @@ -1,5 +1,4 @@ /* NetHack 3.5 pray.c $Date$ $Revision$ */ -/* SCCS Id: @(#)pray.c 3.5 2009/01/23 */ /* Copyright (c) Benson I. Margulies, Mike Stephenson, Steve Linhart, 1989. */ /* NetHack may be freely redistributed. See license for details. */ @@ -815,6 +814,10 @@ gcrownu() You_feel("unworthy."); } update_inventory(); + + /* lastly, confer an extra skill slot/credit beyond the + up-to-29 you can get from gaining experience levels */ + add_weapon_skill(1); return; } #endif /*ELBERETH*/