Yoko
http://forum.yoko.com.ua/

Script
http://forum.yoko.com.ua/viewtopic.php?f=20&t=8628
Page 1 of 1

Author:  xalat_ [ 2006-08-26 13:59:13 ]
Post subject:  Script

Code:
sub battle() 
var t
UO.CancelMenu()
UO.DeleteJournal()
UO.Setarm('arm')
UO.AutoMenu('What','Polar')
while NOT UO.Dead()
if UO.Life<UO.Str then
repeat
UO.Bandageself()
wait(5000)
if UO.Count('0x0e21')==0 then
uo.waittargettype('0x1008')
uo.usetype('0x0E20')
wait(500)
UO.DeleteJournal()
endif
until UO.Life==UO.Str
endif
UO.Arm('arm')
UO.WaitTargetSelf()
UO.Cast('Summ. Crea')
wait(500)
if UO.InJournal('lack sufficient') then
while UO.Mana<90
UO.WarMode(0)
LastTimer=UO.Timer()
UO.UseSkill('Meditation')
repeat
wait(100)
until UO.InJournal("You are") OR UO.InJournal("You lose") OR UO.Timer()>LastTimer+200
if not UO.InJournal("You lose") then
repeat
wait(100)
until UO.InJournal('You lose') or UO.Mana>=90
endif
UO.DeleteJournal()
wait(2000)
wend
endif
t=0
repeat
wait(500)
t=t+1
if t>15 then
UO.WaitTargetSelf()
UO.Cast('Summ. Crea')
t=0
if UO.InJournal('lack sufficient') then
while UO.Mana<90
UO.WarMode(0)
LastTimer=UO.Timer()
UO.UseSkill('Meditation')
repeat
wait(100)
until UO.InJournal("You are") OR UO.InJournal("You lose") OR UO.Timer()>LastTimer+200
if not UO.InJournal("You lose") then
repeat
wait(100)
until UO.InJournal('You lose') or UO.Mana>=90
endif
UO.DeleteJournal()
wait(2000)
wend
endif
endif
UO.findtype('0x00D5',-1,'ground')
until uo.FindCount()>0
UO.WarMode(1)
repeat
wait(500)
if abs(UO.GetX('finditem')-UO.GetX())>2 or abs(UO.GetY('finditem')-UO.GetY())>1 then
UO.UseType('0x0F4F')
endif
if UO.InJournal('too close') then
UO.Arm('arm')
endif
if UO.Life<35 then
UO.UseType('0x0F0E','0x09BB')
endif
UO.DeleteJournal()
UO.Attack('finditem')
wait(2000)
UO.findtype('0x00D5',-1,'ground')
until uo.FindCount()==0
wend
end sub

народ помогите пожалуйсто, сделайте так чтобы етот скрипт сумонил медведя на землю

Author:  Skazi69 [ 2006-08-26 14:17:51 ]
Post subject: 

А куда он его сумонит ? в бэкпэк ? :shock:

Author:  xalat_ [ 2006-08-26 14:20:19 ]
Post subject: 

Skazi69 wrote:
А куда он его сумонит ? в бэкпэк ? :shock:

Он его на себя сумонит а у меня на шарде это не катит!

Author:  xalat_ [ 2006-08-28 11:23:20 ]
Post subject: 

Блиин народ я подовляюсь, вам сложно помоч ?

Author:  Nmy [ 2006-08-28 12:48:02 ]
Post subject: 

Code:
UO.WaitTargetSelf()
UO.Cast('Summ. Crea')


на

Code:
UO.WaitTargetObject('backpack')
UO.Cast('Summ. Crea')


или

Code:
UO.Cast('Summ. Crea','backpack')


нетестил :roll:

Author:  xalat_ [ 2006-09-01 09:01:07 ]
Post subject: 

Такой вариант тоже не катит ! так как, нелзя у нас на сервере кастовать етот спел на бекпак! :(

Author:  Cornor [ 2006-09-01 12:40:58 ]
Post subject: 

uo.waittargettile("400",str(uo.getx("laststatus")),str(uo.gety("laststatus")),str(uo.getz("laststatus")))
uo.cast("Чё кастать")

Author:  Mguai [ 2006-09-01 13:47:56 ]
Post subject: 

Умно

Author:  Cornor [ 2006-09-01 14:47:14 ]
Post subject: 

работает ведь ....

Author:  Nmy [ 2006-09-01 14:49:51 ]
Post subject: 

laststatus можно поменять на self - будет под ногами...

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/