572
edits
Falterfire (talk | contribs) (Adding in more expansion icons) |
(p.getCookingUtilityTable -> Fix increasedChanceToDoubleItemsSkill modifier which was always showing 0%. We still need to add increasedChanceToDoubleItemsSkill to Cooking Fire, decreasedPassiveCookInterval/decreasedSkillIntervalPercent to all 3 types and increasedChanceAdditionalSkillResource to non-Cooking Fire) |
||
Line 864: | Line 864: | ||
if modName == bonusColMod and type(modVal) == 'table' then | if modName == bonusColMod and type(modVal) == 'table' then | ||
-- Bonus XP/doubling | -- Bonus XP/doubling | ||
for | for _, subMod in ipairs(modVal) do | ||
if | if subMod.skillID ~= nil and subMod.skillID == bonusSkillID then | ||
bonusVal = bonusVal + subMod.value | |||
end | |||
end | end | ||
elseif Shared.contains(modsPerfectChance, modName) then | elseif Shared.contains(modsPerfectChance, modName) then |
edits