So here is the spy action to launch an airstrike on a province
And the modifierCode:air_strike = { cost = 50 difficulty = 3 prestige = 0 badboy = 0 ai_will_do = { factor = 1 modifier = { factor = 0 NOT = { units_in_province = 5 } } modifier = { factor = 2 treasury = 500 } modifier = { { units_in_province = 20 } } } trigger = { NOT = { has_province_modifier = "troop_desertions" } any_tech = 75 # or whatever technology at 1914 } effect = { add_province_modifier = { name = "air_strike" duration = 10 } } }
Code:air_strike = { attrition = 15 icon = X #don't know the icons from the top of my head }











Reply With Quote














