[10846] Add dummy aura of spell 43874 (indirectly related to spell/effect 50133)

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-12-09 11:39:25 +01:00
parent 4aa0ab7c40
commit e1b243f375
3 changed files with 10 additions and 1 deletions

View file

@ -2018,6 +2018,10 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
case 43873: // Headless Horseman Laugh
target->PlayDistanceSound(11965);
return;
case 43874: // Scourge Mur'gul Camp: Force Shield Arcane Purple x3
target->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
target->addUnitState(UNIT_STAT_ROOT);
return;
case 46699: // Requires No Ammo
if (target->GetTypeId() == TYPEID_PLAYER)
// not use ammo and not allow use
@ -2249,6 +2253,9 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
target->CastSpell(target, 36731, true, NULL, this);
return;
}
case 43874: // Scourge Mur'gul Camp: Force Shield Arcane Purple x3
target->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
return;
case 44191: // Flame Strike
{
if (target->GetMap()->IsDungeon())

View file

@ -1477,12 +1477,14 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
return;
// Scourge Mur'gul Camp: Force Shield Arcane Purple x3
if (unitTarget->HasAura(43874))
{
// someone else is already channeling target
if (unitTarget->HasAura(43878))
return;
// Scourging Crystal Controller
m_caster->CastSpell(unitTarget, 43878, true, m_CastItem);
}

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10845"
#define REVISION_NR "10846"
#endif // __REVISION_NR_H__