Ohren 106 Posted September 18, 2013 Share Posted September 18, 2013 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 Droidz 1 Link to comment https://wrobot.eu/forums/topic/738-help-with-rune-counting-droidz-you-are-needed-xp/ Share on other sites More sharing options...
Droidz 2738 Posted September 18, 2013 Share Posted September 18, 2013 Hi, I'll add in next update new conditions for rune power. Link to comment https://wrobot.eu/forums/topic/738-help-with-rune-counting-droidz-you-are-needed-xp/#findComment-4157 Share on other sites More sharing options...
Droidz 2738 Posted September 18, 2013 Share Posted September 18, 2013 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 https://wrobot.eu/forums/topic/738-help-with-rune-counting-droidz-you-are-needed-xp/#findComment-4160 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now