fix B02004 and other projectile related killer reasons
1) killer reason for scattered land mine shrapnel used "a" or "an" prefix even when multiple projectiles hit as a group -- one of various things From a bug report.oextra field) -- noticed while investigating #1 and later From a bug report.4.0 due to an unintentional side-effect of missile killer reason handling in 3.4.1 (removal of redundant "poisoned" prefix by m_throw() confused the poison handling routine) -- noticed while investigating #3.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)trap.c 3.4 2003/04/30 */
|
||||
/* SCCS Id: @(#)trap.c 3.4 2003/05/09 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -615,7 +615,7 @@ unsigned trflags;
|
||||
#endif
|
||||
if (thitu(7, dmgval(otmp, &youmonst), otmp, "little dart")) {
|
||||
if (otmp->opoisoned)
|
||||
poisoned("dart",A_CON,"poison dart",10);
|
||||
poisoned("dart", A_CON, "little dart", -10);
|
||||
obfree(otmp, (struct obj *)0);
|
||||
} else {
|
||||
place_object(otmp, u.ux, u.uy);
|
||||
|
||||
Reference in New Issue
Block a user