Нужен скрипт на обкаст себя
Moderators: Murderator+, Murderator
Нужен скрипт на обкаст себя
Народ нужен скрипт на обкаст себя 4 спелами чтоб запускаеш скрипт он снимал лук делал обкаст одевал лук обратно когда обкаст проходит он повторялбы процедуру. Играю на Middle-earth.ru. Плиз помогите. За ранее спасибо.
-
- Posts: 188
- Joined: 2007-03-24 08:12:51
-
- Posts: 188
- Joined: 2007-03-24 08:12:51
-
- Posts: 188
- Joined: 2007-03-24 08:12:51
-
- Posts: 265
- Joined: 2006-03-10 00:19:11
- Location: http://drw.ru/
ну блин так и быть, щас подниму весь тот мусор что я писал два года назад, было гдето)
Code: Select all
Sub CastSpell(spell)
var timer=0
repeat
UO.DeleteJournal()
UO.Cast(spell)
repeat
timer=timer+1
wait(10)
until UO.InJournal('An|Ex|Por|Lor|Des|Rel|You lack') or timer==300
if UO.InJournal('You lack') then
if UO.InJournal('sufficient mana') then
if UO.Count('0x0F0E','0x09DF') then
Mana()
goto cast
else
UO.Print('КАСТ НЕВОЗМОЖЕН - НЕТУ МАНЫ')
return 'nomana'
endif
else
UO.Print('КАСТ НЕВОЗМОЖЕН - НЕТУ РЕГОВ')
return 'noregs'
endif
endif
if UO.InJournal('line|see the target') then
UO.Print('ЦЕЛЬ НЕ ВИДАТЬ')
return 'notarg'
endif
WaitManaChange(UO.Mana)
UO.Print('КАСТ ОКОНЧЕН')
until not UO.InJournal('fizzle')
return 'success'
endsub