Minor cleanup
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user