Created
June 1, 2016 23:59
-
-
Save allanon/8bfae5964b0b0a880fc73c8468fb6f5b to your computer and use it in GitHub Desktop.
Watch for Ignition Break and log the skill delay.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Watch for Ignition Break and log the skill delay. | |
# This should be much safer (and better performance!) than watching for console logs. | |
# The macro plugin complains if any of the saved hook arguments are undefined, | |
# and "tick" is undefined when the status change isn't timed. Which results in | |
# lots of annoying "[macro] $args->{tick} does not exist" messages on the | |
# console. Sigh. | |
automacro ib_delay { | |
hook Actor::setStatus::change | |
save actor_type | |
save handle | |
save flag | |
save tick | |
eval $varStack{'.hooksave0'} eq 'Actor::You' && $varStack{'.hooksave1'} eq 'Ignition Break Delay' && $varStack{'.hooksave2'} | |
call { | |
$time = @eval( $.hooksave3 / 1000 ) | |
log skill delay of $time seconds | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Allanon , I need your help, I would like to hire u and pay money to make bot in my server,
Please kindly contact me : rissaya41@gmail.com