mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[11950] Implement spell 27819, thanks to stfx for research
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
e79b80727d
commit
1c5f99f4b8
2 changed files with 10 additions and 3 deletions
|
|
@ -1254,8 +1254,15 @@ void Aura::TriggerSpell()
|
||||||
triggerTarget->CastCustomSpell(triggerTarget, 29879, &bpDamage, NULL, NULL, true, NULL, this, casterGUID);
|
triggerTarget->CastCustomSpell(triggerTarget, 29879, &bpDamage, NULL, NULL, true, NULL, this, casterGUID);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// // Detonate Mana
|
// Detonate Mana
|
||||||
// case 27819: break;
|
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
|
// // Controller Timer
|
||||||
// case 28095: break;
|
// case 28095: break;
|
||||||
// Stalagg Chain and Feugen Chain
|
// Stalagg Chain and Feugen Chain
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11949"
|
#define REVISION_NR "11950"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue