Compétence d'unité

Promouvoir au statut de Farari

promote_to_farariin_game/common/unit_abilities/promote_to_farari.txt:1

Les troupes mandekalu ont fait preuve de bravoure et de détermination sur le champ de bataille. Il est temps de les reconnaître pour leurs loyaux services et de les promouvoir au sein du corps d'élite de notre État !

RequiertCorps de farariAvancéehiddenCavaliers mandekaluType d’unitéhidden, start effectInfanterie mandekaluType d’unitéhidden, start effectmandekalu_expVariableallow, start effect

2toggle = no
3army_only = yes
4map = yes
6hidden = {
7OR = {
8owner = {
9NOT = {
9has_advance = farari_corps_advance
}
}
11NOT = {
11any_sub_unit = {
11OR = {
}
}
}
}
}
15allow = {
16in_combat = no
17is_moving = no
18is_exiled = no
19custom_tooltip = {
20text = promote_to_farari_tt Nous avons 150 Expérience totale mandekalu
21owner = {
22trigger_if = {
23limit = {
23has_variable = mandekalu_exp Expérience totale mandekalu
}
}
26trigger_else = {
27has_variable = mandekalu_exp Expérience totale mandekalu
}
}
}
31unit_location = {
32owner ?= root.owner
33controller ?= root.owner
}
}
36start_effect = {
37custom_tooltip = {
38text = promote_to_farari_ct Infanterie mandekalu et Cavaliers mandekalu deviennent respectivement Infanterie farari et Cavalerie farari
39if = {
40limit = {
41owner = {
42has_variable = mandekalu_exp Expérience totale mandekalu
}
}
46while = {
47limit = {
48owner = {
}
}
52random_sub_unit = {
53limit = {
54OR = {
}
}
59owner = {
60change_variable = {
61name = mandekalu_exp Expérience totale mandekalu
62subtract = 150
}
}
65if = {
66limit = {
}
67change_subunit_type = unit_type:a_farari_cavalry
}
69else = {
70change_subunit_type = unit_type:a_farari_infantry
}
}
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. Tous droits réservés. Projet de fan non officiel, non affilié à Paradox Interactive. Contenu du jeu © Paradox Interactive. À propos · Confidentialité · Mentions légales