mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 10:37:01 +00:00
[10889] Add dummy aura effect of spell 42517
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
a17ccd4b97
commit
781841baf1
2 changed files with 13 additions and 1 deletions
|
|
@ -2270,6 +2270,18 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
||||||
target->CastSpell(target, 42517, true);
|
target->CastSpell(target, 42517, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 42517: // Beam to Zelfrax
|
||||||
|
{
|
||||||
|
// expecting target to be a dummy creature
|
||||||
|
Creature* pSummon = target->SummonCreature(23864, 0.0f, 0.0f, 0.0f, target->GetOrientation(), TEMPSUMMON_DEAD_DESPAWN, 0);
|
||||||
|
|
||||||
|
Unit* pCaster = GetCaster();
|
||||||
|
|
||||||
|
if (pSummon && pCaster)
|
||||||
|
pSummon->GetMotionMaster()->MovePoint(0, pCaster->GetPositionX(), pCaster->GetPositionY(), pCaster->GetPositionZ());
|
||||||
|
|
||||||
|
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 "10888"
|
#define REVISION_NR "10889"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue