Scripts/SM: Fix dead anymation of Fairbanks

Patch by DennisRassmann (25/10/2010)
Closes #4998
This commit is contained in:
Nay
2012-04-07 22:29:19 +01:00
parent cadf311ac6
commit 945566e84e
2 changed files with 8 additions and 2 deletions
@@ -66,9 +66,15 @@ public:
Sleep_Timer = 30000;
Dispel_Timer = 20000;
PowerWordShield = false;
me->SetStandState(UNIT_STAND_STATE_DEAD);
me->SetUInt32Value(UNIT_FIELD_BYTES_1, 7);
}
void EnterCombat(Unit* /*who*/) {}
void EnterCombat(Unit* /*who*/)
{
me->SetStandState(UNIT_STAND_STATE_STAND);
me->SetUInt32Value(UNIT_FIELD_BYTES_1, 0);
}
void UpdateAI(const uint32 diff)
{