Hallucination vs gaze attacks (trunk only)

Suggested by <Someone> in March, 2005 based on newsgroup discussion
at the time:  hallucination protects against touch of death attack by
disrupting how the hero's brain reacts, so why not against gaze attacks
too?  This gives hallucinating hero 75% chance of being unaffected by
gazes.  If unaffected or if the gazer has been cancelled, the gaze will
fail with some feedback.  Previously, all cancelled gazes failed but only
Medusa's gave feedback.

     This will give players another way to defeat Medusa, but since it
isn't foolproof and there are several sure fire ways already, I don't
think it'll hurt play balance there.  It may be useful to avoid getting
repeatedly stunned by Archons though.
This commit is contained in:
nethack.rankin
2007-05-29 02:00:25 +00:00
parent 2d06a1d617
commit 0ba059f749
5 changed files with 124 additions and 61 deletions

View File

@@ -751,7 +751,8 @@ struct obj *obj;
pline("Yow! The %s stares back!", mirror);
else
pline("Yikes! You've frozen yourself!");
nomul(-rnd((MAXULEV+6) - u.ulevel));
if (!Hallucination || !rn2(4))
nomul(-rnd(MAXULEV + 6 - u.ulevel));
nomovemsg = 0; /* default, "you can move again" */
}
} else if (youmonst.data->mlet == S_VAMPIRE)