[c12588] Implement spells 50630, 70623 and 70638

This commit is contained in:
Xfurry 2013-05-31 10:41:20 +01:00 committed by Antz
parent 97dbc3c412
commit 39262d4e6a
3 changed files with 14 additions and 1 deletions

View file

@ -2390,6 +2390,14 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
caster->CastSpell(caster, 68899, false); caster->CastSpell(caster, 68899, false);
} }
return; return;
case 70623: // Jaina's Call
if (target->GetTypeId() == TYPEID_PLAYER)
target->CastSpell(target, 70525, true, NULL, this);
return;
case 70638: // Call of Sylvanas
if (target->GetTypeId() == TYPEID_PLAYER)
target->CastSpell(target, 70639, true, NULL, this);
return;
case 71342: // Big Love Rocket case 71342: // Big Love Rocket
Spell::SelectMountByAreaAndSkill(target, GetSpellProto(), 71344, 71345, 71346, 71347, 0); Spell::SelectMountByAreaAndSkill(target, GetSpellProto(), 71344, 71345, 71346, 71347, 0);
return; return;

View file

@ -7929,6 +7929,11 @@ void Spell::EffectScriptEffect(SpellEffectEntry const* effect)
m_caster->CastSpell(m_caster, 50446, true); m_caster->CastSpell(m_caster, 50446, true);
return; return;
} }
case 50630: // Eject All Passengers
{
m_caster->RemoveSpellsCausingAura(SPELL_AURA_CONTROL_VEHICLE);
return;
}
case 50725: // Vigilance - remove cooldown on Taunt case 50725: // Vigilance - remove cooldown on Taunt
{ {
Unit* caster = GetAffectiveCaster(); Unit* caster = GetAffectiveCaster();

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "12587" #define REVISION_NR "12588"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__