Core/Battlegrounds: disable health regen for battleground vehicles

Port From (https://github.com/TrinityCore/TrinityCore/commit/53f79acda916220faf53ed3e4d12872740c80df3)
This commit is contained in:
hondacrx
2020-05-06 15:16:45 -04:00
parent ffe569ffb7
commit 96294d3af5
@@ -1471,6 +1471,9 @@ namespace Game.BattleGrounds
if (respawntime != 0)
creature.SetRespawnDelay(respawntime);
if (creature.IsVehicle())
creature.SetRegeneratingHealth(false);
return creature;
}