[UOSteam] Autoattack with weapon ability.
Posted: Tue May 10, 2016 11:29 am
A simple script that auto attacks and uses your weapon ability as well as consecrate weapon. It will try to save enough mana for you to use an emergency heal if needed.
Code: Select all
cast 'consecrate weapon'
for 12
@getenemy! 'murderer' 'enemy' 'criminal' 'gray' 'closest'
if @findobject! 'enemy'
if 'mana' > 32
@setability! 'primary' 'on'
endif
if not targetexists 'any'
autotargetobject! 'enemy'
endif
@attack 'enemy'
endif
pause 1000
@clearusequeue
@cancelautotarget
@canceltarget
endfor