*Fix a typo causing freeze in RemoveSpellbyDamageTaken
--HG-- branch : trunk
This commit is contained in:
+4
-2
@@ -519,8 +519,8 @@ void Unit::RemoveSpellbyDamageTaken(uint32 damage, uint32 spell)
|
|||||||
{
|
{
|
||||||
uint32 removedAuras = m_removedAuras.size();
|
uint32 removedAuras = m_removedAuras.size();
|
||||||
RemoveAura(aur);
|
RemoveAura(aur);
|
||||||
if (removedAuras+1<m_ccAuras.size())
|
if (removedAuras+1<m_removedAuras.size())
|
||||||
iter=m_interruptableAuras.begin();
|
iter=m_ccAuras.begin();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5613,6 +5613,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
|||||||
// Leader of the Pack
|
// Leader of the Pack
|
||||||
case 24932:
|
case 24932:
|
||||||
{
|
{
|
||||||
|
if (triggerAmount <= 0)
|
||||||
|
return false;
|
||||||
basepoints0 = triggerAmount * GetMaxHealth() / 100;
|
basepoints0 = triggerAmount * GetMaxHealth() / 100;
|
||||||
target = this;
|
target = this;
|
||||||
triggered_spell_id = 34299;
|
triggered_spell_id = 34299;
|
||||||
|
|||||||
Reference in New Issue
Block a user