more for auras
Darthpred [09-01-15 - 04:35]
diff --git a/ElvUI_SLE/locales/russian.lua b/ElvUI_SLE/locales/russian.lua
index bc531b2..4a681fa 100644
--- a/ElvUI_SLE/locales/russian.lua
+++ b/ElvUI_SLE/locales/russian.lua
@@ -133,6 +133,7 @@ L["Hide Debuff Timer"] = "Спрятать таймеры дебаффов"
L["This hides the time remaining for your debuffs."] = "Скрывает текст оставшегося времени действия около дебаффов"
L["Mark Your Consolidated Buffs"] = "Отмечать ваши объединенные эффекты"
L["Create a mark bar on a consolidated buffs bar's icons for buffs your class can provide."] = "Создавать метку в полосе объединенных эффектов на иконках, бафф которых может предоставить ваш класс."
+L["You are in combat, Consolidated Buffs Bars will be updated upon leaving it"] = "Вы в бою. Полоса объединенных эффектов будет обновлена по его окончанию."
--Autoreleas--
L["PvP Auto Release"] = "Автоматический выход из тела"
diff --git a/ElvUI_SLE/modules/auras.lua b/ElvUI_SLE/modules/auras.lua
index cf5b052..14ca2dc 100644
--- a/ElvUI_SLE/modules/auras.lua
+++ b/ElvUI_SLE/modules/auras.lua
@@ -232,7 +232,7 @@ function AT:BuildCasts(event, unit)
return
end
if event == "PLAYER_REGEN_ENABLED" then f:UnregisterEvent(event) end
- if E.myclass == "MONK" then
+ if E.myclass == "MONK" and GetSpecialization() then
twipe(AT.Spells["MONK"])
if GetSpecialization() == 2 then
AT.Spells["MONK"][1] = GetSpell(115921)
@@ -291,7 +291,7 @@ function AT:Initialize()
self:RegisterEvent("UNIT_AURA", "UpdateAuraStandings")
self:RegisterEvent("ACTIVE_TALENT_GROUP_CHANGED", "BuildCasts")
self:RegisterEvent("PLAYER_SPECIALIZATION_CHANGED", "BuildCasts")
- -- self:RegisterEvent("UNIT_LEVEL", "BuildCasts")
+ self:RegisterEvent("UNIT_LEVEL", "BuildCasts")
self:RegisterEvent("PLAYER_REGEN_DISABLED", "UpdateAuraStandings")
C_Timer.After(5, AT.BuildCasts)