diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 029b552a6..e7150921e 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -1252,6 +1252,7 @@ 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 +adjust wand of make invisible and potion of invisibility effects Fixes to 3.7.0-x General Problems Exposed Via git Repository diff --git a/src/potion.c b/src/potion.c index 40df5d931..2bef884fc 100644 --- a/src/potion.c +++ b/src/potion.c @@ -806,10 +806,10 @@ peffect_invisibility(struct obj *otmp) } else { self_invis_message(); } - if (otmp->blessed) + if (otmp->blessed && !rn2(HInvis ? 15 : 30)) HInvis |= FROMOUTSIDE; else - incr_itimeout(&HInvis, rn1(15, 31)); + incr_itimeout(&HInvis, d(6 - 3 * bcsign(otmp), 100) + 100); newsym(u.ux, u.uy); /* update position */ if (otmp->cursed) { pline("For some reason, you feel your presence is known."); diff --git a/src/zap.c b/src/zap.c index 68b6662ec..b7f124bf3 100644 --- a/src/zap.c +++ b/src/zap.c @@ -2707,11 +2707,7 @@ zapyourself(struct obj *obj, boolean ordinary) You_feel("rather itchy under %s.", yname(uarmc)); break; } - if (ordinary || !rn2(10)) { /* permanent */ - HInvis |= FROMOUTSIDE; - } else { /* temporary */ - incr_itimeout(&HInvis, d(obj->spe, 250)); - } + incr_itimeout(&HInvis, rn1(15, 31)); if (msg) { learn_it = TRUE; newsym(u.ux, u.uy);