Openkore.com
http://forums.openkore.com/

Macro for Mechanic/BS/WS Power Maximize Skill
http://forums.openkore.com/viewtopic.php?f=32&t=15400
Page 1 of 1

Author:  berserkerhida [ 15 Jul 2011, 12:06 ]
Post subject:  Macro for Mechanic/BS/WS Power Maximize Skill

Hi,

This is my first time to write a macro and as expected only half of the macro actually works. :?
I can't seem to make the second auto macro to trigger. :?

I also tried writting a second auto macro just to deactivating the skill once there is no more aggressives but I haven't tested it yet.

This is the macro I written so far

###############################################################
automacro Power_Maximize_Initiate {

aggressives > 0

status not Power Maximize

console /(Y|y)ou are now attacking (M|m)onster/

call {

do ss 114 5

log Power Maximize Initiated

}

run-once 1

}



automacro Power_Maximize_Deactivate {

aggressives = 0

status Power Maximize

console /(Target died | Target lost)/

call {

do ss 114 5

log Power Maximize Deactivated

pause 2

release Power_Maximize_Initiate

}

Timeout 10

}
###############################################################
automacro PMaxDeactivate {

console /(Y|y)ou are sitting/

call NoMoreAggro

timeout 10

}



macro NoMoreAggro {

$num = aggressives

while ($num >= 1) as loop

log \$num aggressive monters

end loop

if ($num == 0) goto deactivate

:deactivate

do 114 5

log Power Maximize deactivated

stop

}
###############################################################

Feel free to tell me if there is anything wrong with the macro. I will appreciate any constructive criticism on my work. :)

Thank you in advance.

Author:  Schwarzschild [ 28 Jul 2011, 04:58 ]
Post subject:  Re: Macro for Mechanic/BS/WS Power Maximize Skill

you should read this before posting macro.

anyway, AFAIK lv 5 maximize power drains 1sp every 5 seconds. is that bothering you? :o it will covered by sp regen, unless you in 50% weight but you are setting your bot to sit right? that means your bot will always not in 50% weight condition. am i missing something?


CMIIW

Author:  Jamakenjelly [ 14 Jun 2018, 13:31 ]
Post subject:  Re: Macro for Mechanic/BS/WS Power Maximize Skill

works good thanks

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/