mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
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:
parent
30148c3c56
commit
ffb9323a98
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user