On Action
on_great_battle_lost
root = actor, scope:actor = losing "unit", scope:target = winning "unit" Supports the following float scopes: scope:killed_land_units -> how many soldiers killed during land battle scope:killed_navy_units -> how many ships destroyed during navy battle scope:lost_land_units -> how many soldiers lost during land battle scope:lost_navy_units -> how many ships lost during navy battle scope:war_score -> how much war score the loser loses from that battle
BulgariaCountryeffect
OttomansCountryeffectloyal_strategos_variableVariableeffectDefinitionin_game/common/on_action/_hardcoded.txt:2747
2748effect = {
2749if = {
2750limit = {
2751exists = scope:actor.leader
}
2754random_list = {
27551 = {
}
}
}
2763if = {
2764limit = {
}
2772scope:actor = {
2773unit_location = {
2773save_scope_as = target_location
}
2774owner = {
2775set_local_variable = bul_lost_against_ottomans
}
}
}
}