aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellEffects.cpp
diff options
context:
space:
mode:
authorSorikoff <46191832+Sorikoff@users.noreply.github.com>2019-06-21 17:21:49 +0000
committerGiacomo Pozzoni <giacomopoz@gmail.com>2019-06-21 19:21:49 +0200
commita4cd4d8b872bcbd9e28e9ae76f5220b30494a996 (patch)
tree22a25f3e72ff8386b6fa8b88e6edeb04f14077c8 /src/server/game/Spells/SpellEffects.cpp
parentfc92bd358c83ce0ea6f7c41e124641f41e91858c (diff)
Scripts/Spells: Migrate Lightwell to Script (#23455)
* Scripts/Spells: Migrate Lightwell to Script * Add newline to SQL file * Misc * Rename 9999_99_99_99_world.sql to 2019_06_21_01_world.sql
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
-rw-r--r--src/server/game/Spells/SpellEffects.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp
index a5b16142c89..2bd0d6ea8c8 100644
--- a/src/server/game/Spells/SpellEffects.cpp
+++ b/src/server/game/Spells/SpellEffects.cpp
@@ -3714,36 +3714,6 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex)
}
return;
}
- case 60123: // Lightwell
- {
- if (m_caster->GetTypeId() != TYPEID_UNIT || !m_caster->ToCreature()->IsSummon())
- return;
-
- uint32 spell_heal;
-
- switch (m_caster->GetEntry())
- {
- case 31897: spell_heal = 7001; break;
- case 31896: spell_heal = 27873; break;
- case 31895: spell_heal = 27874; break;
- case 31894: spell_heal = 28276; break;
- case 31893: spell_heal = 48084; break;
- case 31883: spell_heal = 48085; break;
- default:
- TC_LOG_ERROR("spells", "Unknown Lightwell spell caster %u.", m_caster->GetEntry());
- return;
- }
-
- // proc a spellcast
- if (Aura* chargesAura = m_caster->ToCreature()->GetAura(59907))
- {
- m_caster->CastSpell(unitTarget, spell_heal, m_caster->ToCreature()->ToTempSummon()->GetSummonerGUID());
- if (chargesAura->ModCharges(-1))
- m_caster->ToCreature()->ToTempSummon()->UnSummon();
- }
-
- return;
- }
case 45668: // Ultra-Advanced Proto-Typical Shortening Blaster
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)