Release 1.1.9

- Added flat chaos damage to all physical weapon templates
This commit is contained in:
Openarl
2016-10-07 01:08:55 +10:00
parent 11ab7b3236
commit 63a190ab4a
6 changed files with 16 additions and 7 deletions

View File

@@ -81,7 +81,7 @@ function modLib.listScaleMerge(modList, modName, modVal, scale)
local type = modLib.getModType[modName]
if type == "MORE" then
modLib.listMerge(modList, modName, 1 + m_floor((modVal - 1) * scale * 100) / 100)
elseif type == "INC" or m_abs(modVal) == modVal then -- Yes, there's a nasty hack there, move along
elseif type == "INC" or m_floor(modVal) == modVal then -- Yes, there's a nasty hack there, move along
modLib.listMerge(modList, modName, m_floor(modVal * scale))
else
modLib.listMerge(modList, modName, modVal * scale)