* Fix: Trainingdummies going into evade mode permanently

Patch by tbaart

--HG--
branch : trunk
This commit is contained in:
click
2010-04-11 16:13:05 +02:00
parent 7766b4fcf0
commit fcb2f44830

View File

@@ -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;