aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-05-03 16:55:09 +0200
committerQAston <none@none>2009-05-03 16:55:09 +0200
commitf9b13b45e09e06ce2400c5e93a97ac2459d7159c (patch)
tree023080c95306487d6acbc92f2d036e38bbe5b42c /src/game/SpellAuras.cpp
parentb5b5eeb81501e64f3fec867b527306580509a32d (diff)
*Fix grounding totem.
*Fix runic power regeneration of butchery *Fix some problems with master of subtlety buff expire. *Do not allow arcane intellect and brillance to stack. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 8970797e646..14628b2c66b 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -1257,7 +1257,7 @@ void Aura::DropAuraCharge()
if(--m_procCharges) // Send charge change
SendAuraUpdate();
else // Last charge dropped
- m_target->RemoveAura(this);
+ m_target->RemoveAura(this, AURA_REMOVE_BY_EXPIRE);
}
}
@@ -6223,6 +6223,13 @@ void AuraEffect::PeriodicTick()
// cannibalize anim
m_target->HandleEmoteCommand(EMOTE_STATE_CANNIBALIZE);
}
+ // Butchery
+ else if (m_spellProto->SpellFamilyName==SPELLFAMILY_DEATHKNIGHT
+ && m_spellProto->SpellIconID==2664)
+ {
+ if (m_target->isInCombat())
+ m_target->ModifyPower(pt,m_amount);
+ }
// Anger Management
// amount = 1+ 16 = 17 = 3,4*5 = 10,2*5/3