This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: playable again with a few problems
On Sun, May 16, 2004 at 12:38:23PM -0600, Eric McDonald wrote:
> Jim Kingdon wrote:
>
> >>The idea is that game designer could build some "extra slack" into a
> >>unit's range in case it ran into obstacles on its return journey, or
> >>whatever.
> >
> >
> >Right. That was my rationale for the enclosed change. Although it
> >was especially with the AI in mind, it seems logical for the human
> >player as well. Before this change, I usually would turn back my
> >fighters after 8 hexes rather than 9 manually.
>
> OK. But Tom reported that they are going out to 10 before hitting a
> SupplyLow condition, which might mean that the halfway point calculation
> is wrong. I looked at it last night, because I got a snaeking suspicion
> that maybe it was using the complement of the percentage rather than the
> percentage, but the calculation looks right. I guess I will have to
> follow things in the debugger, since it would now seem that something is
> actually wrong here.
Just to clarify: The supply low occured at 10 fuel points
remaining which is the same as 8 hexes of movement. Just want to
be sure you are not chasing phantom bugs. The resupply-percent
for a fighter is 60% of 18 = 10.8, so the calculation appears
correct.
Tom