Skip to content

Commit

Permalink
[c12750] Update spells 62374 and 62907
Browse files Browse the repository at this point in the history
* limit spell targets of spell 62374
* implement spell effect for spell 62907

(based on commit [12549] - 302b73a)
  • Loading branch information
xfurry authored and Dramacydal committed Oct 8, 2013
1 parent 1802298 commit b77bba1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/game/Spell.cpp
Expand Up @@ -7954,6 +7954,7 @@ void Spell::GetSpellRangeAndRadius(SpellEffectEntry const* spellEffect, float& r
case 62042: // Stormhammer (Ulduar, Thorim)
case 62166: // Stone Grip (Ulduar, Kologarn)
case 62301: // Cosmic Smash (Ulduar, Algalon)
case 62374: // Pursued (Ulduar, Flame Leviathan)
case 62488: // Activate Construct (Ulduar, Ignis)
case 63018: // Searing Light (Ulduar, XT-002)
case 63024: // Gravity Bomb (Ulduar, XT-002)
Expand Down
9 changes: 9 additions & 0 deletions src/game/SpellEffects.cpp
Expand Up @@ -2715,6 +2715,15 @@ void Spell::EffectDummy(SpellEffectEntry const* effect)
unitTarget->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
return;
}
case 62907: // Freya's Ward
{
if (!unitTarget)
return;

for (uint8 i = 0; i < 5; ++i)
m_caster->CastSpell(unitTarget, m_spellInfo->CalculateSimpleValue(eff_idx), true);
return;
}
case 63820: // Summon Scrap Bot Trigger (Ulduar - Mimiron) for Scrap Bots
case 64425: // Summon Scrap Bot Trigger (Ulduar - Mimiron) for Assault Bots
case 64620: // Summon Fire Bot Trigger (Ulduar - Mimiron) for Fire Bots
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12749"
#define REVISION_NR "12750"
#endif // __REVISION_NR_H__

0 comments on commit b77bba1

Please sign in to comment.