Commit 21768875 authored by noobhaxor's avatar noobhaxor

AutoWarrior Named Prioritization

After obtaining aggro from all mobs on XTarget, Warrior will switch to
Named if it exists
parent 91e14c50
......@@ -76,6 +76,10 @@ Sub CheckAggro
/varset autotargetid ${badaggroid}
/if (${Target.ID}!=${autotargetid} && ${Spawn[id ${autotargetid} npc radius 100].ID}) /target id ${autotargetid}
/delay 5 ${Target.ID}==${autotargetid}
} else /if (${badaggro}==0&&${Spawn[Named npc radius 100].ID}&&${Spawn[Named npc radius 100].ID}!=${Target.ID}&&!${Target.Named}) {
/varset autotargetid ${Spawn[Named npc radius 100].ID}
/if (${Target.ID}!=${autotargetid} && ${Spawn[id ${autotargetid} npc radius 100].ID}) /target id ${autotargetid}
/delay 5 ${Target.ID}==${autotargetid}
} else /if (${Target.ID}!=${Me.GroupAssistTarget.ID} && ${Spawn[id ${Me.GroupAssistTarget.ID} npc radius 100].ID}) {
/varset autotargetid ${Me.GroupAssistTarget.ID}
/if (${Target.ID}!=${autotargetid} && ${Spawn[id ${autotargetid} npc radius 100].ID}) /target id ${autotargetid}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment