Yoko

All sides of Injection
It is currently 2024-04-20 04:54:06

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Help Me plz
PostPosted: 2007-11-11 20:01:34 
Offline

Joined: 2007-11-11 19:51:55
Posts: 2
Well I would like to know what the line of command that I can put this macro case for the magic fails, the character does not try to use the object!

sub murarto()
uo.warmode(0)
uo.waittargetlast()
uo.cast('Wall of Stone')
wait(2850)
uo.useobject('subir')
endsub


Top
   
 Post subject:
PostPosted: 2007-11-11 20:11:25 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
If i understand you right, you need to know- is it's fizzle or complete cast?

As usually mana for fizzle need less than for complete cast, so try it

Code:
sub Cast_Poison()
var manaFizzle=5
var manaCast=10
var mana

uo.Cast('Wall')
while uo.Targeting()
  wait(100)
wend

mana=uo.mana
while uo.mana==mana
  wait(100)
wend

if mana==uo.mana+manaFizzle then
  uo.Print('Cast was fizzled ...')
else
  if mana==uo.mana+manaCast then
    uo.Print('Your cast was complete.')
  end if
end if

end sub

*I didn't test it*


Top
   
 Post subject:
PostPosted: 2007-11-11 20:30:15 
Offline

Joined: 2007-11-11 19:51:55
Posts: 2
I play on a shard where someone comes in a corner and down the horse, then you use wall lasttarget and rises in the horse, but if you fail the magic, I would like it to not up in the horse!


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