Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
noname08662 authored Jan 30, 2025
1 parent 85c68cd commit 61639ab
Show file tree
Hide file tree
Showing 13 changed files with 175 additions and 90 deletions.
2 changes: 1 addition & 1 deletion ElvUI_Extras.lua
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ core.SpellLists = {
[50334] = 180, -- Berserk
[50516] = 17, -- Typhoon
[33831] = 180, -- Force of Nature
[53201] = 60, -- Starfall
[8983] = 50, -- Bash
[29166] = 180, -- Innervate
-- [53201] = 60, -- Starfall
-- [22570] = 10, -- Maim
-- [18562] = 15, -- Swiftmend
-- [22842] = 180, -- Frenzied Regeneration
Expand Down
4 changes: 3 additions & 1 deletion Locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ L["Remove Texture"] = "Textur entfernen"
L["Highlights"] = "Hervorhebungen"
L["Select Type"] = "Typ auswählen"
L["Highlights Settings"] = "Einstellungen für Hervorhebungen"
L["Add Spell (by ID)"] = "Zauber hinzufügen (nach ID)"
L["Add Filter"] = "Filter hinzufügen"
L["Remove Selected"] = "Ausgewählte entfernen"
L["Select Spell or Filter"] = "Zauber oder Filter auswählen"
Expand Down Expand Up @@ -1137,3 +1136,6 @@ L["Add Item (ID)"] = "Artikel hinzufügen (ID)"
L["Item Text"] = "Artikeltext"
L["Sort by Filter"] = "Nach Filter sortieren"
L["Makes aura sorting abide filter priorities."] = "Sortiert Auren gemäß der Filterprioritäten."
L["Add Spell"] = "Zauber hinzufügen"
L["Format: 'spellID cooldown time',\ne.g. 42292 120\nor\nSpellName 20"] =
"Format: 'ZauberID Abklingzeit',\nz. B. 42292 120\noder\nZauberName 20"
5 changes: 3 additions & 2 deletions Locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ L["Remove Texture"] = true
L["Highlights"] = true
L["Select Type"] = true
L["Highlights Settings"] = true
L["Add Spell (by ID)"] = true
L["Add Filter"] = true
L["Remove Selected"] = true
L["Select Spell or Filter"] = true
Expand Down Expand Up @@ -925,4 +924,6 @@ L["Select Item"] = true
L["Add Item (ID)"] = true
L["Item Text"] = true
L["Sort by Filter"] = true
L["Makes aura sorting abide filter priorities."] = true
L["Makes aura sorting abide filter priorities."] = true
L["Add Spell"] = true
L["Format: 'spellID cooldown time',\ne.g. 42292 120\nor\nSpellName 20"] = true
5 changes: 3 additions & 2 deletions Locales/esMX.lua
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ L["Remove Texture"] = "Eliminar Textura"
L["Highlights"] = "Destacar"
L["Select Type"] = "Seleccionar Tipo"
L["Highlights Settings"] = "Configuraciones de Destacar"
L["Add Spell (by ID)"] = "Agregar Hechizo (por ID)"
L["Add Filter"] = "Agregar Filtro"
L["Remove Selected"] = "Eliminar Seleccionado"
L["Select Spell or Filter"] = "Seleccionar Hechizo o Filtro"
Expand Down Expand Up @@ -1142,4 +1141,6 @@ L["Add Item (ID)"] = "Agregar artículo (ID)"
L["Item Text"] = "Texto del artículo"
L["Sort by Filter"] = "Ordenar por filtro"
L["Makes aura sorting abide filter priorities."] = "Hace que la ordenación de auras respete las prioridades del filtro."

L["Add Spell"] = "Añadir hechizo"
L["Format: 'spellID cooldown time',\ne.g. 42292 120\nor\nSpellName 20"] =
"Formato: 'ID de hechizo tiempo de reutilización',\np. ej. 42292 120\no\nNombreHechizo 20"
4 changes: 3 additions & 1 deletion Locales/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ L["Remove Texture"] = "Supprimer une texture"
L["Highlights"] = "Surbrillance"
L["Select Type"] = "Sélectionner le Type"
L["Highlights Settings"] = "Paramètres de Surbrillance"
L["Add Spell (by ID)"] = "Ajouter un Sort (par ID)"
L["Add Filter"] = "Ajouter un Filtre"
L["Remove Selected"] = "Supprimer la Sélection"
L["Select Spell or Filter"] = "Sélectionner un Sort ou un Filtre"
Expand Down Expand Up @@ -1143,3 +1142,6 @@ L["Add Item (ID)"] = "Ajouter un article (ID)"
L["Item Text"] = "Texte de l'article"
L["Sort by Filter"] = "Trier par filtre"
L["Makes aura sorting abide filter priorities."] = "Fait en sorte que le tri des auras respecte les priorités des filtres."
L["Add Spell"] = "Ajouter un sort"
L["Format: 'spellID cooldown time',\ne.g. 42292 120\nor\nSpellName 20"] =
"Format : 'IDSort TempsRecharge',\nex. 42292 120\nou\nNomSort 20"
4 changes: 3 additions & 1 deletion Locales/koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ L["Remove Texture"] = "텍스처 제거"
L["Highlights"] = "강조"
L["Select Type"] = "유형 선택"
L["Highlights Settings"] = "강조 설정"
L["Add Spell (by ID)"] = "주문 추가 (ID로)"
L["Add Filter"] = "필터 추가"
L["Remove Selected"] = "선택 항목 제거"
L["Select Spell or Filter"] = "주문 또는 필터 선택"
Expand Down Expand Up @@ -1141,3 +1140,6 @@ L["Add Item (ID)"] = "아이템 추가 (ID)"
L["Item Text"] = "아이템 텍스트"
L["Sort by Filter"] = "필터별 정렬"
L["Makes aura sorting abide filter priorities."] = "오라 정렬이 필터 우선순위를 따르도록 설정합니다."
L["Add Spell"] = "주문 추가"
L["Format: 'spellID cooldown time',\ne.g. 42292 120\nor\nSpellName 20"] =
"형식: '주문ID 재사용 대기시간',\n예: 42292 120\n또는\n주문이름 20"
4 changes: 3 additions & 1 deletion Locales/ptBR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ L["Remove Texture"] = "Remover Textura"
L["Highlights"] = "Destaques"
L["Select Type"] = "Selecionar Tipo"
L["Highlights Settings"] = "Configurações de Destaques"
L["Add Spell (by ID)"] = "Adicionar Feitiço (por ID)"
L["Add Filter"] = "Adicionar Filtro"
L["Remove Selected"] = "Remover Selecionado"
L["Select Spell or Filter"] = "Selecionar Feitiço ou Filtro"
Expand Down Expand Up @@ -1140,3 +1139,6 @@ L["Add Item (ID)"] = "Adicionar item (ID)"
L["Item Text"] = "Texto do item"
L["Sort by Filter"] = "Ordenar por filtro"
L["Makes aura sorting abide filter priorities."] = "Faz com que a organização de auras siga as prioridades do filtro."
L["Add Spell"] = "Adicionar feitiço"
L["Format: 'spellID cooldown time',\ne.g. 42292 120\nor\nSpellName 20"] =
"Formato: 'IDFeitiço tempo de recarga',\nex: 42292 120\nou\nNomeFeitiço 20"
4 changes: 3 additions & 1 deletion Locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,6 @@ L["Remove Texture"] = "Удалить текстуру"
L["Highlights"] = "Подсветка"
L["Select Type"] = "Выбрать Тип"
L["Highlights Settings"] = "Настройки Подсветки"
L["Add Spell (by ID)"] = "Добавить Заклинание (по ID)"
L["Add Filter"] = "Добавить Фильтр"
L["Remove Selected"] = "Удалить Выбранное"
L["Select Spell or Filter"] = "Выбрать Заклинание или Фильтр"
Expand Down Expand Up @@ -1141,3 +1140,6 @@ L["Add Item (ID)"] = "Добавить предмет (ID)"
L["Item Text"] = "Текст предмета"
L["Sort by Filter"] = "Сортировка по фильтру"
L["Makes aura sorting abide filter priorities."] = "Сортировка аур в соответствии с приоритетами фильтра."
L["Add Spell"] = "Добавить заклинание"
L["Format: 'spellID cooldown time',\ne.g. 42292 120\nor\nSpellName 20"] =
"Формат: 'ID заклинания время восстановления',\nнапример, 42292 120\nили\nНазваниеЗаклинания 20"
4 changes: 3 additions & 1 deletion Locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ L["Remove Texture"] = "移除纹理"
L["Highlights"] = "高亮"
L["Select Type"] = "选择类型"
L["Highlights Settings"] = "高亮设置"
L["Add Spell (by ID)"] = "添加法术(按ID)"
L["Add Filter"] = "添加过滤器"
L["Remove Selected"] = "移除选中"
L["Select Spell or Filter"] = "选择法术或过滤器"
Expand Down Expand Up @@ -1137,3 +1136,6 @@ L["Add Item (ID)"] = "添加物品 (ID)"
L["Item Text"] = "物品文本"
L["Sort by Filter"] = "按过滤器排序"
L["Makes aura sorting abide filter priorities."] = "使光环排序遵循过滤器优先级。"
L["Add Spell"] = "添加法术"
L["Format: 'spellID cooldown time',\ne.g. 42292 120\nor\nSpellName 20"] =
"格式: '法术ID 冷却时间',\n例如 42292 120\n\n法术名称 20"
4 changes: 3 additions & 1 deletion Locales/zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ L["Remove Texture"] = "移除材質"
L["Highlights"] = "重點"
L["Select Type"] = "選擇類型"
L["Highlights Settings"] = "重點設置"
L["Add Spell (by ID)"] = "添加法術(按ID)"
L["Add Filter"] = "添加過濾器"
L["Remove Selected"] = "移除選擇"
L["Select Spell or Filter"] = "選擇法術或過濾器"
Expand Down Expand Up @@ -1137,3 +1136,6 @@ L["Add Item (ID)"] = "添加物品 (ID)"
L["Item Text"] = "物品文字"
L["Sort by Filter"] = "依過濾條件排序"
L["Makes aura sorting abide filter priorities."] = "使光環排序遵循過濾條件的優先順序。"
L["Add Spell"] = "添加法術"
L["Format: 'spellID cooldown time',\ne.g. 42292 120\nor\nSpellName 20"] =
"格式: '法術ID 冷卻時間',\n例如 42292 120\n\n法術名稱 20"
6 changes: 3 additions & 3 deletions Modules/Nameplates/Auras.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local iconPositions = {}
local pairs, ipairs, unpack, type, tonumber, tostring = pairs, ipairs, unpack, type, tonumber, tostring
local tinsert, tsort, twipe = table.insert, table.sort, table.wipe
local floor, ceil, min, max, abs = math.floor, math.ceil, math.min, math.max, math.abs
local find, gmatch, match, gsub, format, split = string.find, string.gmatch, string.match, string.gsub, string.format, string.split
local find, gmatch, match, gsub, format, split, trim = string.find, string.gmatch, string.match, string.gsub, string.format, string.split, string.trim
local GetTime, DebuffTypeColor, UnitCanAttack, GetSpellInfo, GetSpellLink, CreateFrame = GetTime, DebuffTypeColor, UnitCanAttack, GetSpellInfo, GetSpellLink, CreateFrame

local dispellList, purgeList = core.DispellList[E.myclass], core.PurgeList[E.myclass]
Expand Down Expand Up @@ -527,7 +527,7 @@ function mod:LoadConfig(db)
desc = L["E.g. 42292"],
get = function() return "" end,
set = function(_, value)
local spellID = match(value, '%D*(%d+)%D*')
local spellID = trim(match(value, '%D*(%d+)%D*'))
if spellID and GetSpellInfo(spellID) then
db.Highlights.types[selectedType()].spellList[tonumber(spellID)] = {
["border"] = false,
Expand Down Expand Up @@ -1151,7 +1151,7 @@ function mod:SetAura(frame, guid, index, filter, isDebuff, visible)
if not db.enabled then return end

local dtype = button.dtype
local dbSpell = db.spellList[spellID]
local dbSpell = db.spellList[spellID] or db.spellList[name]
local unstableAffliction = GetSpellInfo(30108)
local vampiricTouch = GetSpellInfo(34914)
if dbSpell then
Expand Down
Loading

0 comments on commit 61639ab

Please sign in to comment.