mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[9882] Add support for mounts dependent from riding skill and location
This commit is contained in:
parent
faf3e287c7
commit
41c58f3be9
5 changed files with 91 additions and 1 deletions
|
|
@ -2290,6 +2290,9 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
|||
// not use ammo and not allow use
|
||||
((Player*)m_target)->RemoveAmmo();
|
||||
return;
|
||||
case 48025: // Headless Horseman's Mount
|
||||
Spell::SelectMountByAreaAndSkill(m_target, 51621, 48024, 51617, 48023, NULL);
|
||||
return;
|
||||
case 62061: // Festive Holiday Mount
|
||||
if (m_target->HasAuraType(SPELL_AURA_MOUNTED))
|
||||
// Reindeer Transformation
|
||||
|
|
@ -2305,6 +2308,15 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
|||
if (m_target->GetTypeId() == TYPEID_PLAYER)
|
||||
((Player*)m_target)->removeSpell(63680);
|
||||
return;
|
||||
case 72286: // Invincible
|
||||
Spell::SelectMountByAreaAndSkill(m_target, 72281, 72282, 72283, 72284, NULL);
|
||||
return;
|
||||
case 74856: // Blazing Hippogryph
|
||||
Spell::SelectMountByAreaAndSkill(m_target, NULL, NULL, 74854, 74855, NULL);
|
||||
return;
|
||||
case 75614: // Celestial Steed
|
||||
Spell::SelectMountByAreaAndSkill(m_target, 75619, 75620, 75617, 75618, 76153);
|
||||
return;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue