Iron footwear and traps balance fixes
Any sort of iron footwear now protects from traps, and polymorph traps change one sort of iron footwear into a different sort of iron footwear (removing any incentive to try to farm them, because you will see both options very quickly).
This commit is contained in:
@@ -2131,8 +2131,10 @@ find_misc(struct monst *mtmp)
|
||||
if ((t = t_at(xx, yy)) != 0
|
||||
&& (ignore_boulders || !sobj_at(BOULDER, xx, yy))
|
||||
&& !onscary(xx, yy, mtmp)) {
|
||||
/* use trap if it's the correct type */
|
||||
if (t->ttyp == POLY_TRAP) {
|
||||
/* use trap if it's the correct type and will
|
||||
polymorph the monster */
|
||||
if (t->ttyp == POLY_TRAP &&
|
||||
!wearing_iron_shoes(mtmp)) {
|
||||
gt.trapx = xx;
|
||||
gt.trapy = yy;
|
||||
gm.m.has_misc = MUSE_POLY_TRAP;
|
||||
|
||||
Reference in New Issue
Block a user