[freeciv-ai] Re: [Freeciv-Dev] Re: (PR#4089) Bug in pf
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients:; |
Subject: |
[freeciv-ai] Re: [Freeciv-Dev] Re: (PR#4089) Bug in pf |
From: |
"Per I. Mathisen" <per@xxxxxxxxxxx> |
Date: |
Wed, 30 Apr 2003 07:19:14 -0700 |
Reply-to: |
rt@xxxxxxxxxxxxxx |
On Wed, 30 Apr 2003, Gregory Berkolaiko wrote:
> I don't see anything wrong. Yes, the want is a bit high, but it's no
> fault of PF, the distances are all correct.
...
> The want is high because incite want is high.
I'll look at pf again, but the incite comment is dead on. Will you commit
this?
- Per
Index: ai/aidiplomat.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/ai/aidiplomat.c,v
retrieving revision 1.17
diff -u -r1.17 aidiplomat.c
--- ai/aidiplomat.c 18 Apr 2003 17:51:14 -0000 1.17
+++ ai/aidiplomat.c 30 Apr 2003 14:17:53 -0000
@@ -178,7 +180,7 @@
+ acity->tax_total
+ acity->science_total) * TRADE_WEIGHTING;
gain_incite *= SHIELD_WEIGHTING; /* WAG cost to take city otherwise */
- gain_incite -= incite_cost;
+ gain_incite -= incite_cost * TRADE_WEIGHTING;
}
if (city_owner(acity)->research.techs_researched <
pplayer->research.techs_researched
|
|