Commit Graph

123 Commits

Author SHA1 Message Date
arromdee
d5d7f15007 Fix some steed/wounded legs things. Also add a wizard-only enlightenment
message specifying that the steed has wounded legs.
2002-01-12 05:37:33 +00:00
nethack.allison
f64c0ac241 Since the touchstone uses objclass oc_color we need
to make that field unconditional, otherwise
NetHack won't compile without TEXTCOLOR defined.

Also provides at least an interim solution for the has_color()
problem that Warwick pointed out.

Lastly, Archeologists know touchstones.
2002-01-12 02:16:09 +00:00
nethack.allison
2e62cf4194 get rid of another warning
M. Allison
2002-01-11 22:51:58 +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
cohrs
631df10a34 setuwep, et al, cleanup 2002-01-10 06:52:05 +00:00
kmhugo
46bd9b925c * Fix some formatting in cmd.c. 2002-01-10 06:49:35 +00:00
arromdee
1d86d33fde Fix drain life "problem" (zapping it at the floor required you to reach the
floor) by not making it wipe engravings to begin with.

--Ken A.
2002-01-10 06:08:58 +00:00
nethack.allison
9b7d9f29b5 From a bug report: monsters hit by polymorph
magic while wearing dragon scales/scale mail were being turned
into random monsters instead of into dragons.

Also

Two items from <Someone>'s list.

Files patched:
  include/obj.h
  src/mon.c, muse.c, worn.c, zap.c
2002-01-09 13:10:13 +00:00
nethack.allison
ef26fdaeb4 small touchstone credit 2002-01-09 05:31:47 +00:00
nethack.allison
767335698b <Someone>'s touchstone code and a bee swarm bit. 2002-01-09 03:31:30 +00:00
nethack.allison
40e0f19b53 Ken's leather cloak. 2002-01-09 00:33:38 +00:00
nethack.allison
a0b13b1b25 compression fix fix
Ken:
Fix an error in my fix for compression error messages.

No Makefile.src change should be necessary because files.c depends on hack.h,
which "depends" on wintty.h (actually ifdef USE_TRAMPOLI, but the Makefile
doesn't know that).
2002-01-08 04:44:07 +00:00
nethack.allison
17f15477e1 auto credit
Yes, you were right.  There is a reason to have a separate auto_credit flag.
2002-01-08 04:42:29 +00:00
nethack.allison
59f5ed1cbb This adds Wingnut's auto-credit patch (except it doesn't use a separate
auto_credit flag; that's what sell_response is for).

follow-up comment from Pat:
     This introduces behavior that I consider to be buggy.
You need something separate from sell_response, otherwise if
you answer (a)ll when the shopkeeper still has money you end
up selling everything for credit without being asked when he
runs out of cash in the middle of the transation.  Avoiding
that is the reason for the old behavior in the first place.
2002-01-07 12:35:06 +00:00
cohrs
c77073be31 sync changes since last snapshot 2002-01-07 02:12:04 +00:00
jwalz
e754e5c561 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
507f3fe5fb *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
55f4b9b528 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
778be49489 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
8b8e634818 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
93d7b68c9e *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
481406785f *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
e3a66a1aad *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
f2bae62eab *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
ad8b243112 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
039c0c596d *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
05cc5fd4fd *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
bf87b7b937 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
f4dd9713a0 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
da70a1431d *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
3208bc8d5c *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
45614118f2 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
3cfda78bd0 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
d10b13708c *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
425bfb2a61 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
b3b5767004 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
130f7c5738 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
58aa5b5ad2 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
368f51cf75 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
bd9456b0f8 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
f2dafeca43 *** empty log message *** 2002-01-05 21:05:52 +00:00
jwalz
a6a6af9550 *** empty log message *** 2002-01-05 21:05:52 +00:00
jwalz
057da8ecc6 *** empty log message *** 2002-01-05 21:05:52 +00:00
jwalz
6512bb039d *** empty log message *** 2002-01-05 21:05:52 +00:00
jwalz
fc0fcc4342 *** empty log message *** 2002-01-05 21:05:52 +00:00
jwalz
a7c29bf23c *** empty log message *** 2002-01-05 21:05:52 +00:00
jwalz
2c9ab0da52 *** empty log message *** 2002-01-05 21:05:52 +00:00
jwalz
98e7383f57 *** empty log message *** 2002-01-05 21:05:52 +00:00