aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-07-17 17:26:13 +0200
committerQAston <none@none>2009-07-17 17:26:13 +0200
commit88cd705c26a3fb98ca756b76defa083890813410 (patch)
treed45781a95e81bf8cc7bfd7b48e62971ffd41fb7a /src/game/SpellAuras.cpp
parentd6bd04ab0d813e99ab1c7d61d0d71c3da2fe0ae4 (diff)
*Remove some code for spells not present in dbc of 313.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 02ec1605c8b..cc2378dca52 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -2227,8 +2227,6 @@ void AuraEffect::TriggerSpell()
return;
// Frenzied Regeneration
case 22842:
- case 22895:
- case 22896:
case 26999:
{
int32 LifePerRage = GetAmount();
@@ -2927,34 +2925,6 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real, bool changeAmount)
}
case SPELLFAMILY_SHAMAN:
{
- if (!Real && !changeAmount)
- break;
- // Improved Weapon Totems
- if( GetSpellProto()->SpellIconID == 57 && m_target->GetTypeId()==TYPEID_PLAYER )
- {
- if(apply)
- {
- SpellModifier *mod = new SpellModifier;
- mod->op = SPELLMOD_EFFECT1;
- mod->value = m_amount;
- mod->type = SPELLMOD_PCT;
- mod->spellId = GetId();
- switch (m_effIndex)
- {
- case 0:
- mod->mask[1] = 0x002; // Windfury Totem
- break;
- case 1:
- mod->mask[1] = 0x004; // Flametongue Totem
- break;
- }
-
- m_spellmod = mod;
- }
-
- ((Player*)m_target)->AddSpellMod(m_spellmod, apply);
- return;
- }
if (!Real)
break;
// Sentry Totem