From 6ac4154acd4074faf83edba3486a52d054f9cd7a Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Sat, 14 Jul 2018 19:19:58 -0400 Subject: [PATCH] Don't call UpdateRestTimer when you're casting on yourself --- zone/spells.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index 6edda023c..8f8cfba33 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -3895,7 +3895,7 @@ bool Mob::SpellOnTarget(uint16 spell_id, Mob *spelltar, bool reflect, bool use_r spelltar->SetHateAmountOnEnt(this, std::max(newhate, 1)); } } else if (IsBeneficialSpell(spell_id) && !IsSummonPCSpell(spell_id)) { - if (spelltar->IsClient() && IsClient()) + if (this != spelltar && spelltar->IsClient() && IsClient()) CastToClient()->UpdateRestTimer(spelltar->CastToClient()->GetRestTimer()); entity_list.AddHealAggro( spelltar, this,