From 93b9467c083a0f481ec4c238c0f56cdf5ac8d8b8 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Wed, 4 Oct 2023 19:48:21 +0300 Subject: [PATCH] Balrogs prefer bullwhip is hero is wielding something --- doc/fixes3-7-0.txt | 1 + src/weapon.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 033dab527..79a4ad3b6 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -1254,6 +1254,7 @@ fog clouds maintain any clouds they are in, even poisonous ones bone devils summon skeletons adjust wand of make invisible and potion of invisibility effects barbed devils have an attack that sticks you to them +balrogs prefer bullwhip if hero is wielding a weapon Fixes to 3.7.0-x General Problems Exposed Via git Repository diff --git a/src/weapon.c b/src/weapon.c index fceb750ff..f613c4a14 100644 --- a/src/weapon.c +++ b/src/weapon.c @@ -663,6 +663,8 @@ select_hwep(struct monst *mtmp) if (is_giant(mtmp->data)) /* giants just love to use clubs */ Oselect(CLUB); + else if (mtmp->data == &mons[PM_BALROG] && uwep) + Oselect(BULLWHIP); /* only strong monsters can wield big (esp. long) weapons */ /* big weapon is basically the same as bimanual */