Yoko

All sides of Injection
It is currently 2026-01-18 18:04:48

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2005-03-28 23:20:46 
Offline
User avatar

Joined: 2005-03-14 16:04:28
Posts: 10
Здраствуйте !! я хоть и пониаю немного в скриптах но такое написать немогу даже неимею предствления как !
Вопрос такой : возможно зделать так к примеру как только у тебя 20% хп ты сразу выпиваеш Гхашку :?


Top
   
 Post subject:
PostPosted: 2005-03-29 18:13:56 
Offline
User avatar

Joined: 2004-07-18 13:01:15
Posts: 141
Code:
sub autoheal() 
while NOT UO.Dead()
wait(300)
if UO.Life <= 20 then
uo.usetype('тип Гхашки')
Endif
wend
end sub

Я хз, наверное так.


Top
   
 Post subject:
PostPosted: 2005-03-29 18:52:10 
Offline
Expert!
User avatar

Joined: 2005-01-07 13:22:19
Posts: 766
gmur wrote:
Code:
sub autoheal() 
while NOT UO.Dead()
wait(300)
if UO.Life <= 20 then
uo.usetype('тип Гхашки')
Endif
wend
end sub

Я хз, наверное так.


не так у него может быть больше хп надо так

Code:
sub autoheal() 
while NOT UO.Dead()
wait(300)
if UO.Life <= 2*uo.str()/10 then ;20 процов
uo.usetype('тип банки','цвет банки')
Endif
wend
end sub


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 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:  
Powered by phpBB® Forum Software © phpBB Limited