[Freeciv-Dev] Re: (PR#10109) Add Eiffel tower
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] Re: (PR#10109) Add Eiffel tower |
From: |
"Per I. Mathisen" <per@xxxxxxxxxxx> |
Date: |
Mon, 20 Sep 2004 06:31:16 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10109 >
On Sun, 19 Sep 2004, Mateusz Stefek wrote:
> Here's my proposition
> I added support for amount into aicity and changed the amounts to be
> permilles of MAX_AI_LOVE/GAME_MAX_REPUTATION
I think percentages is better. Then the effects should have _PCT added to
their names.
+ case EFT_GAIN_AI_LOVE:
+ players_iterate(aplayer) {
+ if (aplayer->ai.control) {
+ if (ai_handicap(pplayer, H_DEFENSIVE)) {
+ v += amount / 10;
+ } else {
+ v += amount / 20;
+ }
+ }
+ } players_iterate_end;
This will be v+=2 for easy and v+=1 for hard... less than
capitalization...
- Per
- [Freeciv-Dev] Re: (PR#10109) Add Eiffel tower, Per I. Mathisen, 2004/09/14
- [Freeciv-Dev] Re: (PR#10109) Add Eiffel tower, Per I. Mathisen, 2004/09/14
- [Freeciv-Dev] Re: (PR#10109) Add Eiffel tower, Per I. Mathisen, 2004/09/14
- [Freeciv-Dev] Re: (PR#10109) Add Eiffel tower, Jason Short, 2004/09/14
- [Freeciv-Dev] (PR#10109) Add Eiffel tower, Gregory Berkolaiko, 2004/09/15
- [Freeciv-Dev] (PR#10109) Add Eiffel tower, Jason Short, 2004/09/17
- [Freeciv-Dev] Re: (PR#10109) Add Eiffel tower, Jason Short, 2004/09/17
- [Freeciv-Dev] Re: (PR#10109) Add Eiffel tower, Mateusz Stefek, 2004/09/17
- [Freeciv-Dev] (PR#10109) Add Eiffel tower, Mateusz Stefek, 2004/09/19
- [Freeciv-Dev] Re: (PR#10109) Add Eiffel tower, Mike Kaufman, 2004/09/19
- [Freeciv-Dev] Re: (PR#10109) Add Eiffel tower,
Per I. Mathisen <=
- [Freeciv-Dev] (PR#10109) Add Eiffel tower, Mateusz Stefek, 2004/09/20
- [Freeciv-Dev] Re: (PR#10109) Add Eiffel tower, Mike Kaufman, 2004/09/20
- [Freeciv-Dev] (PR#10109) Add Eiffel tower, Mateusz Stefek, 2004/09/20
- [Freeciv-Dev] Re: (PR#10109) Add Eiffel tower, Mike Kaufman, 2004/09/20
- [Freeciv-Dev] Re: (PR#10109) Add Eiffel tower, Jason Short, 2004/09/20
- [Freeciv-Dev] (PR#10109) Add Eiffel tower, Jason Short, 2004/09/21
|
|