Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.
CheckPowerRatio
From AGEWiki
CheckPowerRatio | |||
Syntax CheckPowerRatio = <Kind>|<Range>|<Ratio>|<Operator>|<FixedPercNoPerm>|<FixedPercPerm> Description This command tests the power ratio of owned and friendly units against hostile units, within a certain range around the region in selection against an operator and a value. If the test fails, the conditions are not ok and the event doesn't trigger. Allied units are considered with a 50% coefficient. Fixed units are considered according to FixedPercNoPerm (if not permanently fixed) or FixedPercPerm (otherwise, and optional, will take the FixedPercNoPerm value if not specified) coefficients. Example CheckPowerRatio = LAND|4|300|>=|50|25 Check if we (and our allies) reach a 3 to 1 ratio in land units, within 4 regions from the region in selection. Fixed units are worth either 50% or 25% of their normal power value (both sides).
|
Parameters
The kind of units tested.
Search range in regions
The ratio, in percentage to test against
One of <, <=, =, >=, >
Coeff for non permanently fixed units
Coeff for permanently fixed units
|