This commit is contained in:
Bunny67
2020-07-11 00:30:33 +03:00
parent 6a7003b535
commit c62e890bd2
2 changed files with 2 additions and 3 deletions
+1
View File
@@ -49,6 +49,7 @@ globals = {
"IsInRaid",
"GetNumSubgroupMembers",
"GetNumGroupMembers",
"GetClassColoredTextForUnit",
"nop",
"ActorPoolMixin",
+1 -3
View File
@@ -3888,9 +3888,7 @@ do
local class = select(2, UnitClass("player"))
if class == "DRUID" then
function WeakAuras.CalculatedGcdDuration()
local id = GetShapeshiftFormID()
local haste = GetHaste()
return id == 1 and 1 or max(0.75, 1.5 * 100 / (100 + GetCombatRatingBonus(CR_HASTE_SPELL)))
return GetShapeshiftForm() == 3 and 1 or max(0.75, 1.5 * 100 / (100 + GetCombatRatingBonus(CR_HASTE_SPELL)))
end
elseif class == "ROGUE" then
function WeakAuras.CalculatedGcdDuration()