aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellEffects.cpp
diff options
context:
space:
mode:
authorSorikoff <46191832+Sorikoff@users.noreply.github.com>2019-07-01 18:55:30 +0000
committerccrs <ccrs@users.noreply.github.com>2019-07-01 20:55:30 +0200
commit5c09ff51f7015b775def8d5cc1f678eaef37200f (patch)
tree4a292b3db56cad803562cb06a0344b3c6e573d35 /src/server/game/Spells/SpellEffects.cpp
parent5a9516cd9c27fc9f4f444d8658d9bd6ac3afc027 (diff)
Scripts/Spells: Dimensional Ripper - Everlook (#23547)
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
-rw-r--r--src/server/game/Spells/SpellEffects.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp
index cef576371d1..fe4af438bc0 100644
--- a/src/server/game/Spells/SpellEffects.cpp
+++ b/src/server/game/Spells/SpellEffects.cpp
@@ -1062,25 +1062,6 @@ void Spell::EffectTeleportUnits(SpellEffIndex /*effIndex*/)
TC_LOG_ERROR("spells", "Spell::EffectTeleportUnits - spellId %u attempted to teleport creature to a different map.", m_spellInfo->Id);
return;
}
-
- // post effects for TARGET_DEST_DB
- /// @todo: awful hacks, move this to spellscripts
- switch (m_spellInfo->Id)
- {
- // Dimensional Ripper - Everlook
- case 23442:
- {
- int32 r = irand(0, 119);
- if (r >= 70) // 7/12 success
- {
- if (r < 100) // 4/12 evil twin
- m_caster->CastSpell(m_caster, 23445, true);
- else // 1/12 fire
- m_caster->CastSpell(m_caster, 23449, true);
- }
- return;
- }
- }
}
void Spell::EffectApplyAura(SpellEffIndex effIndex)