diff --git a/RaidNotifier.lua b/RaidNotifier.lua index 1f1fe67..0c67839 100644 --- a/RaidNotifier.lua +++ b/RaidNotifier.lua @@ -5,7 +5,7 @@ local RaidNotifier = RaidNotifier RaidNotifier.Name = "RaidNotifier" RaidNotifier.DisplayName = "Raid Notifier" -RaidNotifier.Version = "2.21" +RaidNotifier.Version = "2.21.1" RaidNotifier.Author = "|c009ad6Kyoma, Memus, Woeler, silentgecko|r" RaidNotifier.SV_Name = "RNVars" RaidNotifier.SV_Version = 4 @@ -528,10 +528,10 @@ do ---------------------- or GetAbilityDuration(abilityId) < 600000 then return false end - local cost, mechanic = GetAbilityCost(abilityId) + local cost = GetAbilityCost(abilityId) local channeled, castTime = GetAbilityCastInfo(abilityId) local minRangeCM, maxRangeCM = GetAbilityRange(abilityId) - if cost > 0 or mechanic > 0 or channeled or castTime > 0 or minRangeCM > 0 or maxRangeCM > 0 or GetAbilityDescription(abilityId) == "" then + if cost > 0 or channeled or castTime > 0 or minRangeCM > 0 or maxRangeCM > 0 or GetAbilityDescription(abilityId) == "" then return false end return true diff --git a/RaidNotifier.txt b/RaidNotifier.txt index c88171e..1e2c145 100644 --- a/RaidNotifier.txt +++ b/RaidNotifier.txt @@ -1,8 +1,8 @@ ## Title: |cEFEBBERaidNotifier|r ## Description: Displays on-screen notifications on different events during trials. ## Author: |c009ad6Kyoma, Memus, Woeler, silentgecko|r -## Version: 2.21 -## APIVersion: 101033 +## Version: 2.21.1 +## APIVersion: 101034 ## SavedVariables: RNVars RN_DEBUG_LOG ## DependsOn: LibAddonMenu-2.0>=28 LibUnits2 ## OptionalDependsOn: LibGroupSocket