Break and Weaken PVP (ALT-A) by Jaseowns
# Break and Weaken PVP by Jaseowns
# UO Outlands
@setvar! checkLastTarget lasttarget
@setvar! checkSelf self
@setvar! cdMagicArrow 5000
@setvar! cdHarm 5000
@setvar! cdBall 5000
if not timerexists magicArrowTimer
createtimer magicArrowTimer
settimer magicArrowTimer cdMagicArrow
endif
if targetexists 'beneficial' or targetexists 'neutral'
hotkey 'Cancel Current Target'
endif
if timer magicArrowTimer >= cdMagicArrow
while not targetexists 'harmful'
cast 'Magic Arrow'
endwhile
if checkLastTarget = checkSelf
overhead "Not gonna blow yourself up" 34
while targetexists
wait 50
endwhile
else
target lasttarget
endif
settimer magicArrowTimer 0
cooldown FirstCircle cdMagicArrow
endif
while not targetexists 'harmful'
cast 'Weaken'
endwhile
if checkLastTarget = checkSelf
overhead "Not gonna blow yourself up" 34
while targetexists
wait 50
endwhile
else
target lasttarget
endif