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
Help Me plz
Moderators: Murderator+, Murderator
-
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact:
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
*I didn't test it*
As usually mana for fizzle need less than for complete cast, so try it
Code: Select all
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*