Revert "AE rampage shouldn't hit target"

This reverts commit 30148c3c567a4d79e7c0eee37ed408686702f3e7.

Was thinking of wrong thing ... logs say otherwise :P
This commit is contained in:
Michael Cook (mackal) 2018-08-16 13:18:00 -04:00
parent 30148c3c56
commit ffb9323a98

View File

@ -580,7 +580,7 @@ int HateList::AreaRampage(Mob *caster, Mob *target, int count, ExtraAttackOption
// This is a temp solution until the hate lists can be rewritten to not have that issue
std::vector<uint16> id_list;
for (auto &h : list) {
if (h->entity_on_hatelist && h->entity_on_hatelist != caster && h->entity_on_hatelist != target &&
if (h->entity_on_hatelist && h->entity_on_hatelist != caster &&
caster->CombatRange(h->entity_on_hatelist))
id_list.push_back(h->entity_on_hatelist->GetID());
if (count != -1 && id_list.size() > count)