diff options
author | 2000-09-10 10:51:16 +0000 | |
---|---|---|
committer | 2000-09-10 10:51:16 +0000 | |
commit | c8f75ed90de51b0cc71da2c6c9d5fc42192076f8 (patch) | |
tree | 8e9ce8ed243c180a5187bb3e1009d8205761df0a /battlestar/com7.c | |
parent | 29a87ab833bc1b9214ec69d8c84421d5529038b7 (diff) | |
download | bsdgames-darwin-c8f75ed90de51b0cc71da2c6c9d5fc42192076f8.tar.gz bsdgames-darwin-c8f75ed90de51b0cc71da2c6c9d5fc42192076f8.tar.zst bsdgames-darwin-c8f75ed90de51b0cc71da2c6c9d5fc42192076f8.zip |
Wording, punctuation and line length improvements. Also adjust test
for killing nonsensical things to fix crash with "kill door". From
OpenBSD.
Diffstat (limited to 'battlestar/com7.c')
-rw-r--r-- | battlestar/com7.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/battlestar/com7.c b/battlestar/com7.c index 31b4c57e..043de03c 100644 --- a/battlestar/com7.c +++ b/battlestar/com7.c @@ -1,4 +1,4 @@ -/* $NetBSD: com7.c,v 1.7 2000/07/23 23:57:23 mycroft Exp $ */ +/* $NetBSD: com7.c,v 1.8 2000/09/10 10:51:17 jsm Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)com7.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: com7.c,v 1.7 2000/07/23 23:57:23 mycroft Exp $"); +__RCSID("$NetBSD: com7.c,v 1.8 2000/09/10 10:51:17 jsm Exp $"); #endif #endif /* not lint */ @@ -244,7 +244,7 @@ fighton: break; default: - puts("You don't have a chance, he is too quick."); + puts("You don't have a chance; he is too quick."); break; } @@ -258,7 +258,7 @@ fighton: return (0); } puts("He attacks..."); - /* some embellisments */ + /* Some embellishments. */ hurt = rnd(NUMOFINJURIES) - (testbit(inven, SHIELD) != 0) - (testbit(wear, MAIL) != 0) - (testbit(wear, HELM) != 0); hurt += (testbit(wear, AMULET) != 0) + (testbit(wear, MEDALION) != 0) + (testbit(wear, TALISMAN) != 0); hurt = hurt < 0 ? 0 : hurt; |