On ActionChanged this version
on_great_battle_won
root = actor, scope:actor = winning "unit", scope:target = losing "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 winner gains from that battle
BulgariaCountryeffect
SerbiaCountryeffect
TimuridCountryeffect
OttomansCountryeffect
Rise of TimurSituationeffectholy_league_crusadeVariableeffectloyal_strategos_variableVariableeffectDefinitionin_game/common/on_action/_hardcoded.txt:2609
2613effect = {
2614if = {
2615limit = {
}
}
2621if = {
2622limit = {
2623exists = scope:actor.leader
}
2626random_list = {
26271 = {
}
}
}
2636if = {
2637limit = {
2638exists = scope:actor.leader
2639scope:actor.owner ?= {
2640has_reform = government_reform:theme_system
}
2642scope:actor.leader.mil >= 65
}
2645scope:actor.leader = {
2646add_to_variable_list = {
2647name = strategos_major_victories
2648target = scope:actor.unit_location
}
}
}
2653if = {
2654limit = {
2658scope:actor.owner ?= {
}
}
}
2669scope:actor = {
}
2674scope:target = {
}
2679scope:actor = {
}
2684if = {
2686scope:actor = {
}
2691if = {
2694type = battle
2695variable = scope:actor.owner.var:land_units_killed
}
}
2698if = {
2701type = battle
2702variable = scope:target.owner.var:land_units_killed
}
}
}
2706if = {
2707limit = {
}
2714scope:actor = {
2715unit_location = {
2715save_scope_as = target_location
}
2716owner = {
}
}
}
2722if = {
2723limit = {
}
2729scope:actor = {
2730unit_location = {
2730save_scope_as = target_location
}
2731owner = {
2732set_local_variable = bul_won_against_ottomans
}
}
}
}