From 89ea8011c02baf5a1265a5c2e102870cff7f15b5 Mon Sep 17 00:00:00 2001 From: Snakybo Date: Thu, 22 Oct 2020 21:58:59 +0200 Subject: [PATCH] Only /startattack if the primary target is TARGET --- Core/BindingProcessor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/BindingProcessor.lua b/Core/BindingProcessor.lua index 05f939a8..4b236915 100644 --- a/Core/BindingProcessor.lua +++ b/Core/BindingProcessor.lua @@ -355,7 +355,7 @@ local function GetMacroForBindings(bindings) table.insert(extra, "/stopcasting") end - if not startAutoAttack then + if not startAutoAttack and binding.primaryTarget.unit == Clicked.TargetUnits.TARGET then startAutoAttack = true table.insert(extra, "/startattack [@target,harm,exists]") end