mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[6942] Provided mount data for new spell taxi path.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
2c1c58a44c
commit
e3576ebff5
2 changed files with 9 additions and 6 deletions
|
|
@ -5944,17 +5944,20 @@ void Spell::EffectSendTaxi(uint32 i)
|
||||||
uint32 mountid = 0;
|
uint32 mountid = 0;
|
||||||
switch(m_spellInfo->Id)
|
switch(m_spellInfo->Id)
|
||||||
{
|
{
|
||||||
case 31606: //Stormcrow Amulet
|
case 31606: //Stormcrow Amulet
|
||||||
mountid = 17447;
|
mountid = 17447;
|
||||||
break;
|
break;
|
||||||
case 45071: //Quest - Sunwell Daily - Dead Scar Bombing Run
|
case 45071: //Quest - Sunwell Daily - Dead Scar Bombing Run
|
||||||
case 45113: //Quest - Sunwell Daily - Ship Bombing Run
|
case 45113: //Quest - Sunwell Daily - Ship Bombing Run
|
||||||
case 45353: //Quest - Sunwell Daily - Ship Bombing Run Return
|
case 45353: //Quest - Sunwell Daily - Ship Bombing Run Return
|
||||||
mountid = 22840;
|
mountid = 22840;
|
||||||
break;
|
break;
|
||||||
case 34905: //Stealth Flight
|
case 34905: //Stealth Flight
|
||||||
mountid = 6851;
|
mountid = 6851;
|
||||||
break;
|
break;
|
||||||
|
case 53335: //Stormwind Harbor Flight - Peaceful
|
||||||
|
mountid = 6852;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
((Player*)unitTarget)->ActivateTaxiPathTo(nodes,mountid);
|
((Player*)unitTarget)->ActivateTaxiPathTo(nodes,mountid);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "6941"
|
#define REVISION_NR "6942"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue