Rope golems may death drop grappling hooks

This commit is contained in:
Pasi Kallinen
2026-01-15 18:44:46 +02:00
parent 5d7b7b823a
commit a4e032762f
2 changed files with 4 additions and 2 deletions

View File

@@ -837,7 +837,7 @@ if a lit potion of oil on the floor was launched by an explosion and it hit
it could trigger an "obj_is_local" panic when end of game cleanup it could trigger an "obj_is_local" panic when end of game cleanup
tried to extinguish it as a light source tried to extinguish it as a light source
place_object() validated coordinates after using them to index level.objects place_object() validated coordinates after using them to index level.objects
killed rope golem may drop leashes and bullwhips killed rope golem may drop leashes, bullwhips, and grappling hooks
using magic portals stuns hero for a few turns using magic portals stuns hero for a few turns
using level teleporters confuses hero without teleport control for a few turns using level teleporters confuses hero without teleport control for a few turns
clear obj->bypass for buried objects [a giant on ice triggers a fire trap, clear obj->bypass for buried objects [a giant on ice triggers a fire trap,

View File

@@ -667,7 +667,9 @@ make_corpse(struct monst *mtmp, unsigned int corpseflags)
case PM_ROPE_GOLEM: case PM_ROPE_GOLEM:
num = rn2(3); num = rn2(3);
while (num-- > 0) { while (num-- > 0) {
obj = mksobj_at(rn2(2) ? LEASH : BULLWHIP, x, y, TRUE, FALSE); obj = mksobj_at(rn2(2) ? LEASH
: rn2(3) ? BULLWHIP : GRAPPLING_HOOK,
x, y, TRUE, FALSE);
} }
free_mgivenname(mtmp); free_mgivenname(mtmp);
break; break;