Скриптовый эффект

compare_and_get_highest_variable_from_4

compare_and_get_highest_variable_from_4in_game/common/scripted_effects/global_effects.txt:125
Требуетcomperator_varПеременнаяif 5, if 6, if 7value_1_comperatorПеременнаяif 1value_2_comperatorПеременнаяif 2, if 5value_3_comperatorПеременнаяif 3, if 6value_4_comperatorПеременнаяif 4, if 7

Определениеin_game/common/scripted_effects/global_effects.txt:125

126remove_variable = comperator_var
131set_variable = {
131value = $value_1$
}
132set_variable = {
132value = $value_2$
}
133set_variable = {
133value = $value_3$
}
134set_variable = {
134value = $value_4$
}
135if = {
136limit = {
}
137change_variable = {
137multiply = -1
}
}
139if = {
140limit = {
}
141change_variable = {
141multiply = -1
}
}
143if = {
144limit = {
}
145change_variable = {
145multiply = -1
}
}
147if = {
148limit = {
}
149change_variable = {
149multiply = -1
}
}
151set_variable = {
}
153if = {
}