Skip to content

Commit 50055a8

Browse files
LocalIdentityLocalIdentity
andauthored
Add Abyss Timeless jewel and support for Keystone mods (#1364)
* Add support for mods on Waveshaper Adds support for the gain mana as armour and the conversion mod * Export Abyss Timeless jewel * Add Support for Tecrod, Amanamu and half of Kulemak * Tribute --------- Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 4104bd7 commit 50055a8

20 files changed

Lines changed: 2380 additions & 573 deletions

src/Classes/PassiveSpec.lua

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ end
961961
function PassiveSpecClass:BuildAllDependsAndPaths()
962962
-- This table will keep track of which nodes have been visited during each path-finding attempt
963963
local visited = { }
964-
local attributes = { "Dexterity", "Intelligence", "Strength" }
964+
local attributes = { "Dexterity", "Intelligence", "Strength", "Attribute" }
965965
-- Check all nodes for other nodes which depend on them (i.e. are only connected to the tree through that node)
966966
self.switchableNodes = { }
967967
for id, node in pairs(self.nodes) do
@@ -1036,6 +1036,8 @@ function PassiveSpecClass:BuildAllDependsAndPaths()
10361036
local jewelType = 5
10371037
if conqueredBy.conqueror.type == "kalguur" then
10381038
jewelType = 1
1039+
elseif conqueredBy.conqueror.type == "abyss" then
1040+
jewelType = 2
10391041
end
10401042
local seed = conqueredBy.id
10411043
if jewelType == 5 then
@@ -1195,6 +1197,14 @@ function PassiveSpecClass:BuildAllDependsAndPaths()
11951197
-- local legionNode = legionNodes[110] -- eternal_small_blank
11961198
-- self:ReplaceNode(node, legionNode)
11971199
-- end
1200+
if conqueredBy.conqueror.type == "abyss" then
1201+
if isValueInArray(attributes, node.dn) then
1202+
self:NodeAdditionOrReplacementFromString(node, " \n+3 to Tribute")
1203+
else
1204+
local legionNode = legionNodes[201] -- abyss_small_tribute
1205+
self:ReplaceNode(node, legionNode)
1206+
end
1207+
end
11981208
end
11991209
self:ReconnectNodeToClassStart(node)
12001210
end

src/Classes/PassiveTreeView.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,9 +945,12 @@ function PassiveTreeViewClass:Draw(build, viewPort, inputEvents)
945945
if conqueror == "kalguur" then
946946
conqueror = "kalguuran"
947947
end
948-
949948
local circle1 = tree:GetAssetByName("art/textures/interface/2d/2dart/uiimages/ingame/passiveskillscreen".. conqueror .."jewelcircle1.dds")
950949
local circle2 = tree:GetAssetByName("art/textures/interface/2d/2dart/uiimages/ingame/passiveskillscreen".. conqueror .."jewelcircle2.dds")
950+
if conqueror == "abyss" then
951+
circle1 = tree:GetAssetByName("art/textures/interface/2d/2dart/uiimages/ingame/".. conqueror .."/".. conqueror .."passiveskillscreenjewelcircle1.dds")
952+
circle2 = circle1
953+
end
951954
DrawImage(circle1.handle, scrX - outerSize, scrY - outerSize, outerSize * 2, outerSize * 2, unpack(circle1))
952955
DrawImage(circle2.handle, scrX - outerSize, scrY - outerSize, outerSize * 2, outerSize * 2, unpack(circle2))
953956
else

src/Data/ModCache.lua

Lines changed: 108 additions & 35 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)