poison messages (trunk only)
<Someone> reported something along the lines of "You are hit by a little dart." [ "The dart was poisoned." -- this expected message was missing ] "The poison doesn't seem to affect you." Remove the overloading of ``chance for fatal poison'' and ``thrown weapon'' (which reduces that chance, among other things) for the arguments passed to poisoned() and change how it decides whether feedback about being poisoned is needed. Also, move poisoned() and poisontell() from mon.c to attrib.c.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)potion.c 3.4 2003/10/21 */
|
||||
/* SCCS Id: @(#)potion.c 3.4 2003/11/26 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -683,10 +683,10 @@ peffects(otmp)
|
||||
int typ = rn2(A_MAX);
|
||||
|
||||
if (!Fixed_abil) {
|
||||
poisontell(typ);
|
||||
poisontell(typ, FALSE);
|
||||
(void) adjattrib(typ,
|
||||
Poison_resistance ? -1 : -rn1(4,3),
|
||||
TRUE);
|
||||
Poison_resistance ? -1 : -rn1(4,3),
|
||||
1);
|
||||
}
|
||||
if(!Poison_resistance) {
|
||||
if (otmp->fromsink)
|
||||
|
||||
Reference in New Issue
Block a user