Все сенк, вот готовое:
Code:
sub KillElem()
UO.FindType('0x0F0E','0x0631','backpack')
if UO.GetQuantity('finditem')>0 then
UO.UseType('0x0F0E','0x0631')
end if
wait(300)
uo.cast('Energy Vortex','self')
repeat
wait(4000)
until uo.injournal("fizzles") or uo.injournal("Vortex")
if uo.injournal("fizzles") then
repeat
uo.deletejournal('fizzles')
wait(300)
uo.cast('Energy Vortex', 'self')
repeat
wait(4000)
until uo.injournal("fizzles") or uo.injournal("Vortex")
until not uo.injournal('fizzles')
else
end if
wait(12000)
uo.deletejournal()
UO.FindType('0x0F0E','0x09DF','backpack')
if UO.GetQuantity('finditem')>0 then
UO.UseType('0x0F0E','0x09DF')
end if
wait(300)
uo.cast('Mass Dispel','self')
wait(6000)
if uo.injournal("fizzles") then
repeat
uo.deletejournal('fizzles')
wait(300)
uo.cast('Mass Dispel', 'self')
repeat
wait(4000)
until uo.injournal("fizzles") or not uo.injournal('fizzles')
else
end if
uo.deletejournal()
UO.SetReceivingContainer('backpack')
UO.FindType('0x19B9',-1,'ground')
if UO.GetQuantity('finditem')>0 then
UO.Grab('0','finditem')
wait(2000)
endif
UO.FindType('0x19B7',-1,'ground')
if UO.GetQuantity('finditem')>0 then
UO.Grab('0','finditem')
wait(2000)
endif
UO.FindType('0x19BA',-1,'ground')
if UO.GetQuantity('finditem')>0 then
UO.Grab('0','finditem')
wait(2000)
endif
UO.FindType('0x19B8',-1,'ground')
if UO.GetQuantity('finditem')>0 then
UO.Grab('0','finditem')
wait(2000)
endif
UO.FindType('0x0EED',-1,'ground')
if UO.GetQuantity('finditem')>0 then
UO.Grab('0','finditem')
wait(2000)
UO.UnSetReceivingContainer()
end if
wait(1000)
if UO.Dead() Then
UO.Exec('terminate mine')
end if
end sub
Кому надо - юзайте. -)