Skip to content

Commit

Permalink
v9.1.5 - Azerite Essence support dropped
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaminariss committed Nov 3, 2021
1 parent 5fb9e9b commit 046946a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 33 deletions.
26 changes: 0 additions & 26 deletions Helper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -291,32 +291,6 @@ function MaxDps:GetAzeriteEssences()

local result = self.AzeriteEssences;

local milestones = C_AzeriteEssence.GetMilestones();
if not milestones then
return result;
end

for i, milestoneInfo in ipairs(milestones) do
local spellId = C_AzeriteEssence.GetMilestoneSpell(milestoneInfo.ID);
local essenceId = C_AzeriteEssence.GetMilestoneEssence(milestoneInfo.ID);
if milestoneInfo.unlocked then
if milestoneInfo.slot == Enum.AzeriteEssence.MainSlot then
-- Major
if essenceId and spellId then
local realSpellId = FindSpellOverrideByID(spellId);
result.major = realSpellId;
end
elseif milestoneInfo.slot == Enum.AzeriteEssence.PassiveOneSlot or
milestoneInfo.slot == Enum.AzeriteEssence.PassiveTwoSlot
then
if essenceId and spellId then
local realSpellId = FindSpellOverrideByID(spellId);
result.minor[realSpellId] = true;
end
end
end
end

return result;
end

Expand Down
4 changes: 2 additions & 2 deletions MaxDps.toc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## Title: MaxDps
## Notes: Rotation helper framework.
## Version: 9.0.5.1
## Version: 9.1.5
## Author: Kaminaris
## Interface: 90005
## Interface: 90105
## SavedVariables: MaxDpsOptions
## OptionalDependencies: Bartender4, ElvUI, ButtonForge, SVUI_ActionBars, G15Buttons, SyncUI, LUI, Dominos, DiabolicUI, Neuron
## X-Curse-Project-ID: 91970
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Discord for support: [https://discord.gg/wCSj5SD](https://discord.gg/wCSj5SD)
[![](https://i.postimg.cc/g2R7fKHG/discord.png)](https://discord.gg/wCSj5SD)
### Forum: http://maxdps.net
### Forum: [http://maxdps.net](http://maxdps.net)


This addon provides support for highlighting spells on action bars and have support for various DPS helper functions. Donations are welcome & appreciated!
Expand All @@ -13,10 +13,10 @@ This addon provides support for highlighting spells on action bars and have supp

**Optional** WeakAuras

* Main Rotation: https://wago.io/aP7Sr4WhN
* Cooldown: https://wago.io/4p-Zo5TVC
* Enemy Count: https://wago.io/Cwl5X4N2E
* Time To Die: https://wago.io/aBrDFZxRz
* [Main Rotation](https://wago.io/aP7Sr4WhN)
* [Cooldown](https://wago.io/4p-Zo5TVC)
* [Enemy Count](https://wago.io/Cwl5X4N2E)
* [Time To Die](https://wago.io/aBrDFZxRz)

---

Expand Down

0 comments on commit 046946a

Please sign in to comment.