Skip to content
Open
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
13 changes: 13 additions & 0 deletions src/Classes/PassiveTree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ local m_sqrt = math.sqrt
local m_rad = math.rad
local m_atan2 = math.atan2

-- Additional tooltip text for ascendancy nodes
local nodeReminderText = {
["Unravelling"] = {
"While affected by Unravelling, your ^xD02090Chaos ^xA0A080Damage randomly either also contributes to ^x3F6DB3Freeze ^xA0A080buildup,",
"^xB97123Flammability^xA0A080, or ^xADAA47Shock ^xA0A080chance - changing which it contributes to every two seconds."
},
["Forced Outcome"] = {
"Hits which could potentially be a Critical Hit but do not roll a Critical Hit will re-roll Critical Hit chance until they succeed.", '\t',
"Hits have 30% less Critical Damage Bonus for each time Critical Hit chance was re-rolled."
}
}

-- Retrieve the file at the given URL
-- This is currently disabled as it does not work due to issues
-- its possible to fix this but its never used due to us performing preprocessing on tree
Expand Down Expand Up @@ -219,6 +231,7 @@ function PassiveTreeClass:PassiveTree(treeVersion)
node.oidx = node.orbitIndex
node.dn = node.name
node.sd = node.stats or {}
node.reminderText = nodeReminderText[node.dn]

node.__index = node
node.linkedId = { }
Expand Down
Loading