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);