Core/Creature: Allow to disable HP regen in Raids even if the target is unreachable
Port From (https://github.com/TrinityCore/TrinityCore/commit/07863a7a6817dbb16fbd740130149bf727a6a136)
This commit is contained in:
@@ -312,6 +312,8 @@ namespace Game
|
||||
/// @todo Add MonsterSight (with meaning) in worldserver.conf or put them as define
|
||||
Values[WorldCfg.SightMonster] = GetDefaultValue("MonsterSight", 50.0f);
|
||||
|
||||
Values[WorldCfg.RegenHpCannotReachTargetInRaid] = GetDefaultValue("Creature.RegenHPCannotReachTargetInRaid", true);
|
||||
|
||||
if (reload)
|
||||
{
|
||||
int val = GetDefaultValue("GameType", 0);
|
||||
|
||||
Reference in New Issue
Block a user