Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@copperwater
Copy link
Contributor

This ultimately derives from Nephi's Grudge Patch back in the 3.4.3 era,
plus some updates from SpliceHack and xNetHack. Its primary purpose is
to make the dungeon a richer, more interesting place by providing more
opportunities for natural monster-to-monster interactions. All of the
code necessary to support monster battling was already in place; this
merely adds more monster pairs to mm_aggression.

Monsters that will fight each other are:

  • Quest guardians and hostile non-guardians
  • Angels and demons
  • Elves and orcs
  • Hobbits and Nazguls

Monsters with a one-sided grudge (where the defending monster may
counterattack, but won't use its own turns to retaliate aggressively)
are:

  • Baby purple worms against shriekers (purple worms already had this)
  • Ravens against floating eyes
  • Spiders against insects (x and a)
  • Bats against flying insects
  • Cats against rats
  • Woodchucks against the Oracle

Pets will never attack other pets, even if they would normally be
hostile to each other.

This ultimately derives from Nephi's Grudge Patch back in the 3.4.3 era,
plus some updates from SpliceHack and xNetHack. Its primary purpose is
to make the dungeon a richer, more interesting place by providing more
opportunities for natural monster-to-monster interactions. All of the
code necessary to support monster battling was already in place; this
merely adds more monster pairs to mm_aggression.

Monsters that will fight each other are:
- Quest guardians and hostile non-guardians
- Angels and demons
- Elves and orcs
- Hobbits and Nazguls

Monsters with a one-sided grudge (where the defending monster may
counterattack, but won't use its own turns to retaliate aggressively)
are:
- Baby purple worms against shriekers (purple worms already had this)
- Ravens against floating eyes
- Spiders against insects (x and a)
- Bats against flying insects
- Cats against rats
- Woodchucks against the Oracle

Pets will never attack other pets, even if they would normally be
hostile to each other.
@NullCGT
Copy link
Contributor

NullCGT commented Jan 15, 2020

If spiders grudge against the 'x' class, then they would attack xans, which have an high enough AC and speed that they would generally never be killed by a spider. This seems like a potential issue.

@copperwater
Copy link
Contributor Author

Yeah, since x is only grid bug and xan and you won't generally see grid bugs and spiders around at the same time, that grudge might be ineffective in practice. Same deal with the bat one; the only actual flying insect is the killer bee.

Under previous rules, a pet would respect its level checks and not
attack a monster it grudged, whereas the monster had no such restriction
and would attack the pet with impunity, until either the hero got it
away or the pet died.

Make it so that if a pet grudges a monster, it will not balk at it being
too high of a level.

Also fix a case in which a pet at less than 25% health would not attack
a monster it grudges, which has the same problem that the grudged
monster will continue to attack it freely.
@nhcopier nhcopier deleted the branch NetHack:NetHack-3.7 January 27, 2022 16:20
@nhcopier nhcopier closed this Jan 27, 2022
@nhmall nhmall reopened this Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.