Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
9fbbc57
add new boss skills, auto apply uber changes, and update non-uber pen
Regisle Jan 19, 2023
b40f0e5
fix spell
Regisle Jan 19, 2023
e147204
update how boss data is handled
Regisle Jan 20, 2023
371dffd
move boss skill list to data and update multiplier name
Regisle Jan 20, 2023
7db5df7
move tooltip into data
Regisle Jan 20, 2023
9f09ec3
actually commit data change
Regisle Jan 20, 2023
af185e4
fix spelling
Regisle Jan 20, 2023
bd3496d
update atziri flameblast to include non-uber variant
Regisle Jan 20, 2023
86ed0b8
move tooltip to a tooltip func to only show relevant info for that skill
Regisle Jan 21, 2023
70d554a
make rollrange configurable
Regisle Jan 21, 2023
87e5452
fix spelling
Regisle Jan 21, 2023
dbed636
fix spelling
Regisle Jan 21, 2023
85c3028
add option to always hide config option even if invalid
Regisle Jan 21, 2023
165d0c7
remove redundant logic
Regisle Jan 21, 2023
1a8eb02
move boss skills to a separate file
Regisle Jan 21, 2023
cb1321f
fixes tooltip inconsistency
Regisle Jan 21, 2023
ba13b2e
add minor suggestions
Regisle Jan 23, 2023
2600526
initial export implementation
Regisle Jan 23, 2023
33eb1fc
fix indexing issue
Regisle Jan 23, 2023
5114a6d
fix colour code crash
Regisle Jan 23, 2023
b52e898
export boss data
Regisle Jan 23, 2023
4761971
fix damage spread
Regisle Jan 23, 2023
046ab39
export some skill stats
Regisle Jan 23, 2023
35fef73
export more values and cleanup functions
Regisle Jan 24, 2023
e4800b3
export damages
Regisle Jan 24, 2023
591b27e
apply rarity multiplier
Regisle Jan 24, 2023
8b54565
fix spelling
Regisle Jan 24, 2023
f398b0f
fix spelling
Regisle Jan 24, 2023
fe3b2cc
revert to using old hardcoded values to better match poeDB
Regisle Jan 25, 2023
29e1811
update multipliers
Regisle Feb 4, 2023
c8b957a
fix uber mult
Regisle Feb 4, 2023
d29fd78
Merge branch 'dev' into enemyConfigUpdate
Regisle Feb 19, 2023
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
52 changes: 27 additions & 25 deletions src/Classes/ConfigTab.lua
Original file line number Diff line number Diff line change
Expand Up @@ -251,35 +251,37 @@ local ConfigTabClass = newClass("ConfigTab", "UndoHandler", "ControlHost", "Cont
end
end

local innerShown = control.shown
control.shown = function()
local shown = type(innerShown) == "boolean" and innerShown or innerShown()
return not shown and control.state ~= self:GetDefaultState(varData.var, type(control.state)) or shown
end
local innerLabel = control.label
control.label = function()
local shown = type(innerShown) == "boolean" and innerShown or innerShown()
if not shown and control.state ~= self:GetDefaultState(varData.var, type(control.state)) then
return "^1"..innerLabel
if not varData.hideIfInvalid then
local innerShown = control.shown
control.shown = function()
local shown = type(innerShown) == "boolean" and innerShown or innerShown()
return not shown and control.state ~= self:GetDefaultState(varData.var, type(control.state)) or shown
end
return innerLabel
end
local innerTooltipFunc = control.tooltipFunc
control.tooltipFunc = function (tooltip, ...)
tooltip:Clear()

if innerTooltipFunc then
innerTooltipFunc(tooltip, ...)
else
local tooltipText = control:GetProperty("tooltipText")
if tooltipText then
tooltip:AddLine(14, tooltipText)
local innerLabel = control.label
control.label = function()
local shown = type(innerShown) == "boolean" and innerShown or innerShown()
if not shown and control.state ~= self:GetDefaultState(varData.var, type(control.state)) then
return "^1"..innerLabel
end
return innerLabel
end
local innerTooltipFunc = control.tooltipFunc
control.tooltipFunc = function (tooltip, ...)
tooltip:Clear()

local shown = type(innerShown) == "boolean" and innerShown or innerShown()
if not shown and control.state ~= self:GetDefaultState(varData.var, type(control.state)) then
tooltip:AddLine(14, "^1This config option is conditional with missing source and is invalid.")
if innerTooltipFunc then
innerTooltipFunc(tooltip, ...)
else
local tooltipText = control:GetProperty("tooltipText")
if tooltipText then
tooltip:AddLine(14, tooltipText)
end
end

local shown = type(innerShown) == "boolean" and innerShown or innerShown()
if not shown and control.state ~= self:GetDefaultState(varData.var, type(control.state)) then
tooltip:AddLine(14, "^1This config option is conditional with missing source and is invalid.")
end
end
end

Expand Down
105 changes: 105 additions & 0 deletions src/Data/BossSkills.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
-- This file is automatically generated, do not edit!
-- Path of Building
--
-- Boss Skill Presets
-- Boss Skill data (c) Grinding Gear Games
--
return {
["Atziri Flameblast"] = {
DamageType = "Spell",
DamageMultipliers = {
Fire = { 57.29394377618, 0.2864697188809 }
},
DamagePenetrations = {
FirePen = ""
},
UberDamagePenetrations = {
FirePen = 10
},
speed = 12500,
UberSpeed = 25000,
critChance = 0,
earlierUber = true,
tooltip = "The Uber variant has 10 ^xB97123Fire^7 penetration (Applied on Pinnacle And Uber)"
},
["Shaper Ball"] = {
DamageType = "SpellProjectile",
DamageMultipliers = {
Cold = { 11.666076975909, 0.058330384879546 }
},
DamagePenetrations = {
ColdPen = 25
},
UberDamagePenetrations = {
ColdPen = 40
},
speed = 1400,
tooltip = "Allocating Cosmic Wounds increases the penetration to 40% (Applied on Uber) and adds 2 projectiles"
},
["Shaper Slam"] = {
DamageType = "Melee",
DamageMultipliers = {
Physical = { 12.358683281257, 0.061793416406285 }
},
UberDamageMultiplier = 1.6666666666667,
speed = 3510,
UberSpeed = 1755,
critChance = 0,
tooltip = "Cannot be Evaded. Allocating Cosmic Wounds increases Damage by a further 100% (Applied on Uber) and cannot be blocked or dodged"
},
["Sirus Meteor"] = {
DamageType = "Spell",
DamageMultipliers = {
Physical = { 11.2718900614, 0.056354278291738 },
Lightning = { 11.2718900614, 0.056354278291738 },
Fire = { 11.2718900614, 0.056354278291738 },
Chaos = { 11.2718900614, 0.056354278291738 }
},
UberDamageMultiplier = 1.52,
speed = 1500,
tooltip = "Earlier ones with less walls do less damage. Allocating The Perfect Storm increases Damage by a further 50% (Applied on Uber)"
},
["Exarch Ball"] = {
DamageType = "SpellProjectile",
DamageMultipliers = {
Fire = { 14.924946784635, 0.074624733923175 }
},
speed = 1000,
critChance = 0,
tooltip = "Spawns 8-18 waves of balls depending on which fight and which ball phase"
},
["Eater Beam"] = {
DamageType = "Spell",
DamageMultipliers = {
Lightning = { 12.164923902598, 0.24329847805197 }
},
speed = 2500,
tooltip = "Allocating Insatiable Appetite causes the beam to always shock for at least 30%"
},
["Maven Fireball"] = {
DamageType = "SpellProjectile",
DamageMultipliers = {
Fire = { 14.977416270256, 0.074887081351278 }
},
UberDamageMultiplier = 2.0273275862069,
DamagePenetrations = {
FirePen = ""
},
UberDamagePenetrations = {
FirePen = 30
},
speed = 3000,
tooltip = "Allocating Throw the Gauntlet increases Damage by a further 100% (Applied on Uber) and causes the fireball to have 30 ^xB97123Fire^7 penetration (Applied on Uber)"
},
["Maven MemoryGame"] = {
DamageType = "Melee",
DamageMultipliers = {
Lightning = { 34.763635149472, 0.17381817574736 },
Cold = { 34.763635149472, 0.17381817574736 },
Fire = { 34.763635149472, 0.17381817574736 }
},
UberDamageMultiplier = 1.0086206896552,
speed = 7500,
tooltip = "Is three separate hits, and has a large DoT effect. Neither is taken into account here. \n i.e. Hits before death should be more than 3 to survive"
},
}
Loading