diff options
author | offl <offl@users.noreply.github.com> | 2022-03-08 03:19:35 +0200 |
---|---|---|
committer | offl <offl@users.noreply.github.com> | 2022-03-08 03:19:35 +0200 |
commit | 877b3674d90482d40a020e3df7a802e297be714e (patch) | |
tree | b3aac3279699dc76c690762d09de412d00699dde /src | |
parent | a29476b92ef350ba7612b08aa885f921b612eb2f (diff) |
DB/Quest: Update 'Stopping the Spread'
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_quest.cpp | 35 |
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 71c9589438c..9659956b249 100644 --- a/src/server/scripts/Spells/spell_quest.cpp +++ b/src/server/scripts/Spells/spell_quest.cpp @@ -619,40 +619,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, @@ -2049,7 +2015,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); |