From 96ed59331e72c00d59345e10c15e8c9751ffe365 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Sat, 3 May 2014 00:25:19 +0000 Subject: [PATCH] If "gcd=N" is specified in SpellInfo, then use that value directly. This allows for special GCD values that are less than the base or even 1s GCD of some classes. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1352 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCooldown.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvaleCooldown.lua b/OvaleCooldown.lua index 491cc6e..6ba4aae 100644 --- a/OvaleCooldown.lua +++ b/OvaleCooldown.lua @@ -72,7 +72,7 @@ function OvaleCooldown:GetGCD(spellId) if spellId and OvaleData.spellInfo[spellId] then local si = OvaleData.spellInfo[spellId] if si.gcd then - cd = si.gcd + return si.gcd end if si.haste then if si.haste == "melee" then -- 1.7.9.5