Yoko

All sides of Injection
It is currently 2025-11-07 23:36:45

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Explosions
PostPosted: 2005-01-06 22:12:36 
Offline
User avatar

Joined: 2004-09-05 10:41:06
Posts: 57
Кто нибуть может написать скипт плиз чтобы чар кидал эксплоужены не на чела а возле чела под него или вокруг плиз!


Top
   
 Post subject:
PostPosted: 2005-01-06 23:02:10 
Offline
User avatar

Joined: 2005-01-04 21:52:39
Posts: 32
#==============================================================
# ExplodeHim() - drop to laststatus char bomb and detonated
# first dropped bomb
#
# Journal has been deleted!!!
#--------------------------------------------------------------
sub ExplodeHim()
VAR i, pack='0x40103215',FirstBomb, FirstFlag=1, CountEX
VAR ExHP=20 ; 1 bomb hits

CountEX=INT(UO.GetHP('laststatus')/ExHP+0.99)
UO.Print(STR(CountEX)+" explodov nado :)")

For i=1 to CountEX
UO.FindType('0x0F0D','0x0B99',pack)
If UO.GetQuantity('finditem') Then
If FirstFlag Then
FirstFlag=0
FirstBomb='finditem'
Endif
CheckLag()
UO.Drop('1',STR(UO.GetX('laststatus')),STR(UO.GetY('laststatus')),STR(UO.GetZ('laststatus')),'finditem')
wait(400)
Else
UO.Print("Explosives not found!")
EndIf
Next
UO.Cast('Magic Arrow',FirstBomb)
end sub

на, всё что есть узнаёт сколько експлодов надо выбирает мощнейшие кидает их под противника и мэджик ароу на последнюю бутылку


Top
   
 Post subject:
PostPosted: 2005-01-06 23:32:25 
Offline
User avatar

Joined: 2004-09-05 10:41:06
Posts: 57
у меня он был , но не работает почему-то !


Top
   
 Post subject: Re: Explosions
PostPosted: 2005-01-06 23:54:30 
Offline

Joined: 2004-09-08 13:09:13
Posts: 127
pivovar wrote:
Кто нибуть может написать скипт плиз чтобы чар кидал эксплоужены не на чела а возле чела под него или вокруг плиз!

на спс ту Ветер!
Code:
sub ExpDrop()
uo.FindType('0x0F0D','0x0B99','backpack')
if uo.GetQuantity('finditem')>0 Then
uo.DeleteJournal()
uo.Drop('1',STR(uo.GetX('laststatus')),STR(uo.GetY('laststatus')),STR(uo.GetZ('laststatus')),'finditem')
wait(500)
uo.FindType('0x0F0D','0x0B99','backpack')
if uo.GetQuantity('finditem')>0 Then
uo.DeleteJournal()
uo.Drop('1',STR(uo.GetX('laststatus')),STR(uo.GetY('laststatus')),STR(uo.GetZ('laststatus')),'finditem')
wait(500)
uo.Print('!ЖМИ!')
end sub

sub ExpCast()
uo.FindType('0x0F0D','0x0B99','ground')
uo.Cast('Magic Arrow','finditem')
end sub


Top
   
PostPosted: 2005-01-15 17:18:42 
Offline
User avatar

Joined: 2004-08-02 14:11:24
Posts: 8
Requires:
-to have bombs in your main backpack
-to have set lasttarget, and before running this macro once does attacklast from internal macro.
-Bombs have automatic explosion time on my shard it is about 3 seconds..
-be sure that lasttarget is still visible or you can destroy yourself :-)

Code:
sub bombs()
;written by goodie
;if you use it send me greets :)
;ICQ: 14669217

var count
var throwbombs = '4'

;do not edit anything bellow!
;----------------------------------
uo.findtype ('0x0f0d', "-1", "backpack")
if not uo.findcount () then
  uo.ignorereset()
  uo.findtype ('0x0f0d', "-1", "backpack")
end if
if uo.findcount () then
   uo.print("Bombing...")
   uo.print("Total # of bombs:"+STR(uo.findcount()))
   for count=1 to throwbombs
      uo.print("Throwing a bomb :"+STR(count))
      uo.print("Debug: ID bomb -"+uo.getserial("finditem"))
     uo.WaitTargetObject ("lasttarget")
     uo.useobject ("finditem")
     wait(600)
;ignore throwed bombs
     uo.ignore(uo.getserial("finditem"))
     uo.findtype ('0x0f0d', "-1", "backpack")
     if not uo.findcount() then
        uo.print("Out of bombs! Ending...")
        goto END
     endif
   next
else
   uo.print("Out of bombs! Ending...")
endif
END:
   uo.print("Bombing has finished")
  uo.ignorereset()
end sub


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: Bing [Bot] and 6 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