From 26eb3b94e9cdff9db0ee7fffb64c86bb941ddc8e Mon Sep 17 00:00:00 2001 From: Majesty <32709570+majestyotbr@users.noreply.github.com> Date: Thu, 11 Jul 2024 16:24:24 -0300 Subject: [PATCH] fix --- src/config/config_enums.hpp | 1 + src/config/configmanager.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/config/config_enums.hpp b/src/config/config_enums.hpp index 81ace16e5e1..1af5f2daa78 100644 --- a/src/config/config_enums.hpp +++ b/src/config/config_enums.hpp @@ -217,6 +217,7 @@ enum ConfigKey_t : uint16_t { RATE_MONSTER_ATTACK, RATE_MONSTER_DEFENSE, RATE_MONSTER_HEALTH, + RATE_NPC_HEALTH, RATE_OFFLINE_TRAINING_SPEED, RATE_SKILL, RATE_SOUL_REGEN_SPEED, diff --git a/src/config/configmanager.cpp b/src/config/configmanager.cpp index a705fdd649d..d9a6f3c12e2 100644 --- a/src/config/configmanager.cpp +++ b/src/config/configmanager.cpp @@ -189,6 +189,7 @@ bool ConfigManager::load() { loadFloatConfig(L, RATE_MONSTER_ATTACK, "rateMonsterAttack", 1.0); loadFloatConfig(L, RATE_MONSTER_DEFENSE, "rateMonsterDefense", 1.0); loadFloatConfig(L, RATE_MONSTER_HEALTH, "rateMonsterHealth", 1.0); + loadFloatConfig(L, RATE_NPC_HEALTH, "rateNpcHealth", 1.0); loadFloatConfig(L, RATE_OFFLINE_TRAINING_SPEED, "rateOfflineTrainingSpeed", 1.0); loadFloatConfig(L, RATE_SOUL_REGEN_SPEED, "rateSoulRegenSpeed", 1.0); loadFloatConfig(L, RATE_SOUL_REGEN, "rateSoulRegen", 1.0);