Yoko

All sides of Injection
It is currently 2025-12-20 14:57:21

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Помогите
PostPosted: 2006-10-24 16:47:02 
Offline
User avatar

Joined: 2006-10-08 08:37:57
Posts: 87
Вообщем надо добавить к этому скрипту чтоб кушал :) помогите плз.. :roll:
Code:
sub Lores() ; Качаем все лоры 
; 0 - не прицеливатся, для таких скилов как Hiding
; 1 - прицел на себя, для таких скилов как Anatomy
; 2 - прицел на предметы для навыков ItemId указывается тут.

   UO.Print('gde predmet???')
   UO.AddObject('item_for_lore_skills')
   while UO.Targeting()
    wait(50)
   wend
   endif

   Lore('Anatomy',1)
   Lore('Animal Lore',1)
   Lore('Arms Lore',2)
   Lore('Detect Hidden',0)
   Lore('Evaluate Intelligence',1)
   Lore('Hiding',0)       
   Lore('Item ID',2)
   Lore('Stealth',0)             
   Lore('Taste Identification',2)
end sub

sub Lore(skill, targ) ; Качаем лор
   while UO.SkillVal(skill) < 1000
   if targ > 0 then
     if targ == 2 then
        UO.Waittargetobject('item_for_lore_skills')
     else
        UO.Waittargetself()
     endif   
   endif   
   UO.UseSkill(skill)
   UO.DeleteJournal()
   UO.Print('Waiting '+skill+' action...')
   if skill == 'Begging' then
      Wait(1000)
   else
      repeat
       Wait(100)
      until UO.InJournal('about this item') or UO.InJournal('does not appear') or UO.InJournal('looks') or UO.InJournal('think') or UO.InJournal('You estimate') or UO.InJournal('This item is') or UO.InJournal('You can see') or UO.InJournal('You find') or UO.InJournal('It tastes') or UO.InJournal('to hide here') or UO.InJournal('You have hidden') or UO.InJournal('You cannot')
   endif
   wend
   UO.Print('You now grand master of ' + skill+' skill')
end sub


Top
   
 Post subject:
PostPosted: 2006-10-24 22:55:30 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Зачем? Схавал тушку свинки и скриптуй пару дней.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 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