I added some code to my bot to do some auto combating for raids. The problem i have seeing is that the energy regen does not appear to update in the Unit_Field_Power4 offest "smoothly".
I set up a test loop to read and display the energy and combo points in a loop an went to the target dummy to verify what i thought was happening. I also timed the loop and put a sleep(250) so that things were more readable.
Here is what a section of the output looks like.
[9:07:03 PM] .255 sec Energy = 100 / 1
[9:07:03 PM] .253 sec Energy = 100 / 1
[9:07:03 PM] .256 sec Energy = 45 / 4 ; I hit mutilate
[9:07:03 PM] .255 sec Energy = 45 / 4
[9:07:04 PM] .254 sec Energy = 50 / 4
[9:07:04 PM] .253 sec Energy = 50 / 4
[9:07:04 PM] .253 sec Energy = 50 / 4
[9:07:04 PM] .255 sec Energy = 56 / 0
[9:07:05 PM] .254 sec Energy = 39 / 0 ; I hit Rupture
[9:07:05 PM] .253 sec Energy = 39 / 0
[9:07:05 PM] .256 sec Energy = 39 / 0
[9:07:05 PM] .254 sec Energy = 39 / 0 ; what creates 12 energy in .254 seconds ?? I am not using TOT
[9:07:06 PM] .254 sec Energy = 51 / 0
[9:07:06 PM] .253 sec Energy = 51 / 0
[9:07:06 PM] .264 sec Energy = 51 / 0 ; i hit hunger for blood
[9:07:07 PM] .254 sec Energy = 42 / 0
[9:07:07 PM] .269 sec Energy = 42 / 0
[9:07:07 PM] .255 sec Energy = 42 / 0
[9:07:07 PM] .254 sec Energy = 44 / 0
[9:07:08 PM] .254 sec Energy = 60 / 0 ; what creates 16 energy in .254 seconds??
[9:07:08 PM] .254 sec Energy = 60 / 0
Thoughts?