Close combat and multi strike correct damage values
Adds pantheons from temmings' pull request Adds partial Impale support from baranio's pull request Adds updated uniques from PJacek's pull request and my own Adds more tree highlighting options for node power from coldino's pull request Adds support for fossil mods in the crafting window. Including correct parsing for some mods that previously didn't work
This commit is contained in:
19
Modules/PantheonTools.lua
Normal file
19
Modules/PantheonTools.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
-- Various functions for Pantheon
|
||||
--
|
||||
|
||||
pantheon = { }
|
||||
|
||||
function pantheon.applySoulMod(db, modParser, god)
|
||||
for _, soul in pairs(god.souls) do
|
||||
for _, soulMod in pairs(soul.mods) do
|
||||
local modList, extra = modParser(soulMod.line)
|
||||
if modList and not extra then
|
||||
for _, mod in pairs(modList) do
|
||||
local godName = god.souls[1].name
|
||||
mod.source = "Pantheon:"..godName
|
||||
end
|
||||
db:AddList(modList)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user