* Better fix for issue that players are unable to loot creatures when the HP of the creature is changed via a script. Do not use rev before this.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-06-10 08:44:10 +02:00
parent d065bbf410
commit f137dc02ec
4 changed files with 12 additions and 6 deletions
@@ -62,6 +62,7 @@ struct TRINITY_DLL_DECL boss_murmurAI : public Scripted_NoMovementAI
//database should have `RegenHealth`=0 to prevent regen
uint32 hp = (m_creature->GetMaxHealth()*40)/100;
if (hp) m_creature->SetHealth(hp);
m_creature->ResetDamageByPlayers();
}
void SonicBoomEffect()