oops
This commit is contained in:
@@ -49,6 +49,7 @@ globals = {
|
|||||||
"IsInRaid",
|
"IsInRaid",
|
||||||
"GetNumSubgroupMembers",
|
"GetNumSubgroupMembers",
|
||||||
"GetNumGroupMembers",
|
"GetNumGroupMembers",
|
||||||
|
"GetClassColoredTextForUnit",
|
||||||
|
|
||||||
"nop",
|
"nop",
|
||||||
"ActorPoolMixin",
|
"ActorPoolMixin",
|
||||||
|
|||||||
@@ -3888,9 +3888,7 @@ do
|
|||||||
local class = select(2, UnitClass("player"))
|
local class = select(2, UnitClass("player"))
|
||||||
if class == "DRUID" then
|
if class == "DRUID" then
|
||||||
function WeakAuras.CalculatedGcdDuration()
|
function WeakAuras.CalculatedGcdDuration()
|
||||||
local id = GetShapeshiftFormID()
|
return GetShapeshiftForm() == 3 and 1 or max(0.75, 1.5 * 100 / (100 + GetCombatRatingBonus(CR_HASTE_SPELL)))
|
||||||
local haste = GetHaste()
|
|
||||||
return id == 1 and 1 or max(0.75, 1.5 * 100 / (100 + GetCombatRatingBonus(CR_HASTE_SPELL)))
|
|
||||||
end
|
end
|
||||||
elseif class == "ROGUE" then
|
elseif class == "ROGUE" then
|
||||||
function WeakAuras.CalculatedGcdDuration()
|
function WeakAuras.CalculatedGcdDuration()
|
||||||
|
|||||||
Reference in New Issue
Block a user