mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
Revert "AE rampage shouldn't hit target"
This reverts commit 30148c3c56.
Was thinking of wrong thing ... logs say otherwise :P
This commit is contained in:
+1
-1
@@ -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
|
// This is a temp solution until the hate lists can be rewritten to not have that issue
|
||||||
std::vector<uint16> id_list;
|
std::vector<uint16> id_list;
|
||||||
for (auto &h : 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))
|
caster->CombatRange(h->entity_on_hatelist))
|
||||||
id_list.push_back(h->entity_on_hatelist->GetID());
|
id_list.push_back(h->entity_on_hatelist->GetID());
|
||||||
if (count != -1 && id_list.size() > count)
|
if (count != -1 && id_list.size() > count)
|
||||||
|
|||||||
Reference in New Issue
Block a user