From 845935fc9e6246f115dc38eedde88e471486aeaf Mon Sep 17 00:00:00 2001 From: ProducerZekServer Date: Sat, 29 May 2021 02:57:04 +0000 Subject: [PATCH] Bracket fix --- zone/spells.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index f645b4749..267ca191d 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -2044,12 +2044,14 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, CastingSlot slot, ui if(!IsValidSpell(spell_id)) return false; - //Cazic Touch targets the pet owner instead of the pet when said pet is tanking. + + //Death Touch targets the pet owner instead of the pet when said pet is tanking. if ((RuleB(Spells, CazicTouchTargetsPetOwner) && spell_target->HasOwner()) && spell_id == DB_SPELL_CAZIC_TOUCH || spell_id == DB_SPELL_TOUCH_OF_VINITRAS) { Mob* owner = spell_target->GetOwner(); - if (owner) + if (owner) { spell_target = owner; + } } if( spells[spell_id].zonetype == 1 && !zone->CanCastOutdoor()){