aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2021-08-11 00:49:55 +0300
committeroffl <offl@users.noreply.github.com>2021-08-11 00:49:55 +0300
commit2d2b73c90588d7b7899989636db42f8da1d4b8e9 (patch)
treec7ccaaa4cd11fc1162f50f729fdc679f08a8e03b /src
parentf3aa84bf8b236c18b73cffc07225ed47eec78a49 (diff)
DB/Quest: Rework 'The Tome of Divinity' (1783,1786)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_quest.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp
index 122334497ca..e4b8465ee75 100644
--- a/src/server/scripts/Spells/spell_quest.cpp
+++ b/src/server/scripts/Spells/spell_quest.cpp
@@ -682,37 +682,6 @@ class spell_q10041_q10040_who_are_they : public SpellScript
}
};
-enum symboloflife
-{
- SPELL_PERMANENT_FEIGN_DEATH = 29266,
-};
-
-// 8593 - Symbol of Life (Dummy)
-class spell_symbol_of_life_dummy : public SpellScript
-{
- PrepareSpellScript(spell_symbol_of_life_dummy);
-
- void HandleDummy(SpellEffIndex /*effIndex*/)
- {
- if (Creature* target = GetHitCreature())
- {
- if (target->HasAura(SPELL_PERMANENT_FEIGN_DEATH))
- {
- target->RemoveAurasDueToSpell(SPELL_PERMANENT_FEIGN_DEATH);
- target->SetUInt32Value(UNIT_DYNAMIC_FLAGS, 0);
- target->SetUInt32Value(UNIT_FIELD_FLAGS_2, 0);
- target->SetHealth(target->GetMaxHealth() / 2);
- target->SetPower(POWER_MANA, uint32(target->GetMaxPower(POWER_MANA) * 0.75f));
- }
- }
- }
-
- void Register() override
- {
- OnEffectHitTarget += SpellEffectFn(spell_symbol_of_life_dummy::HandleDummy, EFFECT_0, SPELL_EFFECT_DUMMY);
- }
-};
-
// http://www.wowhead.com/quest=12659 Scalps!
enum Quest12659Data
{
@@ -2359,7 +2328,6 @@ void AddSC_quest_spell_scripts()
RegisterSpellScript(spell_q12851_going_bearback);
RegisterSpellScript(spell_q12937_relief_for_the_fallen);
RegisterSpellScript(spell_q10041_q10040_who_are_they);
- RegisterSpellScript(spell_symbol_of_life_dummy);
RegisterSpellScript(spell_q12659_ahunaes_knife);
RegisterSpellScript(spell_q9874_liquid_fire);
RegisterSpellScript(spell_q12805_lifeblood_dummy);