Core/Battlegrounds: disable health regen for battleground vehicles
Port From (https://github.com/TrinityCore/TrinityCore/commit/53f79acda916220faf53ed3e4d12872740c80df3)
This commit is contained in:
@@ -1471,6 +1471,9 @@ namespace Game.BattleGrounds
|
||||
if (respawntime != 0)
|
||||
creature.SetRespawnDelay(respawntime);
|
||||
|
||||
if (creature.IsVehicle())
|
||||
creature.SetRegeneratingHealth(false);
|
||||
|
||||
return creature;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user