Skip to content

Commit

Permalink
Slight Totem function update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vae2009 committed Oct 8, 2024
1 parent 8480c64 commit 38d896c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ConRO.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Title:-|cffFFFFFFConRO|r- Conflict Rotation Optimizer
## Notes: Rotation helper framework.
## Version: 11.0.0
## Version: 11.0.1
## Author: Vae
## Interface: 110002
## SavedVariables: ConROPreferences
Expand Down
2 changes: 1 addition & 1 deletion core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ ConRO.Classes = {

local defaultOptions = {
profile = {
_Disable_Info_Messages = false,
_Disable_Info_Messages = true,
_Intervals = 0.20,
_Unlock_ConRO = true,

Expand Down
7 changes: 6 additions & 1 deletion helper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,12 @@ function ConRO:PetAssist()
end

function ConRO:Totem(spellID)
local spellName = GetSpellInfo(spellID)
local spellInfo = C_Spell.GetSpellInfo(spellID)
if not spellInfo then
return false
end

local spellName = spellInfo.name
for i=1,4 do
local _, totemName, startTime, duration = GetTotemInfo(i);
if spellName == totemName then
Expand Down

0 comments on commit 38d896c

Please sign in to comment.