Page 1 of 1

hachu brasatj poison potion

Posted: 2008-04-30 16:23:29
by Adata
ktonibudj mozet datj script katorij brasajet poison potion po targetu
ja tipa pishu pvp dlja maga poka paluchilsa takoi

no jahachu pered weaken kinutj poison butilku po targetu i mne nekak nepoluchajetsa

sub traped()
var h = "You are frozen and can not move."
while uo.life > 0
deletejournal("You are frozen and can not move.")
wait(50)
if uo.injournal(h) then
uo.findtype('0x09B0')
if uo.findcount() > 0 then
uo.click('finditem')
wait(500)
else
wait(5000)
uo.deletejournal()
wait(500)
else
wait(500)
endif
endif
wend
endsub

sub sist()
var c = 0
var t = "You cannot target an item with this spel"
var p = "Target is not in line of sight"
var u = "You can't see the target"
var q = "Portos: The spell fizzles"
uo.exec('addobject e')
while uo.Targeting()
wait (50)
wend
UO.DeleteJournal()
UO.exec("cast 'Weaken' e")
wait (1550)
ass1:
DeleteJournal("Portos: The spell fizzles")
DeleteJournal("Target is not in line of sight")
wait (70)
if uo.InJournal(q) or uo.InJournal(p) then
uo.print("derek")
goto ass1
else
UO.Press(59)
repeat
c = 0
UO.exec("cast 'Lightning' e")
repeat
wait (100)
c = c + 1
until c > 33 or uo.InJournal(q) or uo.InJournal(p)
ass:
DeleteJournal("Portos: The spell fizzles")
DeleteJournal("Target is not in line of sight")
wait (70)
if uo.InJournal(q) or uo.InJournal(p) then
uo.print("derek")
goto ass
else
uo.print("strada")
wait (100)
until uo.injournal(u) or uo.injournal(t)
UO.DeleteJournal()
uo.print("kruta")
endsub


sub Heal()
repeat
wait(10)
if not uo.dead() then
if uo.life < uo.str then
uo.exec("bandageself")
wait(900)
endif
endif
wait(1000)
until false
end sub

sub DeleteJournal(msg)
var nom=UO.InJournal(msg)
if nom>0 then
UO.SetJournalLine(Nom - 1," ----- 8< ----- ")
DeleteJournal(msg)
endif
endsub

sub hamm()
Var Shield='0x40063C2B'
Var Shield1='0x40046091'
UO.UseObject(Shield1)
UO.UseObject(Shield)
end sub

Posted: 2008-04-30 19:45:17
by Adata
a i jesho kak pishetsa uo.UseSkill('Detecting Hidden')
i gde takije komandi vobshe naiti ?

Posted: 2008-04-30 19:47:37
by Destruction