Code: Select all
sub Autoheal()
While UO.Life > 0
If UO.Life < UO.str Then
UO.BandageSelf()
wait (4200)
else
wait (50)
Endif
wend
endsub
sub LootLastCorpse()
VAR Gold = '0x0EED' ; gold
UO.UseObject( 'lastcorpse' )
wait(300)
UO.FindType( Gold, '-1', 'lastcorpse' )
While UO.FindCount() > 0
UO.MoveItem( 'finditem','0' )
wait(1000)
Wend
UO.Print( 'The loot was finished' )
endsub
nazhimaju exec lootlastcorpse. vrode rabotaet, no deneg tipo kakto prigaet po beckpeck i action nekonachatesja, ona ostaetsja v List of running funct. help.
Code: Select all
sub Autohealing()
While UO.Life > 0
If UO.Life < UO.Str Then
UO.Bandageself()
wait(20)
repeat
UO.DeleteJournal()
repeat
wait(100)
until UO.InJournal("You put") or UO.InJournal("fail")
Else
wait(50)
until UO.Dead()
Endif
Wend
endsub
i chto tut netak ? problema takaja chto on hilitsja normaljno, no kogda zahilitsja do full hp, i potom ktoto atakavaet eshjo raz, togda bolshje nehilitsja. pomagite.