How do you make it only activate the module for Domo if the target is hostile? If I'm not mistaken it starts the module too after you defeat it and it turns friendly. Either at his spot, or @ ragnaros, it will continuously start the module...
Maybe the solution is to edit functions in the TargetMonitor.lua/Core.lua file, to check if the target is also hostile. Any thoughts?
I try with
if UnitExists("target") and UnitAffectingCombat("target") and not UnitIsFriend("player", "target") then
local target = UnitName("target")
for _, mob in pairs(t) do
if target == mob then
return true
end
end
end
In the function BigWigs.modulePrototype:Scan() But i don't know if it works, would love some PTR access for this.
But would this work for Vael in BWL? Do we need to check for name instead of hostility?
How do you make it only activate the module for Domo if the target is hostile? If I'm not mistaken it starts the module too after you defeat it and it turns friendly. Either at his spot, or @ ragnaros, it will continuously start the module... Maybe the solution is to edit functions in the TargetMonitor.lua/Core.lua file, to check if the target is also hostile. Any thoughts?
I try with
In the function
BigWigs.modulePrototype:Scan()
But i don't know if it works, would love some PTR access for this. But would this work for Vael in BWL? Do we need to check for name instead of hostility?