mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-16 12:52:25 +00:00
Don't call UpdateRestTimer when you're casting on yourself
This commit is contained in:
parent
6ab2871fd1
commit
6ac4154acd
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user