[Freeciv-Dev] Re: (PR#8647) Clarification on do_make_unit_veteran
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8647 >
On Sun, May 02, 2004 at 02:04:16AM -0700, Raimar Falke wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8647 >
>
>
> Is it intended that with gen-effects effects can give a freshly built
> unit more than the first veteran level? If yes the docu of
> do_make_unit_veteran should be adjusted. If not the return type should
> be changed to bool.
I don't know: what do you want to intend?
Right now we've got these:
"Unit_Vet_Combat" - chance of units of class .aff_unit becoming veteran
after a successful combat becomes AMOUNT percent
"Unit_Veteran" - all units of class .aff_unit produced are veteran
units
It does not appear that these were written for multiple veteran levels.
We will have effect->value1 and effect->value2 in addition to effect->amount
to make these changes...
I also notice that Sun Tzu's has:
effect =
{ "type", "range", "amount", "aff_unit"
"Unit_Veteran", "Player", 0, "Land"
"Unit_Vet_Combat", "Player", 100, "Land"
}
which if Unit_Vet_Combat upgrades a veteran level after every combat would
make this a kick ass wonder to have.
-mike
- [Freeciv-Dev] Re: (PR#8647) Clarification on do_make_unit_veteran,
Mike Kaufman <=
|
|