[Freeciv-Dev] (PR#10109) Add Eiffel tower
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10109 >
> [per - Mon Sep 20 13:31:15 2004]:
>
> 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.
Reputation is increased by 2/1000 of GAME_MAX_REPUTATION per turn.
Permilles are really needed
> + 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...
But for 30 players it will be worth 29
--
mateusz
- [Freeciv-Dev] Re: (PR#10109) Add Eiffel tower, (continued)
- [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, 2004/09/20
- [Freeciv-Dev] (PR#10109) Add Eiffel tower,
Mateusz Stefek <=
- [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
|
|