From f8e9dedbe5e4e0d31106683276ff2f0e91120cc3 Mon Sep 17 00:00:00 2001 From: Subv Date: Sat, 7 Apr 2012 21:09:04 -0500 Subject: Scripts/Spells: Removed redundant code for spell 54798. Closes #519 Signed-off-by: Subv --- src/server/scripts/Spells/spell_quest.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/server/scripts') diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp index 278abcc0c0b..48faf83cd2f 100644 --- a/src/server/scripts/Spells/spell_quest.cpp +++ b/src/server/scripts/Spells/spell_quest.cpp @@ -636,6 +636,10 @@ class spell_q12851_going_bearback : public SpellScriptLoader if (Unit* caster = GetCaster()) { Unit* target = GetTarget(); + // Already in fire + if (target->HasAura(SPELL_ABLAZE)) + return; + if (Player* player = caster->GetCharmerOrOwnerPlayerOrPlayerItself()) { switch (target->GetEntry()) -- cgit v1.2.3