Yoko

All sides of Injection
It is currently 2026-01-17 20:35:07

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Магия...
PostPosted: 2005-01-07 12:12:13 
Offline
User avatar

Joined: 2004-12-19 01:44:11
Posts: 7
Location: Москва
Ребят...у кого есть скрипт на магию....
ВОт что мне нужно от скрипта...Каставать на любой предмет(ну токо комент рядом с идишником куда он кастует) если кончилась мана включал медитацию...каст мне нужен пойзон
Заранее спасибо....еси ты москвич то угощу пыффком ))


Top
   
 Post subject:
PostPosted: 2005-01-07 12:46:12 
Offline
User avatar

Joined: 2004-12-29 15:16:45
Posts: 112
"Юзай поиск"©
Тема обсуждалась не раз, в том числе и про пойзон


Top
   
 Post subject:
PostPosted: 2005-01-07 14:51:59 
Offline
User avatar

Joined: 2004-07-22 16:07:11
Posts: 260
Code:
sub Magery() 
VAR NS='0x0F88'
VAR Sunduk='0x4021C658'
VAR Kolvo=10
VAR k = 0, j
VAR LastTimer
while NOT UO.Dead()
While UO.NS<=1
UO.FindType(NS, -1, Sunduk)
If UO.FindCount()==0 Then
UO.Print("NS not found, script terminated")
else
j = UO.GetQuantity( 'finditem' )
If j > Kolvo Then
UO.Print("I can use" + str( j ) + "NS")
else
UO.Print("I can't use" + str( j ) + "NS")
Endif
If Kolvo == 1 Then
UO.FindType( NS )
UO.MoveItem( 'finditem', '2', Sunduk )
wait(500)
Else
UO.Grab( Str( Kolvo ), 'finditem' )
wait(500)
Endif
wend
while UO.Mana>66
UO.Cast('Poison','self')
wait(3000)
wend
while UO.Mana<UO.Int
LastTimer=UO.Timer()
UO.UseSkill('Meditation')
repeat
wait(100)
until UO.InJournal("You are") OR UO.InJournal("You lose") OR UO.Timer()>LastTimer+200
UO.DeleteJournal()
wait(2000)
wend
Wend
end sub

Собственно, вотс. Если не понятно что-то спрашивай


Top
   
 Post subject:
PostPosted: 2005-01-07 20:17:29 
Offline
User avatar

Joined: 2004-12-19 01:44:11
Posts: 7
Location: Москва
Место Self можно добавить Var Runka="ID рунки" это на верх к варам а в низу дописать (Poison Runka) ?


Top
   
 Post subject:
PostPosted: 2005-01-07 21:42:31 
Offline
User avatar

Joined: 2004-12-29 15:16:45
Posts: 112
конечно можно
Code:
UO.Cast('Poison',Runka) 

А ты случаем не с оскома будешь?


Top
   
 Post subject:
PostPosted: 2005-01-07 22:49:49 
Offline
User avatar

Joined: 2004-12-19 01:44:11
Posts: 7
Location: Москва
Угу...С фри приемущественно
И кстати Азы писания скриптов я знаю... :))))))))) Правда ооооооччччеееньь плохо...еси чё стучись в асю....в про файле глянешь...

_________________
Жизнь , это затяжонный прыжок из п***ы в могилу.


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 9 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