diff options
| -rw-r--r-- | worker.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -293,7 +293,8 @@ 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 && p.team == t.payload.Team)[0]; |
