mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[7377] Dummy effects for portal spells used in DK starting area.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
fee3278e57
commit
e409b32c71
2 changed files with 18 additions and 2 deletions
|
|
@ -1106,7 +1106,23 @@ void Spell::EffectDummy(uint32 i)
|
||||||
{
|
{
|
||||||
m_caster->CastSpell(m_caster,54586,true);
|
m_caster->CastSpell(m_caster,54586,true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 58418: // Portal to Orgrimmar
|
||||||
|
{
|
||||||
|
if(!unitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
unitTarget->CastSpell(unitTarget, 58419, true);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 58420: // Portal to Stormwind
|
||||||
|
{
|
||||||
|
if(!unitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
unitTarget->CastSpell(unitTarget, 58421, true);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//All IconID Check in there
|
//All IconID Check in there
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7376"
|
#define REVISION_NR "7377"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue