Quantcast

Add debugging message for when a spell is delayed waiting for power.

Johnny C. Lam [05-03-14 - 00:26]
Add debugging message for when a spell is delayed waiting for power.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1359 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleBestAction.lua
diff --git a/OvaleBestAction.lua b/OvaleBestAction.lua
index 8dcd6b8..263294c 100644
--- a/OvaleBestAction.lua
+++ b/OvaleBestAction.lua
@@ -775,6 +775,7 @@ function OvaleBestAction:GetActionInfo(element, state)
 				end
 				if actionCooldownStart > 0 then
 					if atTime > actionCooldownStart + actionCooldownDuration then
+						Ovale:Logf("Delaying spell %s for primary resource.", spellId)
 						actionCooldownDuration = atTime - actionCooldownStart
 					end
 				else