Yoko

All sides of Injection
It is currently 2025-10-12 20:11:49

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2008-04-09 00:10:59 
Offline

Joined: 2008-04-06 21:16:41
Posts: 4
ммм... НУ так как я только начал общаться с инжой, то нужен наглядный пример =)
как я думаю очень легкий скриптик.
Нужно чтобы в определенное время, допустим когда остается 70хп чар хилился и одевал щит. =) уххх чувствую сейчас зачухают меня =)


Top
   
 Post subject:
PostPosted: 2008-04-09 09:07:58 
Offline
User avatar

Joined: 2005-04-04 18:23:12
Posts: 187
Code:
sub hsh ()
var sh = 'тип щита'
while uo.dead ()
    if uo.gethp ('self') <= uo.getmaxhp ('self') then
       white  uo.gethp ('self') == uo.getmaxhp ('self')
           uo.bandageself
           wait (время наложения бинта)
       wend
       UO.Equipt('Lhand',sh)
       wait (500)
    else
       wait (500)
    end if
wend
end sub

пробуем.

ЗЫ. НЕ проверял и плохо шарю в инже, так что может что-то и проглючить.


Top
   
 Post subject:
PostPosted: 2008-04-10 20:55:52 
Offline

Joined: 2004-12-13 01:27:00
Posts: 190
[quote="Purgen"]
Code:
sub hsh ()
var sh = 'тип щита'
while uo.dead ()
    if uo.gethp ('self') <= 70 then
           uo.bandageself
           wait (3000)
       wend
       UO.Equipt('Lhand',sh)
       wait (500)
    else
       wait (500)
    end if
wend
end sub

пробуем.

немного подправил, кажется так грамотней.


Top
   
 Post subject:
PostPosted: 2008-04-10 21:40:15 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
плохо кажется...


Top
   
 Post subject:
PostPosted: 2008-04-10 22:36:49 
Offline
User avatar

Joined: 2005-04-04 18:23:12
Posts: 187
Dron D. wrote:
немного подправил, кажется так грамотней.

Сомневаюсь :wink:


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: No registered users and 0 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