aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2022-03-08 03:19:35 +0200
committerShauren <shauren.trinity@gmail.com>2022-03-26 16:00:38 +0100
commit945b190262531ef40bc019259ed68016dc20ed96 (patch)
tree2e1e05aaf3a4fe1d45cf28262e87614c73a8d883 /src
parentb2479e78a3ba0f2483b34f2a0627ff8b998d0cc0 (diff)
DB/Quest: Update 'Stopping the Spread'
(cherry picked from commit 877b3674d90482d40a020e3df7a802e297be714e)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_quest.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp
index f425b2ed763..e4d2b639cbb 100644
--- a/src/server/scripts/Spells/spell_quest.cpp
+++ b/src/server/scripts/Spells/spell_quest.cpp
@@ -618,40 +618,6 @@ class spell_q12659_ahunaes_knife : public SpellScript
}
};
-enum StoppingTheSpread
-{
- NPC_VILLAGER_KILL_CREDIT = 18240,
- SPELL_FLAMES = 39199
-};
-
-// 32146 - Liquid Fire
-class spell_q9874_liquid_fire : public SpellScript
-{
- PrepareSpellScript(spell_q9874_liquid_fire);
-
- bool Load() override
- {
- return GetCaster()->GetTypeId() == TYPEID_PLAYER;
- }
-
- void HandleDummy(SpellEffIndex /*effIndex*/)
- {
- Player* caster = GetCaster()->ToPlayer();
- if (Creature* target = GetHitCreature())
- if (!target->HasAura(SPELL_FLAMES))
- {
- caster->KilledMonsterCredit(NPC_VILLAGER_KILL_CREDIT);
- target->CastSpell(target, SPELL_FLAMES, true);
- target->DespawnOrUnsummon(60s);
- }
- }
-
- void Register() override
- {
- OnEffectHitTarget += SpellEffectFn(spell_q9874_liquid_fire::HandleDummy, EFFECT_0, SPELL_EFFECT_DUMMY);
- }
-};
-
enum SalvagingLifesStength
{
NPC_SHARD_KILL_CREDIT = 29303,
@@ -2155,7 +2121,6 @@ void AddSC_quest_spell_scripts()
RegisterSpellScript(spell_q12634_despawn_fruit_tosser);
RegisterSpellScript(spell_q12851_going_bearback);
RegisterSpellScript(spell_q12659_ahunaes_knife);
- RegisterSpellScript(spell_q9874_liquid_fire);
RegisterSpellScript(spell_q12805_lifeblood_dummy);
RegisterSpellScript(spell_q13280_13283_plant_battle_standard);
RegisterSpellScript(spell_q13280_13283_jump_jets);