Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Add persistent warning for users at level 50 or above with too few Zo…
Browse files Browse the repository at this point in the history
…neAbilityButtons
  • Loading branch information
brittyazel committed Nov 23, 2020
1 parent b8b4558 commit 2bc026e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Neuron.lua
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,6 @@ end
function Neuron:LoginMessage()
--displays a info window on login for either fresh installs or updates
if not DB.updateWarning or DB.updateWarning ~= LATEST_VERSION_NUM then

print(" ")
Neuron:Print(WrapTextInColorCode("IMPORTANT: Shadowlands content now requires multiple Zone Ability Buttons. Please add at least 3 buttons to your Zone Ability Bar to support this new functionality.", "FF00FFEC"))
Neuron:Print(WrapTextInColorCode("If you do not, YOU WILL HAVE A BAD TIME in Shadowlands.", "FF00FFEC"))

print(" ")

if not IsAddOnLoaded("Masque") then
print(" ")
print(" You do not currently have Masque installed or enabled.")
Expand All @@ -374,6 +367,13 @@ function Neuron:LoginMessage()
Neuron:Print("Warning: You do not currently have a specialization selected. Changes to any buttons which have 'Multi Spec' set will not persist.")
print(" ")
end

--Shadowlands warning that will show as long as a player has one button on their ZoneAbilityBar for Shadowlands content
if not Neuron.isWoWClassic and UnitLevel("player") >= 50 and Neuron.db.profile.ZoneAbilityBar[1] and #Neuron.db.profile.ZoneAbilityBar[1].buttons == 1 then
print(" ")
Neuron:Print(WrapTextInColorCode("IMPORTANT: Shadowlands content now requires multiple Zone Ability Buttons. Please add at least 3 buttons to your Zone Ability Bar to support this new functionality.", "FF00FFEC"))
print(" ")
end
end


Expand Down

0 comments on commit 2bc026e

Please sign in to comment.