yet_another: !mimic_disguised_as_mon(mtmp)
would be true for a non-mimic (mimic_disguised_as_non_mon(mtmp) would also have worked okay)
This commit is contained in:
@@ -192,7 +192,7 @@ bhitm(struct monst *mtmp, struct obj *otmp)
|
||||
reveal_invis = TRUE;
|
||||
learn_it = cansee(gb.bhitpos.x, gb.bhitpos.y);
|
||||
if (resists_magm(mtmp)) { /* match effect on player */
|
||||
if (!mimic_disguised_as_mon(mtmp))
|
||||
if (disguised_mimic && !mimic_disguised_as_mon(mtmp))
|
||||
seemimic(mtmp);
|
||||
shieldeff(mtmp->mx, mtmp->my);
|
||||
pline("Boing!");
|
||||
|
||||
Reference in New Issue
Block a user