Skip to content

Commit

Permalink
Bone devils summon skeletons
Browse files Browse the repository at this point in the history
Skeletons are extremely rare, and not generated at random,
and bone devils are basically just a speed bump when they appear.
Make both more interesting.

Idea by copperwater <aosdict@gmail.com>
  • Loading branch information
paxed committed Oct 2, 2023
1 parent 50b213b commit f0698e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/fixes3-7-0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1251,6 +1251,7 @@ use #monster to make dragon steed breathe
wand of probing reveals tin contents
steam vortices and fog clouds leave steam clouds behind
fog clouds maintain any clouds they are in, even poisonous ones
bone devils summon skeletons


Fixes to 3.7.0-x General Problems Exposed Via git Repository
Expand Down
3 changes: 3 additions & 0 deletions src/minion.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ msummon(struct monst *mon)
: ndemon(atyp);
cnt = ((dtype != NON_PM)
&& !rn2(4) && is_ndemon(&mons[dtype])) ? 2 : 1;
} else if (ptr == &mons[PM_BONE_DEVIL]) {
dtype = PM_SKELETON;
cnt = 1;
} else if (is_ndemon(ptr)) {
dtype = (!rn2(20)) ? dlord(atyp) : (!rn2(6)) ? ndemon(atyp)
: monsndx(ptr);
Expand Down

0 comments on commit f0698e1

Please sign in to comment.