Explosions
Posted: 2005-01-06 22:12:36
Кто нибуть может написать скипт плиз чтобы чар кидал эксплоужены не на чела а возле чела под него или вокруг плиз!
pivovar wrote:Кто нибуть может написать скипт плиз чтобы чар кидал эксплоужены не на чела а возле чела под него или вокруг плиз!
Code: Select all
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
Code: Select all
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