]> granicus.if.org Git - nethack/commitdiff
reduce insect summoning
authorarromdee <arromdee>
Thu, 17 Jan 2002 03:14:12 +0000 (03:14 +0000)
committerarromdee <arromdee>
Thu, 17 Jan 2002 03:14:12 +0000 (03:14 +0000)
Testing the Astral Plane showed that the summon insects spell was a little
ridiculous with the new monster spellcasting routines.  You can easily
have enough priests within range of you that insects are summoned almost every
round.  I've made this saner by halving the frequency of the spell.  The player
will still probably encounter summoned insects a lot more than before.

src/mcastu.c

index 4c4f0e9f08e3fd8bda03d2045e9014c5425037a2..1cc6a12b2b6b06ad5aaf7705c7fa815d388e880c 100644 (file)
@@ -126,16 +126,15 @@ choose_clerical_spell(spellnum)
 int spellnum;
 {
     switch (spellnum) {
-    case 14:
-       return CLC_GEYSER;
     case 13:
-       return CLC_FIRE_PILLAR;
+       return CLC_GEYSER;
     case 12:
-       return CLC_LIGHTNING;
+       return CLC_FIRE_PILLAR;
     case 11:
+       return CLC_LIGHTNING;
     case 10:
-       return CLC_CURSE_ITEMS;
     case 9:
+       return CLC_CURSE_ITEMS;
     case 8:
        return CLC_INSECTS;
     case 7: