Bone devils summon skeletons

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>
This commit is contained in:
Pasi Kallinen
2023-10-02 20:25:55 +03:00
parent 50b213bdc5
commit f0698e1dca
2 changed files with 4 additions and 0 deletions

View File

@@ -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);