[12010] Implement spells 28832 28833 28834 28835 (Naxxramas Four Horsemen Marks)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
michalpolko 2011-07-16 16:48:31 +02:00 committed by Schmoozerd
parent 7af8f7fde7
commit 731a26b1f6
2 changed files with 25 additions and 1 deletions

View file

@ -2087,6 +2087,30 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
if (Unit* caster = GetCaster())
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
{
int32 damage = 0;
switch (GetStackAmount())
{
case 1:
return;
case 2: damage = 500; break;
case 3: damage = 1500; break;
case 4: damage = 4000; break;
case 5: damage = 12500; break;
default:
damage = 14000 + 1000 * GetStackAmount();
break;
}
if (Unit* caster = GetCaster())
caster->CastCustomSpell(target, 28836, &damage, NULL, NULL, true, NULL, this);
return;
}
case 31606: // Stormcrow Amulet
{
CreatureInfo const * cInfo = ObjectMgr::GetCreatureTemplate(17970);