* 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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user