Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] (PR#4693) rewriten veteran code
Home

[Freeciv-Dev] (PR#4693) rewriten veteran code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#4693) rewriten veteran code
From: "Rafa³ Bursig" <bursig@xxxxxxxxx>
Date: Fri, 25 Jul 2003 16:33:23 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Hi All

This is my version of 4044...
Added :
1) unlimited number of veteran levels.
2) each unit type has own veteran level settings.

I plan add expirience model ( something like RPG )

exp = ploser_unit->build_cost / 10 + (ploser_unit->veteran - 
pwiner_unit->veteran);
pwiner_unit->exp += (exp > 0 ? exp : 0);

Rafal

Attachment: veteran.diff.bz2
Description: veteran.diff.bz2


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