mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[12034] Implement a bunch of spells
* Target Limitations for: 70450 70837 71445 71471 71837 71861 * DummyEffects for: 71445 71471, 71718, 72040, 71837, 71861, 72261 * ScriptEffect for: 71806
This commit is contained in:
parent
c46fade9f0
commit
0cce85e46e
3 changed files with 59 additions and 3 deletions
|
|
@ -1602,18 +1602,19 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
|
||||||
case 47669: // Awaken Subboss
|
case 47669: // Awaken Subboss
|
||||||
case 48278: // Paralyze (Utgarde Pinnacle)
|
case 48278: // Paralyze (Utgarde Pinnacle)
|
||||||
case 50988: // Glare of the Tribunal (Halls of Stone)
|
case 50988: // Glare of the Tribunal (Halls of Stone)
|
||||||
|
case 51146: // Searching Gaze (Halls Of Stone)
|
||||||
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 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 62301: // Cosmic Smash (Ulduar, Algalon)
|
case 62301: // Cosmic Smash (Ulduar, Algalon)
|
||||||
case 62488: // Activate Construct (Ulduar, Ignis)
|
case 62488: // Activate Construct (Ulduar, Ignis)
|
||||||
case 63018: // Searing Light
|
case 63018: // Searing Light
|
||||||
case 63024: // Gravity Bomb (Ulduar, XT-002)
|
case 63024: // Gravity Bomb (Ulduar, XT-002)
|
||||||
case 63387: // Rapid Burst
|
case 63387: // Rapid Burst
|
||||||
case 63795: // Psychosis (Ulduar, Yogg-Saron)
|
case 63795: // Psychosis (Ulduar, Yogg-Saron)
|
||||||
case 62042: // Stormhammer (Ulduar, Thorim)
|
|
||||||
case 64218: // Overcharge
|
case 64218: // Overcharge
|
||||||
case 64234: // Gravity Bomb (h) (Ulduar, XT-002)
|
case 64234: // Gravity Bomb (h) (Ulduar, XT-002)
|
||||||
case 64531: // Rapid Burst (h)
|
case 64531: // Rapid Burst (h)
|
||||||
|
|
@ -1638,13 +1639,18 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
|
||||||
case 69048: // Mirrored Soul (FoS)
|
case 69048: // Mirrored Soul (FoS)
|
||||||
case 69140: // Coldflame (ICC, Marrowgar)
|
case 69140: // Coldflame (ICC, Marrowgar)
|
||||||
case 69674: // Mutated Infection (ICC, Rotface)
|
case 69674: // Mutated Infection (ICC, Rotface)
|
||||||
|
case 70450: // Blood Mirror
|
||||||
|
case 70837: // Blood Mirror
|
||||||
case 70882: // Slime Spray Summon Trigger (ICC, Rotface)
|
case 70882: // Slime Spray Summon Trigger (ICC, Rotface)
|
||||||
case 70920: // Unbound Plague Search Effect (ICC, Putricide)
|
case 70920: // Unbound Plague Search Effect (ICC, Putricide)
|
||||||
case 71224: // Mutated Infection (Mode 1)
|
case 71224: // Mutated Infection (Mode 1)
|
||||||
|
case 71445: // Twilight Bloodbolt
|
||||||
|
case 71471: // Twilight Bloodbolt
|
||||||
|
case 71837: // Vampiric Bite
|
||||||
|
case 71861: // Swarming Shadows
|
||||||
case 72091: // Frozen Orb (Vault of Archavon, Toravon)
|
case 72091: // Frozen Orb (Vault of Archavon, Toravon)
|
||||||
case 73022: // Mutated Infection (Mode 2)
|
case 73022: // Mutated Infection (Mode 2)
|
||||||
case 73023: // Mutated Infection (Mode 3)
|
case 73023: // Mutated Infection (Mode 3)
|
||||||
case 51146: // Searching Gaze (Halls Of Stone)
|
|
||||||
unMaxTargets = 1;
|
unMaxTargets = 1;
|
||||||
break;
|
break;
|
||||||
case 28542: // Life Drain
|
case 28542: // Life Drain
|
||||||
|
|
|
||||||
|
|
@ -2581,6 +2581,48 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||||
unitTarget->CastSpell(m_caster, 69956, true);
|
unitTarget->CastSpell(m_caster, 69956, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 71445: // Twilight Bloodbolt
|
||||||
|
case 71471: // Twilight Bloodbolt
|
||||||
|
{
|
||||||
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||||
|
return;
|
||||||
|
|
||||||
|
m_caster->CastSpell(unitTarget, 71818, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
case 71718: // Conjure Flame
|
||||||
|
case 72040: // Conjure Empowered Flame
|
||||||
|
{
|
||||||
|
if (!unitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
m_caster->CastSpell(unitTarget, m_spellInfo->CalculateSimpleValue(eff_idx), true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
case 71837: // Vampiric Bite
|
||||||
|
{
|
||||||
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||||
|
return;
|
||||||
|
|
||||||
|
m_caster->CastSpell(unitTarget, 71726, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
case 71861: // Swarming Shadows
|
||||||
|
{
|
||||||
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||||
|
return;
|
||||||
|
|
||||||
|
m_caster->CastSpell(unitTarget, 71264, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
case 72261: // Delirious Slash
|
||||||
|
{
|
||||||
|
if (!unitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
m_caster->CastSpell(unitTarget, m_caster->CanReachWithMeleeAttack(unitTarget) ? 71623 : 72264, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
@ -7830,6 +7872,14 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
||||||
m_caster->CastSpell(unitTarget, 72588, true);
|
m_caster->CastSpell(unitTarget, 72588, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 71806: // Glittering Sparks
|
||||||
|
{
|
||||||
|
if (!unitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
m_caster->CastSpell(unitTarget, m_spellInfo->CalculateSimpleValue(eff_idx), true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 72034: // Whiteout
|
case 72034: // Whiteout
|
||||||
case 72096: // Whiteout (heroic)
|
case 72096: // Whiteout (heroic)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12033"
|
#define REVISION_NR "12034"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue