Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] Re: (PR#2911) [PATCH] chance to win in civclient]
Home

[Freeciv-Dev] Re: (PR#2911) [PATCH] chance to win in civclient]

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2911) [PATCH] chance to win in civclient]
From: Andreas Røsdal <andrearo@xxxxxxxxxxxx>
Date: Sun, 26 Jan 2003 21:08:17 +0100



[vasc@xxxxxxxxxxxxxx - Sun Jan 26 18:21:15 2003]:
---------- Forwarded message ---------- Date: Sun, 26 Jan 2003 11:39:31 +0100 From: Andreas Røsdal <andrearo@xxxxxxxxxxxx> To: freeciv-dev@xxxxxxxxxxx Subject: [Freeciv-Dev] [PATCH] chance to win in civclient Hello, I've made a patch that makes the planning of attacks quicker and makes defending units from enemies easier. I think that calculating your chance to win against an enemy unit takes too much time to do manually. Therefore this patch calculates the probability to win if your active unit attacks the selected enemy unit, and the probability to win if your active unit is defending against the selected enemy unit.

I've made some changes. Here is the patch. This shall be commited ASAP.
Your changes were good, I wonder why I didn't think of it.   :)

The same patch can also be applied to the GTK-1.0 client, so they behave the same.

Andreas Røsdal



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#2911) [PATCH] chance to win in civclient], Andreas Røsdal <=