f4a3b20afe
Fire/Frost Brand vs rusting
nethack.rankin
2005-04-19 04:15:51 +00:00
a85d3bf01c
#M32: Astral vision vs normal vision While wearing EotO, ";" and selecting a monster behind a wall would display "normal vision" as well as "astral vision". This is because cansee() gets set for things seen via astral vision. However, couldsee() is only set for things that could be seen normally, so check both values.
cohrs
2005-04-15 19:42:08 +00:00
a3341e071b
M36 - can see through polymorphed boulder The vision matrix was updated in the boulder->statue case, but not in the statue->boulder case.
cohrs
2005-03-28 18:24:35 +00:00
8e063814f4
Drawbridge collapse bug From a bug report, it is possible for the hero to appear embedded in the wall after destroying the drawbridge. This is because The variable "lev1", which was the entity's location, was being referenced after e_died, but e_died can change the entity's location. So, as <Someone> suggested, refer to the current location directly.
cohrs
2005-03-25 22:33:05 +00:00
2f497c620e
M29 - unconscious effects when not unconscious While auditing nomul() I noticed unconscious() treats (multi < 0 && !nomovemsg) as unconscious. This explains the behavior in M29 (unconscious message while performing #turn). I checked all the places with this combination, and found a few that did not appear to fall under the "unconscious" category. Most I changed to use You_can_move_again to ensure the same display w/o the unconscious behavior. Also: - found another string that unconscious() should have considered - vomit() now sets nomovemsg, one caller was also doing this redundantly - vomiting_dialogue() was calling stop_occupation() after vomit(), which can reset multi. I reversed the order and removed a doubly-redundant nomul call.
cohrs
2005-03-25 20:30:24 +00:00
bf8a5983ec
code cleanup removing the remains of sync_hunger() which has been #ifdef'd out for years.
cohrs
2005-03-25 20:00:15 +00:00
e367964f90
finally finished but not eating Finally apply the patch sent by <Someone> in 11/2003 for slashem-Bugs-799278, updated to match the current code and handle additional cases. The fix is brute force: always ensure nomovemsg is set when nomul is called with a negative value. I also scanned the code for places manually setting multi negative, they all set nomovemsg. It would be nice to have a function that did the right thing, but there are several special cases and I was not feeling creative.
cohrs
2005-03-25 18:00:00 +00:00
916a636fe3
pet ascension
nethack.rankin
2005-03-20 05:23:33 +00:00
8225790b08
seeing lightning while blind followup As soon as I did the commit, I saw I was missing a test before the "tingles" message.
cohrs
2005-03-19 17:22:46 +00:00
dfb1a421ed
seeing lightning while blind <Someone> reported that even when blind, you can get "The bolt of lightning whizzes by you".
cohrs
2005-03-19 17:20:06 +00:00
7cb4b9d662
dipping in acid Add checks to allow erosion of objects #dip'd in acid. From a bug report.
cohrs
2005-03-18 20:59:29 +00:00
361e020847
vision thing <Someone> reported: You kill it! A potion of invisibility shatters! Change the rule in hero_breaks() to avoid giving info for things out of sight, except when from_invent is set, to preserve desired behavior.
cohrs
2005-03-18 05:34:43 +00:00
5e7e8a5e5f
avoid more QBUFSZ buffer overflows Several places were not using safe_qbuf or anything equivalent to avoid overflowing a QBUFSZ buffer. Add more uses plus one special case. For the current max lengths returned by xname(), I think this is sufficient. This addresses a reported buffer overflow for a "thoroughly rusty thoroughly corroded helm of opposite alignment", plus more.
cohrs
2005-03-18 03:46:20 +00:00
acb416abcc
land mine vs drawbridge
nethack.rankin
2005-03-17 05:20:34 +00:00
59cc0d221b
sliming ghosts From a bug report. Green slime would slime noncorporeals. Added missing checks.
cohrs
2005-03-14 16:27:35 +00:00
f1bf488367
passive damage As From a bug report, twice. Change max_passive_dmg to multiply the result by the number of direct attacks the aggressor can make. This way, a tame mind flayer, for example, will avoid pounding on a spotted jelly and dying as a result of the Nth passive response.
cohrs
2005-03-14 15:27:53 +00:00
4b37407462
compilation bit remove unused label gcc whined about
cohrs
2005-03-14 15:02:28 +00:00
4e8880d4fb
Mr. Izchak
nethack.rankin
2005-03-13 06:48:35 +00:00
2ca87d8a5e
more health food shops (trunk only)
nethack.rankin
2005-03-13 05:29:01 +00:00
4078094246
tile synch and a warning fix
nethack.allison
2005-02-20 19:49:56 +00:00
a0cc33a8fd
copy/paste error in horse_parts: foreclaw vs forehoof When horse_parts were separated from animal_parts, one "forehoof" was missed
cohrs
2005-02-15 00:25:23 +00:00
4a4fc8f4fa
more ring theft
nethack.rankin
2005-02-10 05:54:34 +00:00
847e3358c7
ring theft
nethack.rankin
2005-02-10 04:25:29 +00:00
556b64e797
yet more exploding magic pointers
nethack.rankin
2005-02-08 04:57:54 +00:00
ce1bf539ac
U1270 - monster evading kick produces a teleport message in Sokoban This time, it was just the message that was incorrect. Added a !level.flags.noteleport check before displaying "teleports".
cohrs
2005-01-27 17:21:33 +00:00
4527baa259
use of NULL (trunk only)
nethack.allison
2005-01-23 19:59:21 +00:00
6177f4b871
win32 and wince Remove the email address which is no longer valid from several NetHack source files.
nethack.allison
2005-01-23 19:39:01 +00:00
d040170713
djgpp zlib support
nethack.allison
2005-01-23 16:29:16 +00:00
fd205fc1db
followup to compression changes
nethack.allison
2005-01-23 14:34:29 +00:00
c40d876c3b
U1258 - removing ring of levitation while riding a flying steed As reported, you'd get the "float gently to the ground" message even while riding a flying steed. Rearranged the code and added a new case for this. I found it odd that Hallucination protected you from falling out of the saddle due to the Sokoban air currents. The message implied otherwise, so I've made the sokoban_trap code apply in both cases.
cohrs
2005-01-21 22:27:19 +00:00
c90746c670
polymorphing into a flyer while in a pit <Someone> reported that if you polymorph into a flying monster while in a pit, you must take u.utrap turns to first climb out before you can fly. Of course, once you're out, you can swoop down into the pit to pick things up w/o delay. Rather that have you automatically fly out (e.g. like quaffing a potion of levitation), I thought it was better to take a turn to fly out, so that's what I've implemented.
cohrs
2005-01-18 16:17:27 +00:00
c9b11cf989
U1231 - messages ordering when displacing a pet into a trap move the message so it's before the mintrap test. newsym's are needed to ensure the display is correct if a --More-- prompt results. I left the "frighten" message alone, except for tense. As per Pat's suggestion, I changed the wording to future-proof the message.
cohrs
2005-01-18 15:23:47 +00:00
d0a1a6e5b6
experience calculation fix the bug <Someone> noticed WRT experience calculation for nonphysical damage.
cohrs
2005-01-18 15:01:10 +00:00
a1ce203b40
comment isqrt Help code divers to understand why isqrt is not a complicated function.
cohrs
2005-01-17 22:24:00 +00:00
4a7c9490fe
startup problems on Unix I found I was no longer able to start "nethack", I think due to the change in the save file structure. But, it looks like the Unix-specific check in bufon() was never quite correct. I'd have to guess we've been lucky up until now.
cohrs
2005-01-13 01:36:40 +00:00
521c9203a5
files.c fixup With recent files.c changes, code required for Qt compilation on Unix no longer worked.
cohrs
2005-01-13 00:39:38 +00:00
546add5359
missing copyright <Someone>, I think, noticed there was no copyright on the window.doc. Add one. I don't recall when I originally wrote it, but I last changed it in 2003, so that's the year I'm putting in. Anyone else that wants to share the blame, please add your name and update the year as needed.
cohrs
2005-01-13 00:34:35 +00:00
e9285c9fe2
followup: drinking from sinks while levitating This is a followup to the patch I made a couple months ago. It replaces the "!Levitation && !u.uswallow" checks with can_reach_floor(), which makes a more complete set of checks and is more consistent. I applied this to fountains too. I doubt that fountains hit the ceiling, and the checks also seem reasonable for heights in between (e.g. while mounted).
cohrs
2005-01-11 19:47:37 +00:00
d957558be4
yet another bit
nethack.allison
2005-01-10 01:13:03 +00:00
ee7064746f
AltGr-4 and alternate tiles in menus - trunk only (from <Someone>)
nethack.allison
2005-01-09 23:35:52 +00:00
64fe2e5af4
selectsaved follow-up bit (trunk only)
nethack.allison
2005-01-09 23:25:40 +00:00
055781aaf2
selectsaved follow-up bit (trunk only)
nethack.allison
2005-01-09 21:58:43 +00:00
ec5060dc56
spelling bit
nethack.allison
2004-12-21 15:57:59 +00:00
2a2323bab4
replacement meaningless_code patch I moved the "else" into the comment rather than the suggested removal of the comment.
cohrs
2004-12-21 06:27:24 +00:00