Injection - Animal Taming

zerakl

New member
Регистрация
30.05.2020
Сообщения
19
Реакции
0
Баллы
1
Местоположение
Москва
##Injection - Taming

sub Taming()
if uo.getglobal("Taming") == "On" then
uo.setglobal("Taming", "Off")
else
uo.setglobal("Taming", "On")
end if
if uo.getglobal("Taming") == "On" then
uo.deletejournal()
uo.warmode(0)
uo.print('Select Animal')
uo.addobject('animal')
while uo.targeting()
wait(100)
wend
else
return 0
end if
taming:
uo.warmode(0)
uo.useskill('Animal Taming')
uo.waittargetobject('animal')
while not uo.injournal("It seems to accept you as master|remembers you and accepts you|is already tame")
if uo.injournal('You fail to tame the creature.|You are too far away.|You can not see|You give up trying to tame the creature.') or uo.injournal("You can't see the target") then
uo.deletejournal()
goto taming
else if uo.getglobal("Taming") == "Off" then
return 0
end if
wait(1000)
wend
uo.setglobal("Taming", "Off")
end sub
 
Последнее редактирование: