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

Help Me plz
http://forum.yoko.com.ua/viewtopic.php?f=1&t=12751
Page 1 of 1

Author:  Dracula [ 2007-11-11 20:01:34 ]
Post subject:  Help Me plz

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

Author:  Scripts Writer [ 2007-11-11 20:11:25 ]
Post subject: 

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*

Author:  Dracula [ 2007-11-11 20:30:15 ]
Post subject: 

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!

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