mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-12 12:12:25 +00:00
Removed heal per @mackal
This commit is contained in:
parent
abeb93f1e6
commit
561433902e
@ -3295,7 +3295,6 @@ void EntityList::ClearAggro(Mob* targ)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//removes "targ" from all hate lists of mobs that are water only.
|
//removes "targ" from all hate lists of mobs that are water only.
|
||||||
//water only mobs that are fleed from to another region are healed as per live
|
|
||||||
void EntityList::ClearWaterAggro(Mob* targ)
|
void EntityList::ClearWaterAggro(Mob* targ)
|
||||||
{
|
{
|
||||||
Client *c = nullptr;
|
Client *c = nullptr;
|
||||||
@ -3313,11 +3312,6 @@ void EntityList::ClearWaterAggro(Mob* targ)
|
|||||||
it->second->RemoveFromFeignMemory(c); //just in case we feigned
|
it->second->RemoveFromFeignMemory(c); //just in case we feigned
|
||||||
c->RemoveXTarget(it->second, false);
|
c->RemoveXTarget(it->second, false);
|
||||||
}
|
}
|
||||||
if (!it->second->GetHateTop()) {
|
|
||||||
// target fled the water and no other targets.
|
|
||||||
// Heal NPC as on live
|
|
||||||
it->second->Heal();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
++it;
|
++it;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user