Merge branch 'master' into issue-1289

This commit is contained in:
Ryan Holmes
2017-10-08 21:30:53 -04:00
committed by GitHub
3 changed files with 7 additions and 6 deletions

View File

@@ -19,8 +19,8 @@ debug = False
saveInRoot = False
# Version data
version = "1.32.0"
tag = "Stable "
version = "1.33.0"
tag = "git"
expansionName = "YC119.9"
expansionVersion = "1.3"
evemonMinVersion = "4081"

View File

@@ -7,7 +7,8 @@ type = "passive"
def handler(fit, container, context):
groups = ("Stasis Web", "Stasis Grappler", "Warp Scrambler", "Warp Disrupt Field Generator")
level = container.level if "skill" in context else 1
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Propulsion Jamming"),
"capacitorNeed", container.getModifiedItemAttr("capNeedBonus") * level)

View File

@@ -89,8 +89,8 @@ def main(old, new, groups=True, effects=True, attributes=True, renames=True):
dictionary[id] = name
for id in set(old_namedata.keys()).intersection(new_namedata.keys()):
oldname = old_namedata[id]
newname = new_namedata[id]
oldname = old_namedata[id] if old_namedata[id] is not None else 'None'
newname = new_namedata[id] if new_namedata[id] is not None else 'None'
if oldname != newname:
ren_dict[id] = (oldname, newname)
return