Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.

Tribal Revolts

From AGEWiki

Revision as of 11:45, 29 September 2010 by Lodilefty (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A revolt is defined as follow

Underway  : boolean; // there is a revolt underway
InitStrength  : integer; // initial strength when a new revolt appears
RegenAmount  : integer; // amount of Hits of units added to the hits pool per regen trigger
cuHitPool  : integer; // current hits remaining in the pool
MaxRegenHits  : integer; // Max hits that the revolt receive with RegenAmount AND is the hits received by a 2nd revolt
cuRegenHits  : integer; // current nb of hits the revolt has received with RegenAmount - is reset each time a prim/sec revolt happens
dlPool  : TDoubleList; // list of unitdef/nb in the force pool
dlRegions  : TDoubleList; // list of regions UID / revolt chance modifier

So a primary revolt will use InitStrength to create units, while a secondary one will use MaxRegenHits. Both reset the RegenAmount also.

A note of interest, is that the revolt is qualified as being a tribal revolt, but it could be attached to any nation theoretically, although for now you need to have some colonial penetration to trigger it, and the owner of the region must not be tribal

Forums