Implemented Raid OOC Regen

This commit is contained in:
Russell Kinasz committed 2014-08-12 15:18:11 -07:00
1 parent cfd6364999
commit 1ba4b6fc31
10 files changed
+47 -7

No files matched your search

+4 -1
View File
@@ -198,8 +198,11 @@ void HateList::Add(Mob *ent, int32 in_hate, int32 in_dam, bool bFrenzy, bool iAd
list.push_back(p);
parse->EventNPC(EVENT_HATE_LIST, owner->CastToNPC(), ent, "1", 0);
if(ent->IsClient())
if (ent->IsClient()) {
if (owner->CastToNPC()->IsRaidTarget())
ent->CastToClient()->SetEngagedRaidTarget(true);
ent->CastToClient()->IncrementAggroCount();
}
}
}