[11290] Add dummy aura effect of spell 62109

Also add a smaller hack to have access to m_caster later (see code comments)

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-03-26 10:53:20 +01:00
parent 40d87bfabf
commit 23af82081b
3 changed files with 11 additions and 2 deletions

View file

@ -2043,6 +2043,10 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
// Reindeer Transformation
target->CastSpell(target, 25860, true, NULL, this);
return;
case 62109: // Tails Up: Aura
target->setFaction(1990); // Ambient (hostile)
target->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
return;
case 63624: // Learn a Second Talent Specialization
// Teach Learn Talent Specialization Switches, required for client triggered casts, allow after 30 sec delay
if (target->GetTypeId() == TYPEID_PLAYER)