Yoko

All sides of Injection
It is currently 2025-11-02 18:30:35

All times are UTC+02:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 2007-03-12 14:36:21 
Offline

Joined: 2007-03-05 11:39:11
Posts: 42
sub wsl()
uo.waittargettile("400",str(uo.getx("lasttarget")),str(uo.gety("lasttarget")),str(uo.getz("lasttarget")))
uo.cast("Wall of Stone")
end sub

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


Top
   
 Post subject:
PostPosted: 2007-03-12 16:01:32 
Offline
Expert!
User avatar

Joined: 2005-05-20 20:30:10
Posts: 548
сколько раз было.. - ПОИСК

лень длинно писать попробуй так
Code:
if uo.count('0x0000')>0 then
uo.waittargetobject('lasttarget')
uo.useobject('^0x0000')
else
uo.cast('Magic A','lasttarget')
end if


Top
   
 Post subject:
PostPosted: 2007-03-12 17:11:43 
Offline

Joined: 2006-03-10 00:19:11
Posts: 265
Location: http://drw.ru/
подозреваю он не догадается подставить тип скрола


Top
   
 Post subject:
PostPosted: 2007-03-12 18:30:11 
Offline
User avatar

Joined: 2006-04-02 11:33:38
Posts: 91
и такое бывает!


Top
   
 Post subject:
PostPosted: 2007-03-13 09:26:29 
Offline

Joined: 2007-03-05 11:39:11
Posts: 42
я играю на дрв и этот скрипт не подойдет...т.к. на ДРВ стенку просто так на ластаргет кинуть нельзя...


Top
   
 Post subject:
PostPosted: 2007-03-13 14:20:15 
Offline
Expert!
User avatar

Joined: 2005-05-20 20:30:10
Posts: 548
невнимательно читал прочел как "стрелку на последнего"
нет афтар - никак нельзя убей себя


Top
   
 Post subject:
PostPosted: 2007-03-16 06:04:36 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Code:
sub Cast.WallOfStone()
var scroll = "0x0000" ; тип нужного скрола
var target = uo.GetSerial( "lasttarget" )
var x = str( uo.getX( target ) )
var y = str( uo.getY( target ) )
var z = str( uo.getZ( target ) )
uo.WaitTargetTile( "400" )
uo.FindType( scroll, "-1", "my" )
If uo.FindCount() Then
   uo.UseObject( "_" + scroll )
Else
   uo.Cast( "Wall of Stone" )
End If
endsub


Top
   
 Post subject:
PostPosted: 2007-03-17 19:41:35 
Offline
User avatar

Joined: 2005-01-13 07:20:54
Posts: 528
можно кидать на бекпак ласттаргета

_________________
все для альфы , [url=http://newvlad.nm.ru/prog]здесь[/url]
модернизация ремонт продажа игровых консолей
Sky: admirka1 Москва


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 11 guests


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