mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
Merge pull request #18 from jrc13245/main
make buff and debuff validations exact buff names and not string parts
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user