Implemented Raid OOC Regen

This commit is contained in:
Russell Kinasz
2014-08-12 15:18:11 -07:00
parent cfd6364999
commit 1ba4b6fc31
10 changed files with 47 additions and 7 deletions
+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();
}
}
}