Scripts/Spells: Removed redundant code for spell 54798.
Closes #519 Signed-off-by: Subv <[email protected]>
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