Adjust statue traps to be biased toward more difficult monsters.
This commit is contained in:
committed by
PatR
parent
5daec07300
commit
2dd0af630e
@@ -391,7 +391,7 @@ mk_trap_statue(coordxy x, coordxy y)
|
||||
int trycount = 10;
|
||||
|
||||
do { /* avoid ultimately hostile co-aligned unicorn */
|
||||
mptr = &mons[rndmonnum()];
|
||||
mptr = &mons[rndmonnum_adj(5, 10)];
|
||||
} while (--trycount > 0 && is_unicorn(mptr)
|
||||
&& sgn(u.ualign.type) == sgn(mptr->maligntyp));
|
||||
statue = mkcorpstat(STATUE, (struct monst *) 0, mptr, x, y,
|
||||
|
||||
Reference in New Issue
Block a user