Skip to content

Commit

Permalink
Make rope golem have some death drops
Browse files Browse the repository at this point in the history
  • Loading branch information
paxed committed Feb 26, 2022
1 parent d0f349c commit 9e666b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/fixes3-7-0.txt
Expand Up @@ -824,6 +824,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
tried to extinguish it as a light source
place_object() validated coordinates after using them to index level.objects
killed rope golem may drop leashes and bullwhips


Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
Expand Down
7 changes: 7 additions & 0 deletions src/mon.c
Expand Up @@ -607,6 +607,13 @@ make_corpse(struct monst *mtmp, unsigned int corpseflags)
}
free_mgivenname(mtmp);
break;
case PM_ROPE_GOLEM:
num = rn2(3);
while (num-- > 0) {
obj = mksobj_at(rn2(2) ? LEASH : BULLWHIP, x, y, TRUE, FALSE);
}
free_mgivenname(mtmp);
break;
case PM_LEATHER_GOLEM:
num = d(2, 4);
while (num--)
Expand Down

0 comments on commit 9e666b7

Please sign in to comment.