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

limit_variable_to_max

limit_variable_to_maxin_game/common/scripted_effects/global_effects.txt:89

Do not use it with timed variables though

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

90if = {
91limit = {
91var:$name$ > $value$
}
92set_variable = {
92name = $name$
92value = $value$
}
}