From f1354daabf844b3dbe3b928a6cda54013ab0f3db Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 28 Oct 2017 19:08:56 +0200 Subject: fixed ace buff fix --- worker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'worker.js') diff --git a/worker.js b/worker.js index 3181967..f05037c 100644 --- a/worker.js +++ b/worker.js @@ -293,7 +293,7 @@ amqp.connect(RABBITMQ_URI).then(async (rabbit) => { // heal actor (since 2.9) if (t.type == "HealTarget" && t.payload.IsHero == 1 - && ["Buff_SpawnStage_Recharge", "Buff_Ace"].indexOf(t.payload.Source) != -1 // TODO LOL what? + && ["Buff_SpawnStage_Recharge", "Buff_Ace"].indexOf(t.payload.Source) == -1 // TODO LOL what? && t.payload.Team != t.payload.TargetTeam) // enemies "heal" Ardan due to his perk WTF t.actor = participants.filter((p) => p.actor == t.payload.Actor @@ -301,7 +301,7 @@ amqp.connect(RABBITMQ_URI).then(async (rabbit) => { // heal target (since 2.9) if (t.type == "HealTarget" && t.payload.TargetIsHero == 1 - && ["Buff_SpawnStage_Recharge", "Buff_Ace"].indexOf(t.payload.Source) != -1) + && ["Buff_SpawnStage_Recharge", "Buff_Ace"].indexOf(t.payload.Source) == -1) t.target = participants.filter((p) => p.actor == t.payload.TargetActor && p.team == t.payload.TargetTeam)[0]; -- cgit v1.3.1