Skip to content

Commit

Permalink
Update rotation.lua
Browse files Browse the repository at this point in the history
cleaned up code
  • Loading branch information
trukadukbwr authored Jul 20, 2024
1 parent ace128c commit 0120f14
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions CLCRet/retmodule/rotation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ end
-- C_Spell.IsSpellUsable()
-- C_Spell.GetSpellCooldown()
-- IsPlayerSpell() -- use this one to check for talent spells in the tree
-- Dummy spell for GCD = 61304

-- costs = GetSpellPowerCost(255937)

Expand Down Expand Up @@ -368,7 +369,7 @@ local actions = {
woa = {
id = idWakeOfAshes,
GetCD = function()

-- local strings for less confusing code
knownWOA = IsSpellKnownOrOverridesKnown(idWakeOfAshes)
usableWOA = C_Spell.IsSpellUsable(idWakeOfAshes)
Expand Down Expand Up @@ -1155,11 +1156,8 @@ local actions = {
},

}

-- -----------------------------------------------------------------------------



local function UpdateQueue()
-- normal queue
qn = {}
Expand Down Expand Up @@ -1248,6 +1246,7 @@ local function GetStatus()
-- -----------------------
s_hp = UnitPower("player", 9)
s_haste = 1 + UnitSpellHaste("player") / 100

end

-- remove all talents not available and present in rotation
Expand Down

0 comments on commit 0120f14

Please sign in to comment.