Added support for threshold jewels

- Updated more uniques
- Fixed Wild Strike conversion
This commit is contained in:
Openarl
2017-03-05 19:19:50 +10:00
parent b8c5bd3e32
commit 91fa55f87f
18 changed files with 286 additions and 58 deletions

View File

@@ -206,6 +206,11 @@ function ModDBClass:Sum(modType, cfg, arg1, arg2, arg3, arg4, arg5, arg6, arg7,
value = nullValue
break
end
elseif tag.type == "StatThreshold" then
if (self.stats[tag.stat] or (skillStats and skillStats[tag.stat]) or 0) < tag.threshold then
value = nullValue
break
end
elseif tag.type == "SocketedIn" then
if tag.slotName ~= slotName or (tag.keyword and (not skillGem or not gemIsType(skillGem, tag.keyword))) then
value = nullValue