Scripts/Spells: Removed redundant code for spell 54798.
Closes #519 Signed-off-by: Subv <s.v.h21@hotmail.com>
This commit is contained in:
1 parent
fd9c4d9c43
commit
f8e9dedbe5
2 files changed
+4
-15
No files matched your search
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user