Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site Navajo.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!decwrl!Glacier!Navajo!mann
From: mann@Navajo.ARPA
Newsgroups: net.games.hack
Subject: Re: Winning stragey for Hack *SPOILER*
Message-ID: <130@Navajo.ARPA>
Date: Sat, 9-Mar-85 12:54:29 EST
Article-I.D.: Navajo.130
Posted: Sat Mar  9 12:54:29 1985
Date-Received: Tue, 12-Mar-85 10:19:05 EST
References: <156@sesame.UUCP> <1168@ukma.UUCP> <2819@dartvax.UUCP>
Organization: Stanford University
Lines: 22

> wish for : +6 plate mail ...

After looking at the code, I think the fact that you can wish for +6
plate mail (actually, even +7) is a bug.  Everything other than armor is
limited to +3, or +2 if your "luck" rating is bad.

The code in question reads as follows:

	if(spe > 3 && spe > otmp->spe)
		spe = 0;
	else if(let == WAND_SYM)
		spe = otmp->spe;

I'm assuming that the test "spe > otmp->spe" is intended mostly for wands,
so that you aren't penalized for asking for a wand with N charges if it was
going to give you M >= N charges anyway.  Unfortunately, the "spe" field for
armor has the armor class bonus (10 - armor class, which is 7 for plate
mail) already added in, so a wish for +7 armor sneaks through this code.

Would the author of hack be willing to comment on this?

	--Tim