mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Scripts/Spells: Removed redundant code for spell 54798.
Closes #519 Signed-off-by: Subv <s.v.h21@hotmail.com>
This commit is contained in:
@@ -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