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

Detect if casted.
http://forum.yoko.com.ua/viewtopic.php?f=3&t=14494
Page 1 of 1

Author:  Ever1x [ 2009-03-02 21:02:39 ]
Post subject:  Detect if casted.

Is it possible to detect that char casted spell with out fizzle?

I have an idea like this. I even don't know if these commands exist.

Code:
var b,a
.........
b=uo.getmana('self')
wait(XXX)
a=uo.Getmana('self')
if a<b then
uo.print(Succses)
end if
end sub


b - Before
a - After

or something like that.

Author:  Destruction [ 2009-03-03 01:54:55 ]
Post subject: 

Code:
var mana = uo.mana
uo.deletejournal()
uo.cast()
while mana = uo.mana
    wait( 100 )
wend
if uo.injournal('fizzles') then
    uo.print('Cast failed')
else
    uo.print('Cast sucess')
endif

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