Changing xml attributes by python

Paolo80

Chieftain
Joined
Dec 20, 2019
Messages
85
Hi guys,

I would want to create a new technology called "napalm". This technology increase iAirCombatLimit for the air units. e.g. it increases bomber iAirCombatLimit from 50 to 60. I searched in CIV4PromotionInfos.xml the attribute to change iAirCombatLimit but I didn't found. Is there a python function to set iAirCombatLimit when a player acquires a tech? In general is it possible change xml attributes by python?
 
Top Bottom