Skip to content

Commit

Permalink
[LibHealComm] Fix in case LHC is used on Classic Era realms
Browse files Browse the repository at this point in the history
  • Loading branch information
EsreverWoW committed Sep 15, 2021
1 parent aca7d28 commit cbc8d3e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ShestakUI/Libs/LibHealComm-4.0/LibHealComm-4.0.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
if WOW_PROJECT_ID == WOW_PROJECT_MAINLINE then return end

local major = "LibHealComm-4.0"
local minor = 99
local minor = 100
assert(LibStub, format("%s requires LibStub.", major))

local HealComm = LibStub:NewLibrary(major, minor)
Expand Down Expand Up @@ -1143,7 +1143,9 @@ if( playerClass == "PRIEST" ) then
hotData[Renew] = {coeff = 1, interval = 3, ticks = 5, levels = {8, 14, 20, 26, 32, 38, 44, 50, 56, 60, 65, 70}, averages = {
45, 100, 175, 245, 315, 400, 510, 650, 810, 970, 1010, 1110 }}
hotData[GreaterHealHot] = hotData[Renew]
hotData[Renewal] = {coeff = 0, interval = 3, ticks = 3, levels = {70}, averages = {150}}
if isTBC then -- prevent error on Classic Era realms
hotData[Renewal] = {coeff = 0, interval = 3, ticks = 3, levels = {70}, averages = {150}}
end

spellData[FlashHeal] = {coeff = 1.5 / 3.5, levels = {20, 26, 32, 38, 44, 50, 56, 61, 67}, averages = {
{avg(193, 237), avg(194, 239), avg(196, 241), avg(198, 243), avg(200, 245), avg(202, 247)},
Expand Down

0 comments on commit cbc8d3e

Please sign in to comment.