ScriptUO

Scripting Resources & Utilities => UOSteam => UOSteam scripts => Topic started by: Jonasbengt on September 30, 2014, 07:09:26 AM

Title: My little dexxer pot macro
Post by: Jonasbengt on September 30, 2014, 07:09:26 AM
Heres alittle script i use with my dexxer when i pvp(im so bad i need to script it alittle:D)
I play on a restricted server with alot of fearures in uosteam disabled sadly, but this works quite good for me atleast :D

It auto dissarms your wep, and drinks the appropriate potion.

Feel free to give advice to improve this if possible ;D

Code: [Select]
if @findlayer 'self' 2
  togglehands 'left'
  pause 600
endif
if not timerexists 'Heal Potion'
  createtimer 'Heal Potion'
endif
if poisoned 'self'
  // Cure potion
  usetype! 0xf07
endif
if stam < maxstam
  // Refresh potion
  usetype! 0xf0b
endif
if not yellowhits 'self'
  if diffhits >= 15 and timer 'Heal Potion' >= 10250
    // Heal potion
    if usetype! 0xf0c
      settimer 'Heal Potion' 0
    endif
  endif