LightsHope / issues

48 stars 22 forks source link

NPC not in combat with YOU but OTHERS HEAL YOUR TARGET #508

Open knasen88 opened 6 years ago

knasen88 commented 6 years ago

one of the most annoying bugs and it's infuriating if your fighting among big packs of caster mobs and people around you are pulling mobs aswell and they start casting heal on YOUR target when they are in no way affiliated through combat.

Crusaderz commented 6 years ago

Can confirm. Very annoying.

ratkosrb commented 6 years ago

Currently it only checks that the unit is in combat, but not with who its in combat with, as that would be more expensive. But maybe instead of doing a grid search, we should iterate over the attackers of the creature's victim instead, and only heal one of those?

QAkvastskaft commented 6 years ago

https://github.com/lh-server/core/pull/155