Commit Graph

9 Commits

Author SHA1 Message Date
arromdee
bfbf1d6c30 monster spells
This fixes the problem with my monster spell changes which let monsters
summon monsters around you when they don't even know you're around.

The summoned monsters should appear where the monster thinks you are, if
you're invisible or displaced.

I have not prevented them from summoning monsters when you are in a temple,
nor have I prevented them from aggravating monsters several times when you're
out of sight.

Messages should be a little smarter, taking into account number of monsters
and invisibility/displacement.

--Ken A
2002-01-20 06:17:20 +00:00
arromdee
912b4a8d94 reduce insect summoning
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.
2002-01-17 03:14:12 +00:00
arromdee
0b268a2628 Tids only. 2002-01-14 04:50:17 +00:00
arromdee
b35a8a290a Fix comment typo, fix lightning problem. 2002-01-13 22:29:12 +00:00
nethack.rankin
9d5c7cd7d8 mcastu reorganization 2002-01-13 09:17:13 +00:00
nethack.allison
ab5a3361c7 probable typo fix in mcastu.c
M. Allison
2002-01-11 22:40:39 +00:00
nethack.rankin
318308396b minor reformatting 2002-01-11 04:03:06 +00:00
arromdee
157840766d Finally overhauled some spell stuff. --Ken A.
Summary of spell changes:
-- wimpiness of 'default' spell fixed by doing half damage for magic resistance
instead of 1 damage, and using half monster level instead of 1/3.  It may
still need tweaking, but is much better than before.
-- 'default' spell for cleric monsters is now the wounds spell, by analogy with
wizard monsters.
-- added clerical lightning strike, flame strike, gush of water
-- all spells should now say the monster is casting a spell, and all spells
should have messages.  (Side effect: monsters speeding up by other means
also give a message saying so).
-- casting undirected spells is not affected by whether the monster knows
where you are.  Monsters that are attacking your displaced image, that are
several squares away, or that are peaceful can use undirected spells.
-- messages should correctly say whether the spell is undirected (a monster
was always casting at thin air or pointing at you and cursing, without checking
to see if the spell wouldn't require pointing)
-- Monsters which are attacking your displaced image, etc. use up mspec_used.
If they are casting an undirected spell, the spell still works.
-- Monsters which are not attacking can cast spells that don't attack.
-- If a monster didn't have ranged spellcasting ability (which most don't),
it would print a curse message from buzzmu() every round it was at range,
creating a useless stream of constant curse messages

I still haven't made spellcasters "smarter" in the sense of noticing whether
you have reflection, fire resistance, etc.  That opens a big can of worms
because it would mean giving monsters a memory.

Known bug: the higher level a monster is, the more spells it has; since it
chooses a noncombat spell by randomly picking a spell and casting if it
happens to be noncombat, the higher level the monster is the greater the
chance of getting nothing.
2002-01-11 01:09:07 +00:00
jwalz
254558a40f *** empty log message *** 2002-01-05 21:05:49 +00:00