mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[12205] Implement some spells used in the Jan'alai encounter
This commit is contained in:
parent
69c5529477
commit
e27c72311a
2 changed files with 34 additions and 1 deletions
|
|
@ -1476,6 +1476,23 @@ void Spell::EffectDummy(SpellEffectEntry const* effect)
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 42628: // Fire Bomb (throw)
|
||||||
|
{
|
||||||
|
if (!unitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
unitTarget->CastSpell(unitTarget, 42629, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
case 42631: // Fire Bomb (explode)
|
||||||
|
{
|
||||||
|
if (!unitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
unitTarget->RemoveAurasDueToSpell(42629);
|
||||||
|
unitTarget->CastSpell(unitTarget, 42630, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 42793: // Burn Body
|
case 42793: // Burn Body
|
||||||
{
|
{
|
||||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT || m_caster->GetTypeId() != TYPEID_PLAYER)
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT || m_caster->GetTypeId() != TYPEID_PLAYER)
|
||||||
|
|
@ -1523,6 +1540,22 @@ void Spell::EffectDummy(SpellEffectEntry const* effect)
|
||||||
m_caster->CastSpell(m_caster, 43072, true);
|
m_caster->CastSpell(m_caster, 43072, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 43096: // Summon All Players
|
||||||
|
{
|
||||||
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||||
|
return;
|
||||||
|
|
||||||
|
m_caster->CastSpell(unitTarget, 43097, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
case 43144: // Hatch All Eggs
|
||||||
|
{
|
||||||
|
if (!unitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
unitTarget->CastSpell(unitTarget, 42493, true, NULL, NULL, m_caster->GetObjectGuid());
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 43209: // Place Ram Meat
|
case 43209: // Place Ram Meat
|
||||||
{
|
{
|
||||||
if (!unitTarget)
|
if (!unitTarget)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12204"
|
#define REVISION_NR "12205"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue