Yoko

All sides of Injection
It is currently 2025-11-10 20:24:59

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2006-09-15 09:28:18 
Offline

Joined: 2006-09-14 08:55:52
Posts: 12
Location: Moscow
Хочется чтоб скрипт умел бить и лечить не животное а оппонента то есть чара :) и если можно добавить использование оружия.

прошу учесть что оппонент сопротивления не оказывает. то есть он просто груша :)

Code:
var tvarb='0x0190'  
var band='0x0E21'
var color='0x0000'
var animal

sub veterinar()
 uo.Set('finddistance','3')
 uo.FindType(tvarb,color,'ground')
 while uo.Count('finditem') > 0
   uo.WarMode(true)
   animal = uo.GetSerial('finditem')
   uo.Attack(animal)
   while uo.GetHP(animal) > uo.GetMaxHP(animal) / 3
     wait(500)
   wend
   uo.WarMode(false)
   while uo.GetHP(animal) <> uo.GetMaxHP(animal)
     uo.waittargetobject(animal)
     uo.UseType(band)
     wait(3000)
   wend
  wend
end sub


Top
   
 Post subject:
PostPosted: 2006-09-15 09:29:41 
Offline

Joined: 2006-09-14 08:55:52
Posts: 12
Location: Moscow
можно даже убрать поиск чара а сделать чтоб просто задавалось его ID


Top
   
 Post subject:
PostPosted: 2006-09-15 12:08:44 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
search

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2006-09-15 14:39:48 
Offline
User avatar

Joined: 2005-08-18 09:09:18
Posts: 104
Location: RUSSIA
Ден ты че заново стал чара качать? :) макров таких реально навалом тута...

_________________
-=^NOVA RunUO 2 Server^=-
www.nova-uo.com
сферовское ПВП
IRC Server: irc.netbynet.ru; канал: #nova


Top
   
PostPosted: 2006-09-15 15:52:40 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Mr.Denchik wrote:
Хочется чтоб скрипт умел бить и лечить не животное а оппонента то есть чара :) и если можно добавить использование оружия.

прошу учесть что оппонент сопротивления не оказывает. то есть он просто груша :)

Code:
var tvarb='0x0190'  
var band='0x0E21'
var color='0x0000'
var animal

sub veterinar()
 uo.Set('finddistance','3')
 uo.FindType(tvarb,color,'ground')
 while uo.Count('finditem') > 0
   uo.WarMode(true)
   animal = uo.GetSerial('finditem')
   uo.Attack(animal)
   while uo.GetHP(animal) > uo.GetMaxHP(animal) / 3
     wait(500)
   wend
   uo.WarMode(false)
   while uo.GetHP(animal) <> uo.GetMaxHP(animal)
     uo.waittargetobject(animal)
     uo.UseType(band)
     wait(3000)
   wend
  wend
end sub


Вижу свой подчерк. А разве нету такого скрипта в нашей с Cooper'ом теме, в которой указатель идёт через таргет? Посмотри по оглавлению "Спаринг". Там вродь как есть еще и Доктора скрипт.


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 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:  
Powered by phpBB® Forum Software © phpBB Limited