diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-10-28 19:08:56 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-10-28 19:08:56 +0200 |
| commit | f1354daabf844b3dbe3b928a6cda54013ab0f3db (patch) | |
| tree | e17f5fbd824b249658c0505f343fe442f1acc687 | |
| parent | 6f6e94bc6c4487d6465408aee4d0d60c55c96032 (diff) | |
| download | shrinker-f1354daabf844b3dbe3b928a6cda54013ab0f3db.tar.gz shrinker-f1354daabf844b3dbe3b928a6cda54013ab0f3db.zip | |
fixed ace buff fix
| -rw-r--r-- | worker.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]; |
