Minor cleanup

This commit is contained in:
DarkPhoenix
2019-04-17 13:27:08 +03:00
parent 5457c31148
commit 53915eb956
3 changed files with 1 additions and 3 deletions

View File

@@ -15226,7 +15226,6 @@ class Effect4575(BaseEffect):
@staticmethod
def handler(fit, src, context):
fit.extraAttributes['siege'] = True
fit.ship.boostItemAttr('maxVelocity', src.getModifiedItemAttr('speedFactor'), stackingPenalties=True)
fit.ship.multiplyItemAttr('mass', src.getModifiedItemAttr('siegeMassMultiplier'))
fit.ship.multiplyItemAttr('scanResolution',

View File

@@ -474,7 +474,7 @@ class Fit(object):
if hasattr(currModifier.itemModifiedAttributes, "fit"):
currModifier.itemModifiedAttributes.fit = origin or self
if hasattr(currModifier, "chargeModifiedAttributes"):
if hasattr(currModifier.itemModifiedAttributes, "fit"):
if hasattr(currModifier.chargeModifiedAttributes, "fit"):
currModifier.chargeModifiedAttributes.fit = origin or self
def getModifier(self):

View File

@@ -38,7 +38,6 @@ class Ship(ItemAttrShortcut, HandledItem):
"maxTargetsLockedFromSkills": 2,
"droneControlRange": 20000,
"cloaked": False,
"siege": False
# We also have speedLimit for Entosis Link, but there seems to be an
# issue with naming it exactly "speedLimit" due to unknown reasons.
# Regardless, we don't have to put it here anyways - it will come up