mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[c12624] Implement spell 57578
This commit is contained in:
parent
7e9d6dc954
commit
a498dcaebd
4 changed files with 15 additions and 1 deletions
|
|
@ -7904,6 +7904,7 @@ void Spell::GetSpellRangeAndRadius(SpellEffectEntry const* spellEffect, float& r
|
||||||
case 54148: // Ritual of the Sword (Utgarde Pinnacle, Svala)
|
case 54148: // Ritual of the Sword (Utgarde Pinnacle, Svala)
|
||||||
case 55479: // Forced Obedience (Naxxramas, Razovius)
|
case 55479: // Forced Obedience (Naxxramas, Razovius)
|
||||||
case 56140: // Summon Power Spark (Eye of Eternity, Malygos)
|
case 56140: // Summon Power Spark (Eye of Eternity, Malygos)
|
||||||
|
case 57578: // Lava Strike (Obsidian Sanctum, Sartharion)
|
||||||
case 59870: // Glare of the Tribunal (h) (Halls of Stone)
|
case 59870: // Glare of the Tribunal (h) (Halls of Stone)
|
||||||
case 62016: // Charge Orb (Ulduar, Thorim)
|
case 62016: // Charge Orb (Ulduar, Thorim)
|
||||||
case 62042: // Stormhammer (Ulduar, Thorim)
|
case 62042: // Stormhammer (Ulduar, Thorim)
|
||||||
|
|
|
||||||
|
|
@ -2643,6 +2643,14 @@ void Spell::EffectDummy(SpellEffectEntry const* effect)
|
||||||
unitTarget->CastSpell(unitTarget, 56432, true, NULL, NULL, m_caster->GetObjectGuid());
|
unitTarget->CastSpell(unitTarget, 56432, true, NULL, NULL, m_caster->GetObjectGuid());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 57578: // Lava Strike
|
||||||
|
{
|
||||||
|
if (!unitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
m_caster->CastSpell(unitTarget, effect->CalculateSimpleValue(), true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 57908: // Stain Cloth
|
case 57908: // Stain Cloth
|
||||||
{
|
{
|
||||||
// nothing do more
|
// nothing do more
|
||||||
|
|
|
||||||
|
|
@ -2170,6 +2170,11 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
|
||||||
(spellInfo_2->Id == 57494 && spellInfo_1->Id == 57492))
|
(spellInfo_2->Id == 57494 && spellInfo_1->Id == 57492))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// Cyclone Aura 2 and Cyclone Aura
|
||||||
|
if ((spellInfo_1->Id == 57598 && spellInfo_2->Id == 57560) ||
|
||||||
|
(spellInfo_2->Id == 57598 && spellInfo_1->Id == 57560))
|
||||||
|
return false;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SPELLFAMILY_MAGE:
|
case SPELLFAMILY_MAGE:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12623"
|
#define REVISION_NR "12624"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue