[c12598] Implement spells 19869 and 20037

This commit is contained in:
Xfurry 2013-05-31 11:07:19 +01:00 committed by Antz
parent 18ceb2392c
commit 4f86b168c0
3 changed files with 22 additions and 1 deletions

View file

@ -1061,6 +1061,22 @@ void Spell::EffectDummy(SpellEffectEntry const* effect)
return;
}
case 19869: // Dragon Orb
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER || unitTarget->HasAura(23958))
return;
unitTarget->CastSpell(unitTarget, 19832, true);
return;
}
case 20037: // Explode Orb Effect
{
if (!unitTarget)
return;
unitTarget->CastSpell(unitTarget, 20038, true);
return;
}
case 20577: // Cannibalize
{
if (unitTarget)

View file

@ -2133,6 +2133,11 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
(spellInfo_2->Id == 53037 && spellInfo_1->Id == 53035))
return false;
// Possess visual and Possess
if ((spellInfo_1->Id == 23014 && spellInfo_2->Id == 19832) ||
(spellInfo_2->Id == 23014 && spellInfo_1->Id == 19832))
return false;
break;
}
case SPELLFAMILY_MAGE:

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12597"
#define REVISION_NR "12598"
#endif // __REVISION_NR_H__