Code: Select all
var NS=('0x0F88')
var BP=('0x0F7A')
sub strelka() #стрелка+спирит+медитация и добирает реги из сейфа#
while not uo.dead()
if uo.getquantity(NS)==0 then
doborNS()
wait(1000)
end if
if uo.getquantity(BP)==0 then
doborBP()
wait(1000)
end if
if uo.mana > 12 then
uo.cast('Magic Arrow')
uo.waittargetself()
wait(2100)
else
UO.UseSkill("Spirit Speak")
wait(3000)
while UO.Mana<UO.Int
UO.UseSkill("Meditation")
wait(3000)
wend
wait(2000)
end if
wend
end sub
sub doborNS()
uo.FindType(NS,'-1','0x40524901') # ID сейфа=0x40524901 #
uo.Grab('500','finditem')
wait(1000)
end sub
sub doborBP()
uo.FindType(BP,'-1','0x40524901')
uo.Grab('500','finditem')
wait(1000)
end sub
Проблема:
Если рег закан4ивается в бэкпаке,- 4ар на4инает его добирать до тех пор, пока не выберет весь из сейфа. Хотя я ставлю всего 500 шт.
