AIIonCannonTempleValue
The ion cannon rating a computer house gives an enemy IsTemple structure.
- Applies to
- global rules
- File
rules.ini- Section
[General]- Value
- list of integers
- When omitted
(empty)
The rating applies only while the structure’s strength is at or below IonCannonDamage. A structure above that figure keeps the starting structure rating of 3. The computer strikes one of the candidates that share the highest rating, so this value matters only against the other ratings; the computer’s use lists them.
The structure tests run in a fixed order, and the first match decides the rating. An IsTemple=yes structure is rated here only if it matches none of the earlier tests:
Factory=BuildingTypeFactory=UnitType- a positive
Power= IsBaseDefense=yesIsPlug=yes
The list holds one rating for each difficulty slot, in slot order 0, 1, 2. The firing house’s slot selects the entry. Give all three entries in a rules file or the map. If neither sets the key, the game crashes the first time the computer rates a temple at or below IonCannonDamage. A list with fewer than three entries gives an unpredictable rating in the slots it does not cover.
IonCannonDamage, superweapons