Вопрос с зацикливанием
Posted: 2007-04-22 21:39:23
Code: Select all
sub knife_change()
VAR a
repeat
If UO.InJournal('stunned!') then
UO.DeleteJournal()
wait(5000)
else
If UO.InJournal('destroyed') then
repeat
UO.FindType('0x13f6')
a = UO.GetSerial('finditem')
UO.Equip('Rhand','finditem')
Until UO.ObjAtLayer('Rhand') == 'a'
UO.DeleteJournal()
else
wait(50)
endif
endif
until UO.Life > 1000
end sub
так как есть возможность быть stunned + сэйвы то нужно что-бы шла проверка оделся/не оделся, но он зацикливается на поиске
