Core/Creature: regenerate health

Port From (https://github.com/TrinityCore/TrinityCore/commit/9a5e2b80b39d3c0a466aec1ab3a6dbccf938f570)
This commit is contained in:
hondacrx
2020-08-24 19:19:13 -04:00
parent 35c13d69ca
commit 8b6c86d568
6 changed files with 17 additions and 21 deletions
+1 -1
View File
@@ -1896,7 +1896,7 @@ namespace Game.AI
{
foreach (var target in targets)
if (IsCreature(target))
target.ToCreature().SetRegeneratingHealth(e.Action.setHealthRegen.regenHealth != 0 ? true : false);
target.ToCreature().SetRegenerateHealth(e.Action.setHealthRegen.regenHealth != 0 ? true : false);
break;
}
case SmartActions.SetRoot: