Jump to content

Help with rune counting.. Droidz you are needed. xP


Ohren

Recommended Posts

I am working on my Frost DK Wrotation, and the rune count condition just doesn't work for me... I have managed to get this far..

for i=1,6 do _, _, a = GetRuneCooldown(i);print(a) end

It returns true or false for all 6 runes. Now how do I get to count all that into a numerical variable named returnVar so I can actually use it for my fight class?

 

EDIT:

j = 0;for i=1,6 do _, _, a = GetRuneCooldown(i); if a == true then j = j + 1; end end if j >= 3 then b = 1; end

This seems to work awesome

Link to comment
Share on other sites

I have fixed problem (in next update, runes condition is fixed (return number of runes ready), and I have added conditions RuneReadySlot1(to 6) (return true if rune no used).

 

Ps: I have also added in Dev tools "Memory informations", this extract all informations about player (mana, life, ....)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...