for upgrades there's the StatusBitsUpgrade, WeaponSetUpgade, and ArmorSetUpgrade modules.
They all worked fine for additional upgrades and powers I assigned to heroes and units.
But now there's one thing left imperfect. I buffed much the Fortress building, with the upgrades costing much more but improving the Fortress much MUCH more, but the AI simply doesn't want to buy the upgrades!
I've added the upgrade modules to the respective upgrades for the fortresses, but to no avail.
The only way to somehow trigger the AI to consider upgrading its fortress is to attack the fortress up till the threshold when the fortress HP reaches the state of REALLY_DAMAGED, but then it's still a consider. Somehow the AI simply doesn't want to buy the upgrades.
I've searched the skirmishdata.ini and scripts in ai_defence.map and those stuffs, but all to no avail.
Can anyone give some advice?
