Yoko

All sides of Injection
It is currently 2025-12-03 10:16:39

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2005-09-07 17:57:43 
Offline

Joined: 2005-08-09 12:01:27
Posts: 18
Code:
#Стенка на чара# 
sub ff()
uo.waittargettile("400",str(uo.getx("lasttarget")),str(uo.gety("lasttarget")),str(uo.getz("lasttarget")))
uo.cast("Wall of Stone")
wait (350)
uo.fontcolor('0x000')
uo.msg("           ")
uo.fontcolor('0x000')
uo.msg("            ")
uo.fontcolor('0x000')
uo.msg("            ")
end sub

так было....

Нужно переделать чтобы стенка ставилась не со спелбуки, а со скрола. Плиз помогите кто знает что изменить.

P.S: если что 0x1F44 - тип скрола стенки


Top
   
 Post subject:
PostPosted: 2005-09-07 18:08:13 
Offline

Joined: 2005-08-09 12:01:27
Posts: 18
Да, забыл. Если не сложно в идеале бы. Если каст со свитка, а если свитки кончились то с буки.:)

Заранее спасибо.


Top
   
 Post subject:
PostPosted: 2005-09-07 18:11:26 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
Не проверял, должно пахать :D
Code:
#Стенка на чара# 
sub ff()
UO.Set('lasttarget','laststatus') 
UO.FindType('0x1F44',-1,'my')
If UO.GetQuantity('finditem')>0 then
uo.waittargettile("400",str(uo.getx("lasttarget")),str(uo.gety("lasttarget")),str(uo.getz("lasttarget")))
UO.UseObject('finditem')
wait (350)
uo.fontcolor('0x000')
uo.msg("           ")
uo.fontcolor('0x000')
uo.msg("            ")
uo.fontcolor('0x000')
uo.msg("            ")
else
uo.waittargettile("400",str(uo.getx("lasttarget")),str(uo.gety("lasttarget")),str(uo.getz("lasttarget")))
uo.cast("Wall of Stone")
wait (350)
uo.fontcolor('0x000')
uo.msg("           ")
uo.fontcolor('0x000')
uo.msg("            ")
uo.fontcolor('0x000')
uo.msg("            ")
endif
end sub


Top
   
 Post subject:
PostPosted: 2005-09-07 18:12:45 
Offline

Joined: 2005-08-09 12:01:27
Posts: 18
Leo wrote:
Не проверял, должно пахать :D
Code:
#Стенка на чара# 
sub ff()
UO.Set('lasttarget','laststatus') 
UO.FindType('0x1F44',-1,'my')
If UO.GetQuantity('finditem')>0 then
uo.waittargettile("400",str(uo.getx("lasttarget")),str(uo.gety("lasttarget")),str(uo.getz("lasttarget")))
UO.UseObject('finditem')
wait (350)
uo.fontcolor('0x000')
uo.msg("           ")
uo.fontcolor('0x000')
uo.msg("            ")
uo.fontcolor('0x000')
uo.msg("            ")
else
uo.waittargettile("400",str(uo.getx("lasttarget")),str(uo.gety("lasttarget")),str(uo.getz("lasttarget")))
uo.cast("Wall of Stone")
wait (350)
uo.fontcolor('0x000')
uo.msg("           ")
uo.fontcolor('0x000')
uo.msg("            ")
uo.fontcolor('0x000')
uo.msg("            ")
endif
end sub


Щя проверю


Top
   
 Post subject:
PostPosted: 2005-09-07 18:15:35 
Offline

Joined: 2005-08-09 12:01:27
Posts: 18
Да, все отлично :) Спасиб :wink:


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited