From 0c8d0aac361dfcd32c4dc36c5297b6c3f87194fe Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Sat, 3 May 2014 00:25:11 +0000 Subject: [PATCH] Hunters also have a 1s GCD. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1351 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCooldown.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/OvaleCooldown.lua b/OvaleCooldown.lua index 0d4a4b6..491cc6e 100644 --- a/OvaleCooldown.lua +++ b/OvaleCooldown.lua @@ -1,7 +1,7 @@ --[[-------------------------------------------------------------------- Ovale Spell Priority Copyright (C) 2012 Sidoine - Copyright (C) 2012, 2013 Johnny C. Lam + Copyright (C) 2012, 2013, 2014 Johnny C. Lam This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License in the LICENSE @@ -57,6 +57,8 @@ function OvaleCooldown:GetGCD(spellId) cd = 1.0 elseif self_class == "DRUID" and OvaleStance:IsStance("druid_cat_form") then cd = 1.0 + elseif self_class == "HUNTER" then + cd = 1.0 elseif self_class == "MONK" then cd = 1.0 elseif self_class == "ROGUE" then @@ -75,6 +77,8 @@ function OvaleCooldown:GetGCD(spellId) if si.haste then if si.haste == "melee" then cd = cd / OvalePaperDoll:GetMeleeHasteMultiplier() + elseif si.haste == "ranged" then + cd = cd / OvalePaperDoll:GetRangedHasteMultiplier() elseif si.haste == "spell" then cd = cd / OvalePaperDoll:GetSpellHasteMultiplier() end -- 1.7.9.5