ScriptUO

Scripting Resources & Utilities => UOSteam => UOSteam scripts => Topic started by: v1duk4 on October 08, 2015, 10:39:36 AM

Title: vDk's Heal 1 Pet
Post by: v1duk4 on October 08, 2015, 10:39:36 AM
With this script , you can easily cure your pet .

All you have to do is target your pet the first time you run this script and u need to have bandages in ur inventary. If not this script will advice to you.

Code: [Select]
// =======================
// =======================
// Script Name: CuraPet
// Author: v1duk4(DaRkSuN)
// Version: 1.0
// Tested with v.1.0.4.1
// Shard OSI: UO Awakening
// =======================
// =======================
if not @findalias 'pet1'
  headmsg 'Select first pet'
  promptalias 'pet1'
endif
if not @findtype 0xe21
  headmsg 'No quedan vendas!!'
  pause 10000
endif
if not @findobject 'pet1'
  headmsg 'No se encuentra la mascota'
  pause 10000
endif
if hits 'pet1' < maxhits 'pet1'
  usetype 0xe21
  autotargetobject 'pet1'
  while hits 'pet1' < maxhits 'pet1'
    usetype 0xe21
    autotargetobject 'pet1'
    pause 3500
  endwhile
endif