aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellMgr.cpp
diff options
context:
space:
mode:
authorTrista <aconstantgoal@abv.bg>2013-02-28 18:44:07 +0200
committerTrista <aconstantgoal@abv.bg>2013-02-28 18:44:07 +0200
commit6801314881598f0b1cce7a2e614ca7f314c1e129 (patch)
treeb29123948d88fd79cbca5c16a4015d4342819a30 /src/server/game/Spells/SpellMgr.cpp
parent523e732c03b0cbd49aa367f435c75891167e7823 (diff)
Scripts/Eye of Eternity: Rewrite most of it.
Closes: #1133, #8212, #1150, #5003, #6794 * More stuff will be done, a lot to clean maybe, as of raiding it's good to go now pretty much*. * Big thx to Shauren, Horn, manuel, Machiavelli, Nay, Krofna and rest who helped.
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
-rw-r--r--src/server/game/Spells/SpellMgr.cpp31
1 files changed, 24 insertions, 7 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index 1795c46b342..059e552d95e 100644
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -3609,6 +3609,30 @@ void SpellMgr::LoadDbcDataCorrections()
break;
// ENDOF RUBY SANCTUM SPELLS
//
+ // EYE OF ETERNITY SPELLS
+ // All spells below work even without these changes. The LOS attribute is due to problem
+ // from collision between maps & gos with active destroyed state.
+ case 57473: // Arcane Storm bonus explicit visual spell
+ case 57430: // Summon Static Field
+ case 56091: // Flame Spike (Wyrmrest Skytalon)
+ case 56092: // Engulf in Flames (Wyrmrest Skytalon)
+ case 57090: // Revivify (Wyrmrest Skytalon)
+ case 57143: // Life Burst (Wyrmrest Skytalon)
+ spellInfo->AttributesEx2 |= SPELL_ATTR2_CAN_TARGET_NOT_IN_LOS;
+ break;
+ // ENDOF EYE OF ETERNITY SPELLS
+ //
+ // OCULUS SPELLS
+ // The spells below are here because their effect 1 is giving warning due to
+ // triggered spell not found in any dbc and is missing from encounter source* of data.
+ // Even judged as clientside these spells can't be guessed for* now.
+ case 49462: // Call Ruby Drake
+ case 49461: // Call Amber Drake
+ case 49345: // Call Emerald Drake
+ spellInfo->Effect[1] = 0;
+ break;
+ // ENDOF OCULUS SPELLS
+ //
case 40055: // Introspection
case 40165: // Introspection
case 40166: // Introspection
@@ -3622,13 +3646,6 @@ void SpellMgr::LoadDbcDataCorrections()
spellInfo->manaCost = 0;
spellInfo->manaPerSecond = 0;
break;
- // OCULUS SPELLS
- // The spells below are here, because their effect 1 is giving warning, because the triggered spell is not found in dbc and is missing from encounter sniff.
- case 49462: // Call Ruby Drake
- case 49461: // Call Amber Drake
- case 49345: // Call Emerald Drake
- spellInfo->Effect[1] = 0;
- break;
case 24314: // Threatening Gaze
spellInfo->AuraInterruptFlags |= AURA_INTERRUPT_FLAG_CAST | AURA_INTERRUPT_FLAG_MOVE | AURA_INTERRUPT_FLAG_JUMP;
default: