Skip to content

Veterinary

PEDROH86 edited this page Jan 31, 2018 · 7 revisions

Funções

  • Habilidade para curar animais com bandages.
  • Sujestão de macro: duas vacas.

Macro para UO Steam

if not findalias 'animal1'
  headmsg 'Select first pet'
  promptalias 'animal1'
endif
if not findalias 'animal2'
  headmsg 'Select second pet'
  promptalias 'animal2'
endif
if skill 'veterinary' < 100.1
  if counttype '0xe21' '0' 'backpack' > 0
    if hits 'animal1' < 20
      msg 'all stop'
      usetype! '0xe21'
      waitfortarget 15000
      target! 'animal1'
      pause 3500
      replay
      while not hits 'animal1' == maxhits 'animal1'
      endwhile
    endif
    if hits 'animal2' < 20
      msg 'all stop'
      usetype! '0xe21'
      waitfortarget 15000
      target! 'animal2'
      pause 3500
      replay
      while not hits 'animal2' == maxhits 'animal2'
      endwhile
    endif
    if hits 'animal1' == hits 'animal2'
      msg 'all kill'
      waitfortarget 15000
      target! 'animal2'
    endif
    //Heal the lowest HP pet
    usetype! '0xe21'
    if hits 'animal1' > hits 'animal2'
      autotargetobject 'animal2'
      pause 3500
    else
      autotargetobject 'animal1'
      pause 3500
    endif
  else
    msg 'all stop'
    stop
  endif
else
  headmsg 'Skill Completa!'
  stop
endif

Clone this wiki locally