So since Sheuron isn't really supporting his profiles anymore I was hoping I could get some help with this..
Sometimes for the prot warrior profile the bot won't attack targets that aren't directly a threat and have a traditional threat table. For example on the fight with Primordious, I can't attack the oozes that path towards the boss or on Elegon I can't attack the pillars. So I looked around in the profile and im pretty sure I found the cause in this code:
Code:
if ImmuneTarget("target")
or not UnitCanAttack("player","target")
or tonumber(UnitGUID("target"):sub(5,5),16) == 4
or ( not UnitAffectingCombat("target") and not SpecialAggro("target") and not UnitIsPlayer("target") )
or ( UnitGroupRolesAssigned("targettarget") == "TANK" and not UnitIsUnit("player","targettarget") and UnitThreatSituation("player","target") ~= 0 and not canAOE )
or IsSpellInRange(GetSpellInfo(57755),"target") ~= 1
then return true end
StartAttack()
but im not sure exactly what line causes it, also I think this also includes some code which causes me to halt damage to reduce threat if im not the main tank as well. My question is if I just remove this whole Ability from the Rotations will I be alright or is there something important in here? I don't really care about the main tank thing as well because I can control threat if needed.
*Edit
Ok I did some testing and I definetly need this Ability in my rotation because the bot attempts to target NPCs. So my new question would be what line prevents the bot from doing that?