Skip to content

Commit

Permalink
Merge pull request #85 from MysteryDragon/foodbuff-check-hotfix
Browse files Browse the repository at this point in the history
Version 2.21.1: Fixing UI error that appears during foodbuff duration check (+API version bump)
  • Loading branch information
memus authored Jun 8, 2022
2 parents 5f3f715 + 502fa97 commit 278a7f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions RaidNotifier.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions RaidNotifier.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 278a7f1

Please sign in to comment.