k21971 / EvilHack

A variant of NetHack that is designed to be a much more challenging experience than the original, drawing inspiration and content from various existing variants along with adding unique and never-before-seen custom content.
Other
53 stars 22 forks source link

Vengeful posses sometimes spawn after a royal is killed. #85

Closed krmaxson closed 1 year ago

krmaxson commented 2 years ago

When a gnome king, an elven queen, and so forth is slain there is a chance for a timed event that spawns a posse to take revenge on the player. The player receives a message if the posse is scheduled, then another message when the posse is generated just out of their sight. Posses consist of a race-appropriate huntsman, one or more hunting beasts carrying leashes, some type of arcane or clerical support, and several foot-soldiers. Currently active for gnome, dwarf, and elven royals; goblin and orc captains; and Asmodeus.

krmaxson commented 2 years ago

Pinkbeast upbraided me (correctly) for assumptions about short and long integer byte sizes on all potential platforms so I removed the posse's reliance on the level of the slain royal and instead base posse difficulty off of the deepest level that the player has explored. This avoids any possible (well, academically possible) save-breaking by modifying the any union. I don't have any further pending work on this pull barring additional feedback. Thanks for your patience!