Yoko
http://forum.yoko.com.ua/

спаринг(для хиллера)
http://forum.yoko.com.ua/viewtopic.php?f=20&t=7257
Page 1 of 1

Author:  ghost_hnt [ 2006-04-03 15:31:04 ]
Post subject:  спаринг(для хиллера)

короче нужен скрипт для спаринга (т.е чтобы двое дубасили друг друга, не отходя), а третий-хилер -хелил их обоих и пил рефреши!!!!

Author:  Scripts Writer [ 2006-04-03 15:52:57 ]
Post subject: 

Code:
var char=' id persa'

while uo.GetHP(char) < uo.GetMaxHP(char)
uo.waittargetobject('0x00008EAB')
uo.UseType('0x0E21')
wait(3000)
wend


Code:
var refresh=' type '
var colorref=' colour of refresh '
uo.UseType(refresh,colorref)


примера достаточно?

Author:  ghost_hnt [ 2006-04-03 17:08:35 ]
Post subject: 

так у меня же спаринговаться будут 2 чара((
а не мог бы ты оформить все в виде скрипта?

Author:  Scripts Writer [ 2006-04-04 13:54:18 ]
Post subject: 

Code:
var char=' id persa ' 
var char2=' id persa 2 '
var ref=' type '
var refresh=' colour of refresh potion '

sub spar()
  while not uo.Dead()
    if uo.GetHP(char) < uo.GetMaxHP(char) then
      uo.waittargetobject(char)
      uo.UseType('0x0E21') 
      wait(3000)
    end if
    if uo.GetHP(char2) < uo.GetMaxHP(char2) then
      uo.waittargetobject(char2)
      uo.UseType('0x0E21') 
      wait(3000)
    end if
    if uo.stamina < 50 then
      uo.UseType(ref,refresh)
    end if
  wend
end sub


написан, для себя можно сказать ) как бы да кабы пару ночей постоять и забить. тести

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/