now we need one of those temporary failures so we can see if recovery works,

and that's a crapshoot: mcastu.c mhitu.c
This commit is contained in:
keni
2011-12-30 23:14:58 +00:00
parent 6520bbdca9
commit 178f66dbe4
2 changed files with 5 additions and 5 deletions

View File

@@ -622,7 +622,7 @@ int spellnum;
(num_eyes == 1) ?
body_part(EYE) : makeplural(body_part(EYE)));
make_blinded(Half_spell_damage ? 100L : 200L, FALSE);
if (!Blind) Your(vision_clears);
if (!Blind) Your1(vision_clears);
dmg = 0;
} else
impossible("no reason for monster to cast blindness spell?");

View File

@@ -1063,7 +1063,7 @@ hitmu(mtmp, mattk)
if (can_blnd(mtmp, &youmonst, mattk->aatyp, (struct obj*)0)) {
if (!Blind) pline("%s blinds you!", Monnam(mtmp));
make_blinded(Blinded+(long)dmg,FALSE);
if (!Blind) Your(vision_clears);
if (!Blind) Your1(vision_clears);
}
dmg = 0;
break;
@@ -1784,7 +1784,7 @@ gulpmu(mtmp, mattk) /* monster swallows you, or damage if u.uswallow */
long was_blinded = Blinded;
if (!Blinded) You_cant("see in here!");
make_blinded((long)tmp,FALSE);
if (!was_blinded && !Blind) Your(vision_clears);
if (!was_blinded && !Blind) Your1(vision_clears);
} else
/* keep him blind until disgorged */
make_blinded(Blinded+1,FALSE);
@@ -1912,7 +1912,7 @@ common:
if (mon_visible(mtmp) || (rnd(tmp /= 2) > u.ulevel)) {
You("are blinded by a blast of light!");
make_blinded((long)tmp, FALSE);
if (!Blind) Your(vision_clears);
if (!Blind) Your1(vision_clears);
} else if (flags.verbose)
You("get the impression it was not terribly bright.");
}
@@ -2078,7 +2078,7 @@ gazemu(mtmp, mattk) /* monster gazes at you */
/* not blind at this point implies you're wearing
the Eyes of the Overworld; make them block this
particular stun attack too */
if (!Blind) Your(vision_clears);
if (!Blind) Your1(vision_clears);
else make_stunned((long)d(1,3),TRUE);
}
}