Skip to content

Commit

Permalink
removed BoK talent improvement since there's none
Browse files Browse the repository at this point in the history
  • Loading branch information
AznamirWoW committed Sep 11, 2023
1 parent b2dc5db commit 3f2aa07
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions PallyPower.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1283,12 +1283,11 @@ function PallyPower:ScanSpells()
spellRank = "1" -- BoK and BoS
end
local talent = 0
if PallyPower_Talents[spellTexture] then
-- only for Wisdom, Might, Sanctuary blessings
if PallyPower_Talents[spellTexture] and (i == 1 or i == 2 or i == 6) then
local tab = PallyPower_Talents[spellTexture][1]
local loc = PallyPower_Talents[spellTexture][2]
if i == 1 or i == 2 or i == 3 or i == 6 then
talent = talent + select(5, GetTalentInfo(tab, loc))
end
talent = talent + select(5, GetTalentInfo(tab, loc))
end
RankInfo[i].talent = talent
RankInfo[i].rank = tonumber(select(3, strfind(spellRank, "(%d+)")))
Expand All @@ -1306,12 +1305,10 @@ function PallyPower:ScanSpells()
spellRank = "1" -- Concentration
end
local talent = 0
if PallyPower_Talents[spellTexture] then
if PallyPower_Talents[spellTexture] and (i == 1 or i == 2 or i == 3 or i == 7) then
local tab = PallyPower_Talents[spellTexture][1]
local loc = PallyPower_Talents[spellTexture][2]
if i == 1 or i == 2 or i == 3 or i == 7 then
talent = talent + select(5, GetTalentInfo(tab, loc))
end
talent = talent + select(5, GetTalentInfo(tab, loc))
end
AllPallys[self.player].AuraInfo[i].talent = talent
AllPallys[self.player].AuraInfo[i].rank = tonumber(select(3, strfind(spellRank, "(%d+)")))
Expand Down

0 comments on commit 3f2aa07

Please sign in to comment.