Merge pull request #301 from KayenEQ/Development

Fix for numhits counter being decreased 2x for Outgoing Hit Success from...
This commit is contained in:
Michael Cook (mackal)
2014-11-26 15:27:43 -05:00
8 changed files with 16 additions and 13 deletions
+2 -1
View File
@@ -3652,7 +3652,8 @@ void EntityList::AddTempPetsToHateList(Mob *owner, Mob* other, bool bFrenzy)
NPC* n = it->second;
if (n->GetSwarmInfo()) {
if (n->GetSwarmInfo()->owner_id == owner->GetID()) {
n->CastToNPC()->hate_list.Add(other, 0, 0, bFrenzy);
if (!n->GetSpecialAbility(IMMUNE_AGGRO))
n->hate_list.Add(other, 0, 0, bFrenzy);
}
}
++it;