976
Script Debug / Re: Primary Ability
« on: January 09, 2011, 09:46:36 PM »
Armor ignore wont work the way I have my lightning strike setup. My lightning strike setup is a little obscure, but it works well. I start off by setting the !lstrikeOn #false outside of the main module, that way one of the main triggers is active for the if conditional, !lstrikeOn is the controlled by my journal scanner, it is set #true when it reads "You prepare to strike quickly" then once it hits, and reads "You attack with lightning precision" it is set to #false, this way even if I miss an attack it doesn't overlap itself and cancel the LS. %useLS is activated through a menu. !useLstrike is set to true when I am under 24 mana.
The issue with primary abilities is that there is no message like there is for LS, which is "You prepare to strike quickly" therefor I cannot run my script like that. What I need it to do, is activate the ability, then recognize that it is active, skipping that sub until it is no longer active (IE: my AI struck) thus preventing it from just spamming
With my sampire, I have been able to AI up to 17 times in a row, and I can generally AI atleast 6 times in a row before needing to utilize LS/Momentum Strike/Whirlwind to regain mana. However she only has a small mana pool of 72 mana. Her weapons have 55-62% mana leach, and at 140-153 damage AI's. That is alot of mana back.
The issue with primary abilities is that there is no message like there is for LS, which is "You prepare to strike quickly" therefor I cannot run my script like that. What I need it to do, is activate the ability, then recognize that it is active, skipping that sub until it is no longer active (IE: my AI struck) thus preventing it from just spamming
Code: [Select]
event macro 35 0
which would just turn my primary ability off and on over and over.With my sampire, I have been able to AI up to 17 times in a row, and I can generally AI atleast 6 times in a row before needing to utilize LS/Momentum Strike/Whirlwind to regain mana. However she only has a small mana pool of 72 mana. Her weapons have 55-62% mana leach, and at 140-153 damage AI's. That is alot of mana back.