From: <gi...@cr...> - 2025-07-15 23:05:14
|
at 4c6382bb59ae868e552bafe7c0311b430072fc5c (commit) ----------------------------------------------------------------------- commit 4c6382bb59ae868e552bafe7c0311b430072fc5c Author: hellmonk <nld...@gm...> Date: Tue Jul 15 17:51:17 2025 -0500 Dismiss monsters that are lured too far. Experimental change. Store the origin level of each monster in its structure, and track how far away from the origin we are on transit to a new floor. If the monster is 3 or more floors away after transit, it goes away forever, yielding no items or exp. This only applies to hostile monsters in connected branches, and is turned off for the orbrun. This is a thing that shouldn't be noticeable for most players. It prevents the sort of degenerate exploits that happened with eg. silent spectres, without having to either tag every monster with an exploitable mechanic to not use stairs or to avoid using those mechanics altogether. So now making an earlygame digging monster, or monsters with double-edged auras or other symmetrical mechanics should be possible. I left in a bunch of testing messages for easier debugging. Those should be removed and an actual message should be added before merge. ----------------------------------------------------------------------- -- Dungeon Crawl Stone Soup |