]> granicus.if.org Git - nethack/commitdiff
Adjust sleep spell, and monk starting spell
authorPasi Kallinen <paxed@alt.org>
Tue, 22 Feb 2022 07:13:28 +0000 (09:13 +0200)
committerPasi Kallinen <paxed@alt.org>
Tue, 22 Feb 2022 07:13:32 +0000 (09:13 +0200)
Tone down sleep level to 3 (hitting a monster does tend to wake
it up), and replace the random monk starting sleep spell with
confuse monster, which fits nicely with monk's bare-handed
fighting style.

doc/fixes3-7-0.txt
include/objects.h
src/u_init.c

index 91d92bdef2671d814c6816a6efd68b59c06c48e6..3b980b3df9f7b85051a935ba033130b954a59f7a 100644 (file)
@@ -801,6 +801,7 @@ always give a message when monster changes form via polytrap if seen
 illiterate hero receiving a spellbook from their deity gets the spell shoved
        directly into their mind instead
 adjust levels of sleep, confuse monster, and charm monster spells
+replace monk starting sleep spell with confuse monster
 chargeable rings have a chance of getting charged when hit with electricity
 
 
index 0c34d1ad66fec011090ce5c13e3e278a827ff283..cd88788ef004c0f57b598a8c1f36e26534f5d184 100644 (file)
@@ -1211,7 +1211,7 @@ SPELL("fireball",        "ragged",
 SPELL("cone of cold",    "dog eared",
       P_ATTACK_SPELL,      10,  7, 4, 1, RAY, HI_PAPER, SPE_CONE_OF_COLD),
 SPELL("sleep",           "mottled",
-      P_ENCHANTMENT_SPELL, 30,  1, 4, 1, RAY, HI_PAPER, SPE_SLEEP),
+      P_ENCHANTMENT_SPELL, 30,  1, 3, 1, RAY, HI_PAPER, SPE_SLEEP),
 SPELL("finger of death", "stained",
       P_ATTACK_SPELL,       5, 10, 7, 1, RAY, HI_PAPER, SPE_FINGER_OF_DEATH),
 SPELL("light",           "cloth",
index e76107c1d8f18558f856ecc4a25bb96c7a83e77d..1674509042a6b290dcdb5fcaadad31c012c3b771 100644 (file)
@@ -737,7 +737,7 @@ u_init(void)
         skill_init(Skill_K);
         break;
     case PM_MONK: {
-        static short M_spell[] = { SPE_HEALING, SPE_PROTECTION, SPE_SLEEP };
+        static short M_spell[] = { SPE_HEALING, SPE_PROTECTION, SPE_CONFUSE_MONSTER };
 
         Monk[M_BOOK].trotyp = M_spell[rn2(90) / 30]; /* [0..2] */
         ini_inv(Monk);