aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index c4047a56226..115419245d0 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -1274,38 +1274,6 @@ SpellMissInfo Spell::DoSpellHitOnUnit(Unit *unit, const uint32 effectMask)
if(m_spellInfo->SpellFamilyFlags[1] & 0x000020)
m_caster->CastSpell(unit, 41637, true, NULL, NULL, m_originalCasterGUID);
}
- else
- {
- // spell is triggered with only stackamount change but no amount change
- switch(m_spellInfo->Id)
- {
- case 28832: // Mark of Korth'azz
- case 28833: // Mark of Blaumeux
- case 28834: // Mark of Rivendare
- case 28835: // Mark of Zeliek
- {
- Aura *aur = unit->GetAura(m_spellInfo->Id);
- if(!aur) break;
- //int8 stack = GetParentAura()->GetStackAmount();
- int8 stack = aur->GetStackAmount();
- ++stack;
- int32 damage;
- switch(stack)
- {
- case 1: damage = 0; break;
- case 2: damage = 500; break;
- case 3: damage = 1000; break;
- case 4: damage = 1500; break;
- case 5: damage = 4000; break;
- case 6: damage = 12000; break;
- default:damage = 20000 + 1000 * (stack - 7); break;
- }
- if(damage)
- m_caster->CastCustomSpell(28836, SPELLVALUE_BASE_POINT0, damage, unit);
- break;
- }
- }
- }
}
// Set aura only when successfully applied
if (unit->AddAura(Aur, false))