mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[10887] Add dummy aura effect of spell 42515
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
38118d17d7
commit
f13fb6e52c
2 changed files with 18 additions and 1 deletions
|
|
@ -2015,6 +2015,14 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
||||||
if (roll_chance_i(20)) // backfire stun
|
if (roll_chance_i(20)) // backfire stun
|
||||||
target->CastSpell(target, 51581, true, NULL, this);
|
target->CastSpell(target, 51581, true, NULL, this);
|
||||||
return;
|
return;
|
||||||
|
case 42515: // Jarl Beam
|
||||||
|
{
|
||||||
|
// aura animate dead (fainted) state for the duration, but we need to animate the death itself (correct way below?)
|
||||||
|
if (Unit* pCaster = GetCaster())
|
||||||
|
pCaster->SetFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_FEIGN_DEATH);
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 43873: // Headless Horseman Laugh
|
case 43873: // Headless Horseman Laugh
|
||||||
target->PlayDistanceSound(11965);
|
target->PlayDistanceSound(11965);
|
||||||
return;
|
return;
|
||||||
|
|
@ -2253,6 +2261,15 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
||||||
target->CastSpell(target, 36731, true, NULL, this);
|
target->CastSpell(target, 36731, true, NULL, this);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 42515: // Jarl Beam
|
||||||
|
{
|
||||||
|
if (Unit* pCaster = GetCaster())
|
||||||
|
pCaster->RemoveFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_FEIGN_DEATH);
|
||||||
|
|
||||||
|
// Beam to Zelfrax
|
||||||
|
target->CastSpell(target, 42517, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 43874: // Scourge Mur'gul Camp: Force Shield Arcane Purple x3
|
case 43874: // Scourge Mur'gul Camp: Force Shield Arcane Purple x3
|
||||||
target->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
|
target->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10886"
|
#define REVISION_NR "10887"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue