Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,19 @@ local sortDepthswalkerBattlerage = function()
debugMessage("sorted brage for walkers", {battlerageSkills = battlerageSkills})
end

local sortPsionBattlerage = function()

debugMessage("sorting brage for psion", {battlerageSkills = battlerageSkills})

if class ~= "Psion" or #battlerageSkills ~= 6 then return end
battlerageSkills[2], battlerageSkills[3], battlerageSkills[4] = battlerageSkills["regrowth"], battlerageSkills["pulverise"], battlerageSkills["devastate"]

battlerageSkills["terror"].affliction = "fear"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the only battlerage ability that is missing the affliction? Does the "combo" ability have the used afflictions set?



debugMessage("sorted brage for psion", {battlerageSkills = battlerageSkills})
end

local requestAllSkillDetails = function()
while #requestSkillDetails > 0 do
sendGMCP(string.format([[Char.Skills.Get {"group": "attainment", "name": "%s"}]], requestSkillDetails[1]))
Expand Down Expand Up @@ -1747,6 +1760,7 @@ keneanung.bashing.handleSkillInfo = function()
debugMessage("added new battlerage skill complete list is here ", battlerageSkills)
if #battlerageSkills == 6 then
sortDepthswalkerBattlerage()
sortPsionBattlerage()
kecho("Finished parsing battlerage skills.\n")
end
end
Expand Down