From 501d054bc6df60dc5bbf0f353ede2a1e83cd705a Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Thu, 8 May 2014 17:26:25 +0000 Subject: [PATCH] Document return values for state:RuneCount(). git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1399 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleRunes.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OvaleRunes.lua b/OvaleRunes.lua index bba6657..3a8fa83 100644 --- a/OvaleRunes.lua +++ b/OvaleRunes.lua @@ -328,6 +328,10 @@ statePrototype.ConsumeRune = function(state, atTime, name, snapshot) end end +-- Returns a triplet of count, startCooldown, endCooldown: +-- count The number of currently active runes of the given type. +-- startCooldown The time at which the next rune of the given type went on cooldown. +-- endCooldown The time at which the next rune of the given type will be active. statePrototype.RuneCount = function(state, name, death) local count = 0 local startCooldown, endCooldown = math.huge, math.huge -- 1.7.9.5