Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[EUO] Healing using XUO scroll
#1

Code:
; OzHealing
;
; Change %water variable to whatever source of water you'd like to use
; when cleaning bandages. It need to be within range of your character.
;
; Items needed: some bandages on you, 1 XUO scroll and source of water

set %water TQHUCND

while #TRUE
{
  if ( #HITS < 100 )
    gosub BandageSelf
  else
    gosub XUOScroll
}

; Uses XUO scroll without targeting
sub XUOScroll
  finditem NUL C_ , #BACKPACKID
  if ( #FINDCNT > 0 )
  {
    set #LOBJECTID #FINDID
    event macro 17 0
    target 3s
    key ESC
  }
return

; Uses a bandage on yourself
sub BandageSelf
  finditem ZLF C_ , #BACKPACKID
  if ( #FINDCNT > 0 )
  {
    set #lObjectId #findId
    event macro 17 0
    target 15s
    event macro 23
    wait 52
  }
  else
  {
    finditem AMF C_ , #BACKPACKID
    if ( #FINDCNT > 0 )
    {
      set #lObjectId #findId
      event macro 17 0
      set #lTARGETID %water
      target 2s
      event macro 22
      wait 1s
    }
  }
return

Change %target variable to whatever source of water you want to use to clean your bandages. I recommend a pitcher of water in your backpack or water trough at training grounds.


Forum Jump:


Users browsing this thread: 1 Guest(s)