aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-18 15:04:05 -0500
committermegamage <none@none>2009-05-18 15:04:05 -0500
commite8be2f026e59acb2a1629e4300c07cfbc9d2af89 (patch)
tree7e41896618aa3bf2a7938081f89e26ed442977da /src/game/SpellAuras.cpp
parent609f7bd6b97875cf8fcbe38b8615908d896f3684 (diff)
*Add some scripted spells for naxx.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 19d4b43bb38..124fdd9543b 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -2346,6 +2346,27 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real, bool changeAmount)
if(caster)
caster->CastSpell(caster,13138,true,NULL,this);
return;
+ case 28832: // Mark of Korth'azz
+ case 28833: // Mark of Blaumeux
+ case 28834: // Mark of Rivendare
+ case 28835: // Mark of Zeliek
+ {
+ int8 stack = GetParentAura()->GetStackAmount();
+ int32 damage;
+ switch(stack)
+ {
+ case 1: return;
+ 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(caster)
+ caster->CastCustomSpell(28836, SPELLVALUE_BASE_POINT0, damage, m_target);
+ return;
+ }
case 34026: // kill command
{
Unit * pet = m_target->GetGuardianPet();