[11950] Implement spell 27819, thanks to stfx for research

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
michalpolko 2012-04-12 16:26:38 +02:00 committed by Schmoozerd
parent e79b80727d
commit 1c5f99f4b8
2 changed files with 10 additions and 3 deletions

View file

@ -1254,8 +1254,15 @@ void Aura::TriggerSpell()
triggerTarget->CastCustomSpell(triggerTarget, 29879, &bpDamage, NULL, NULL, true, NULL, this, casterGUID);
return;
}
// // Detonate Mana
// case 27819: break;
// Detonate Mana
case 27819:
{
// 33% Mana Burn on normal mode, 50% on heroic mode
int32 bpDamage = (int32)triggerTarget->GetPower(POWER_MANA) / (triggerTarget->GetMap()->GetDifficulty() ? 2 : 3);
triggerTarget->ModifyPower(POWER_MANA, -bpDamage);
triggerTarget->CastCustomSpell(triggerTarget, 27820, &bpDamage, NULL, NULL, true, NULL, this, triggerTarget->GetObjectGuid());
return;
}
// // Controller Timer
// case 28095: break;
// Stalagg Chain and Feugen Chain

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11949"
#define REVISION_NR "11950"
#endif // __REVISION_NR_H__