diff options
| author | Machiavelli <none@none> | 2009-06-10 08:44:10 +0200 |
|---|---|---|
| committer | Machiavelli <none@none> | 2009-06-10 08:44:10 +0200 |
| commit | f137dc02ecadb515928655dd6603f33187731fec (patch) | |
| tree | 4c8891a31ae7fe4d034fb2c0e03c596a5eed746d /src/bindings/scripts | |
| parent | d065bbf410429371bbd4b3f60cfac02fec28a473 (diff) | |
* 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
Diffstat (limited to 'src/bindings/scripts')
| -rw-r--r-- | src/bindings/scripts/scripts/zone/aunchindoun/shadow_labyrinth/boss_murmur.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bindings/scripts/scripts/zone/aunchindoun/shadow_labyrinth/boss_murmur.cpp b/src/bindings/scripts/scripts/zone/aunchindoun/shadow_labyrinth/boss_murmur.cpp index 599767b591f..66b99a98f9e 100644 --- a/src/bindings/scripts/scripts/zone/aunchindoun/shadow_labyrinth/boss_murmur.cpp +++ b/src/bindings/scripts/scripts/zone/aunchindoun/shadow_labyrinth/boss_murmur.cpp @@ -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() |
