Merge pull request #18 from jrc13245/main

make buff and debuff validations exact buff names and not string parts
This commit is contained in:
Torio
2025-11-11 11:07:51 -05:00
committed by GitHub
+2 -2
View File
@@ -622,7 +622,7 @@ function CleveRoids.ValidateAura(unit, args, isbuff)
if current_spellID then
local auraName = SpellInfo(current_spellID)
if auraName and args.name then
if string.find(string.lower(auraName), string.lower(args.name), 1, true) then
if string.lower(auraName) == string.lower(args.name) then
found = true
break
end
@@ -646,7 +646,7 @@ function CleveRoids.ValidateAura(unit, args, isbuff)
if current_spellID then
local auraName = SpellInfo(current_spellID)
if auraName and args.name then
if string.find(string.lower(auraName), string.lower(args.name), 1, true) then
if string.lower(auraName) == string.lower(args.name) then
found = true
break
end