Code:
namespace = orbital_bombardment
planet_event = {
id = orbital_bombardment.1
hide_window = yes
is_triggered_only = yes
immediate = {
FROM = {
any_owned_ship = {
limit = { orbit = THIS }
random_list = {
5 = {
reduce_hp_percent = 50
}
5 = {
reduce_hp_percent = 25
}
10 = {
reduce_hp_percent = 15
}
10 = {
reduce_hp_percent = 10
}
10 = {
reduce_hp_percent = 5
}
30 = {
reduce_hp_percent = 2
}
30 = {
reduce_hp_percent = 1
}
}
}
}
# Kill a pop
Code:
this is on_actions.txt
# A planet is being bombarded
# This = planet under bombardment
# From = bombarding empire
on_monthly_orbital_bombardment = {
events = {
orbital_bombardment.1
}
}
it is code for fleet attrition while plannet bombardment
i was tried change code all day but it didnt work
anyone can help this?