RelationCommon contains the current state of a relation toward a faction. The final relation value is the sum of the relation lost due to the war and the relation gained from trading. relation = alignment + trade;

Relations goes from -10 (bad) to +10 (good). Giants joins your side when the relation with them reach +10.

Variables

alignment:Float

[HostOnly] Relation lost due to war. Return back to 0 over time.

read onlylastZones:ReadOnlyArray<Zone>

The attacked zones which triggered the war. Used to prevent restarting the war when attacking the same zone multiple times.

trade:Float

[HostOnly] Relation gained through trading.

read onlywarUntil:Float

The end date at which the war end.