mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
* Fix: Trainingdummies going into evade mode permanently
Patch by tbaart --HG-- branch : trunk
This commit is contained in:
@@ -1905,6 +1905,14 @@ struct npc_training_dummy : Scripted_NoMovementAI
|
||||
DespawnTimer = 15000;
|
||||
}
|
||||
|
||||
void EnterEvadeMode()
|
||||
{
|
||||
if (!_EnterEvadeMode())
|
||||
return;
|
||||
|
||||
Reset();
|
||||
}
|
||||
|
||||
void DamageTaken(Unit *done_by, uint32 &damage)
|
||||
{
|
||||
ResetTimer = 10000;
|
||||
|
||||
Reference in New Issue
Block a user