mirror of
https://github.com/mangosfour/server.git
synced 2025-12-30 19:37:04 +00:00
[11102] Provide for mount helper function parent spell data.
This let skip for triggered spell redundent (like cast time) info.
This commit is contained in:
parent
cd3d815df6
commit
44cb8b6dd4
4 changed files with 21 additions and 15 deletions
|
|
@ -2028,7 +2028,7 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
|||
// allow script to process further (text)
|
||||
break;
|
||||
case 48025: // Headless Horseman's Mount
|
||||
Spell::SelectMountByAreaAndSkill(target, 51621, 48024, 51617, 48023, 0);
|
||||
Spell::SelectMountByAreaAndSkill(target, GetSpellProto(), 51621, 48024, 51617, 48023, 0);
|
||||
return;
|
||||
case 51405: // Digging for Treasure
|
||||
target->HandleEmote(EMOTE_STATE_WORK);
|
||||
|
|
@ -2051,22 +2051,22 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
|||
((Player*)target)->removeSpell(63680);
|
||||
return;
|
||||
case 71342: // Big Love Rocket
|
||||
Spell::SelectMountByAreaAndSkill(target, 71344, 71345, 71346, 71347, 0);
|
||||
Spell::SelectMountByAreaAndSkill(target, GetSpellProto(), 71344, 71345, 71346, 71347, 0);
|
||||
return;
|
||||
case 71563: // Deadly Precision
|
||||
target->CastSpell(target, 71564, true, NULL, this);
|
||||
return;
|
||||
case 72286: // Invincible
|
||||
Spell::SelectMountByAreaAndSkill(target, 72281, 72282, 72283, 72284, 0);
|
||||
Spell::SelectMountByAreaAndSkill(target, GetSpellProto(), 72281, 72282, 72283, 72284, 0);
|
||||
return;
|
||||
case 74856: // Blazing Hippogryph
|
||||
Spell::SelectMountByAreaAndSkill(target, 0, 0, 74854, 74855, 0);
|
||||
Spell::SelectMountByAreaAndSkill(target, GetSpellProto(), 0, 0, 74854, 74855, 0);
|
||||
return;
|
||||
case 75614: // Celestial Steed
|
||||
Spell::SelectMountByAreaAndSkill(target, 75619, 75620, 75617, 75618, 76153);
|
||||
Spell::SelectMountByAreaAndSkill(target, GetSpellProto(), 75619, 75620, 75617, 75618, 76153);
|
||||
return;
|
||||
case 75973: // X-53 Touring Rocket
|
||||
Spell::SelectMountByAreaAndSkill(target, 0, 0, 75957, 75972, 76154);
|
||||
Spell::SelectMountByAreaAndSkill(target, GetSpellProto(), 0, 0, 75957, 75972, 76154);
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue