[11103] Fixed item 40775 mount work

* Move code to dummy aura (main spell mount aura not applied yet in time scripting effect processing)
* Use special mount spell selection helper instead raw code.
This commit is contained in:
VladimirMangos 2011-02-02 20:25:57 +03:00
parent 44cb8b6dd4
commit f09a4e2a1a
3 changed files with 4 additions and 19 deletions

View file

@ -2035,6 +2035,9 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
// Pet will be following owner, this makes him stop
target->addUnitState(UNIT_STAT_STUNNED);
return;
case 54729: // Winged Steed of the Ebon Blade
Spell::SelectMountByAreaAndSkill(target, GetSpellProto(), 0, 0, 54726, 54727, 0);
return;
case 62061: // Festive Holiday Mount
if (target->HasAuraType(SPELL_AURA_MOUNTED))
// Reindeer Transformation