]> granicus.if.org Git - nethack/commitdiff
marilith thrusts
authornethack.allison <nethack.allison>
Sat, 5 Jun 2004 13:38:15 +0000 (13:38 +0000)
committernethack.allison <nethack.allison>
Sat, 5 Jun 2004 13:38:15 +0000 (13:38 +0000)
<Someone> reported:
>> The marilith wields 5 daggers!
>> The marilith thrusts her dagger.  The marilith misses.
> Shouldn't she thrust her daggerS?

Change to:
"The marilith thrusts one of her daggers." in that case.

doc/fixes34.4
src/mhitu.c

index 50968148745cf3fc804ffac6a9a47cc9ece3b1fd..2a54dc5fee6d124d42b2da267da32fe27196f672 100644 (file)
@@ -30,6 +30,8 @@ Sting could trigger premature display of orcs during savegame restore
 Sting now glows light blue again
 prevent "offering" or other words with similar ending from matching ring quote
 make cleric cast lightning blind as other lightning does
+change the wording slightly to use "one of " when a monster wielding 
+       multiple daggers thrusts them
 
 
 Platform- and/or Interface-Specific Fixes
index 1d2f43eafcc43603d616bbcb0de09984e0949a6c..7c50a98c9267f556fd6289ef376fd7065443702c 100644 (file)
@@ -102,9 +102,10 @@ register struct obj *otemp;
 {
        if (!flags.verbose || Blind || !mon_visible(mtmp))
                return;
-       pline("%s %s %s %s.", Monnam(mtmp),
+       pline("%s %s %s%s %s.", Monnam(mtmp),
              (objects[otemp->otyp].oc_dir & PIERCE) ? "thrusts" : "swings",
-             mhis(mtmp), singular(otemp, xname));
+             (otemp->quan > 1) ? "one of " : "",
+             mhis(mtmp), xname(otemp));
 }
 
 /* return how a poison attack was delivered */