Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] Re: Another freeciv testing
Home

[Freeciv-Dev] Re: Another freeciv testing

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Another freeciv testing
From: Tony Stuckey <stuckey@xxxxxxxxxxxxxxxxx>
Date: Mon, 11 Mar 2002 10:46:59 -0600

On Mon, Mar 11, 2002 at 04:40:33PM +0100, Reinier Post wrote:
> Defending diplomats work like a stack (because they're in a city, this is
> the right thing to do), the attacking diplomat faces each in turn, and
> has to beat all in order to stand the (normal) a priori chance to
> succeed in his mission.  In practice this means that you can't make
> a city safe by adding defending diplomats of diplchance is high.
> 
> If I remember correctly.

        That only applies to some missions, (Establish Embassy makes no
sense to fail) but yes, diplchance is checked when inciting a revolt.
http://www.freeciv.org/lxr/source/server/diplomats.c#L540

city_incite_cost() can be found here.
http://www.freeciv.org/lxr/source/server/cityturn.c#L1582

        The equation we use boils down to
((defender_treasury+1000)*city_size)/distance_from_capital
        This is similar in at least the vaguest form to the Civ2 equation,
which definitely included the defender's treasury size and the distance
from the capital as elements.
-- 
Anthony J. Stuckey                              stuckey@xxxxxxxxxxxxxxxxx
"And they said work hard, and die suddenly, because it's fun."
        -Robyn Hitchcock.


[Prev in Thread] Current Thread [Next in Thread]