Merge pull request #1400 from pyfa-org/release/v1.35.1

Release/v1.35.1
This commit is contained in:
Ryan Holmes
2018-02-17 12:28:48 -05:00
committed by GitHub
5 changed files with 16 additions and 3 deletions

View File

@@ -19,10 +19,10 @@ debug = False
saveInRoot = False
# Version data
version = "1.35.0"
version = "1.35.1"
tag = "Stable"
expansionName = "YC120.2"
expansionVersion = "1.1"
expansionVersion = "1.2"
evemonMinVersion = "4081"
pyfaPath = None

View File

@@ -0,0 +1,11 @@
# scriptStandupWarpScram
#
# Used by:
# Charge: Standup Focused Warp Scrambling Script
type = "passive"
runTime = "early"
def handler(fit, src, context, *args, **kwargs):
src.boostItemAttr("maxRange", src.getModifiedChargeAttr("warpScrambleRangeBonus"))

View File

@@ -90,7 +90,7 @@ class Fighter(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut):
self.__slot = self.__calculateSlot(self.__item)
chargeID = self.getModifiedItemAttr("fighterAbilityLaunchBombType")
if chargeID is not None:
if chargeID:
charge = eos.db.getItem(int(chargeID))
self.__charge = charge
self.__chargeModifiedAttributes.original = charge.attributes

BIN
eve.db

Binary file not shown.

View File

@@ -242,6 +242,8 @@ class ItemParams(wx.Panel):
return "%s (%d)" % (group.name, value) if group is not None else str(value)
def attributeIDCallback():
if not value: # some attributes come through with a value of 0? See #1387
return "%d" % (value)
attribute = Attribute.getInstance().getAttributeInfo(value)
return "%s (%d)" % (attribute.name.capitalize(), value)