Release 1.4.46

- Added node type match to tree search
- Reworked SocketedIn modifiers to apply to minions
- Added mod cache file to improve load time
- Fixed error caused by The Consuming Dark in 3.0 builds
This commit is contained in:
Openarl
2017-07-17 23:20:14 +10:00
parent d2420ee5fa
commit 134e57fc27
16 changed files with 166 additions and 56 deletions

View File

@@ -3,6 +3,7 @@
-- Module: Mod Tools
-- Various functions for dealing with modifiers
--
local launch = ...
local pairs = pairs
local t_insert = table.insert
@@ -42,8 +43,9 @@ function modLib.createMod(modName, modType, modVal, ...)
end
modLib.parseMod = { }
modLib.parseModCache = { }
for _, targetVersion in pairs(targetVersionList) do
modLib.parseMod[targetVersion] = LoadModule("Modules/ModParser-"..targetVersion)
modLib.parseMod[targetVersion], modLib.parseModCache[targetVersion] = LoadModule("Modules/ModParser-"..targetVersion, launch)
end
function modLib.formatFlags(flags, src)