Code: Select all
sub shahta ()
var i=0
while UO.Life > (40)
if UO.InJournal("idu v shahtu") then
UO.DeleteJournal()
i=i+1
endif
if UO.InJournal("proba!!!!") and i==1 then
UO.DeleteJournal()
goto start1
endif
if UO.InJournal("proba!!!!") and i==2 then
UO.DeleteJournal()
goto start2
endif
if UO.InJournal("proba!!!!") and i==3 then
UO.DeleteJournal()
goto start3
endif
if UO.InJournal("proba!!!!") and i==4 then
UO.DeleteJournal()
goto start4
endif
wend
start1:
UO.Exec("cast Recall 0x40008AEB")
wait(3500)
if UO.InJournal("the spell fizzles") then
wait (500)
goto start1
UO.DeleteJournal()
endif
start2:
UO.Exec("cast Recall 0x40008AFC")
wait(3500)
if UO.InJournal("the spell fizzles") then
wait (500)
goto start2
UO.DeleteJournal()
endif
start3:
UO.Exec("cast Recall 0x400074BA")
wait(3500)
if UO.InJournal("the spell fizzles") then
wait (500)
goto start3
UO.DeleteJournal()
endif
start4:
UO.Exec("cast Recall 0x400013B2")
wait(3500)
if UO.InJournal("the spell fizzles") then
wait (500)
goto start4
UO.DeleteJournal()
i=0
endif
end sub
но у меня чар реколится по всем 4 рунам вместо того что бы остановится на какойто одной и ждать очередного появления в журнале данной фразы