AI incapacity to conquer fortresses
Posted: Sat Sep 26, 2020 2:51 pm
I've finnished a complete 63 tuns game of my variation of POTZBLITZ MOD. The experience has been very good
The only problem I will have to solve is the AI incapacity to conquer fortifications and key cities, with the exception of overwhelming superiority as Belgium invasion or other bonused situations. I have tried to fix this with this script in "ResolveCombat(attacker, defender)" function, in game_combat.lua file, but don't work. Any idea to make it work?
Code: Select all
if defender.hex.construction ~= nil then
attackerLosses = attackerLosses * 3
defenderLosses = defenderLosses * 3
end