Add missing jump portal and clone vat bay effects

This commit is contained in:
DarkPhoenix
2019-08-01 23:16:01 +03:00
parent 10b1c6ebfb
commit cb20c8588f

View File

@@ -6372,6 +6372,22 @@ class Effect2143(BaseEffect):
skill='Minmatar Cruiser', **kwargs)
class Effect2152(BaseEffect):
"""
jumpPortalGeneration
Used by:
Module: Jump Portal Generator I
"""
type = 'active'
@staticmethod
def handler(fit, mod, context, **kwargs):
fit.ship.boostItemAttr('maxVelocity', mod.getModifiedItemAttr('speedFactor'), stackingPenalties=True, **kwargs)
fit.ship.increaseItemAttr('warpScrambleStatus', mod.getModifiedItemAttr('siegeModeWarpStatus'), **kwargs)
class Effect2155(BaseEffect):
"""
eliteBonusCommandShipProjectileDamageCS1
@@ -8518,6 +8534,23 @@ class Effect2857(BaseEffect):
fit.ship.boostItemAttr('maxVelocity', module.getModifiedItemAttr('speedFactor'), **kwargs)
class Effect2858(BaseEffect):
"""
cloneJumpAccepting
Used by:
Module: Clone Vat Bay I
"""
type = 'active'
@staticmethod
def handler(fit, mod, context, **kwargs):
fit.ship.boostItemAttr('maxVelocity', mod.getModifiedItemAttr('speedFactor'), stackingPenalties=True, **kwargs)
fit.ship.increaseItemAttr('warpScrambleStatus', mod.getModifiedItemAttr('siegeModeWarpStatus'), **kwargs)
fit.ship.forceItemAttr('canCloak', mod.getModifiedChargeAttr('canCloak'), **kwargs)
class Effect2865(BaseEffect):
"""
velocityBonusOnline
@@ -11332,6 +11365,22 @@ class Effect3672(BaseEffect):
'maxRangeBonus', implant.getModifiedItemAttr('implantSetORE'), **kwargs)
class Effect3674(BaseEffect):
"""
jumpPortalGenerationBO
Used by:
Module: Covert Jump Portal Generator I
"""
type = 'active'
@staticmethod
def handler(fit, mod, context, **kwargs):
fit.ship.boostItemAttr('maxVelocity', mod.getModifiedItemAttr('speedFactor'), stackingPenalties=True, **kwargs)
fit.ship.increaseItemAttr('warpScrambleStatus', mod.getModifiedItemAttr('siegeModeWarpStatus'), **kwargs)
class Effect3677(BaseEffect):
"""
shipBonusLargeEnergyTurretMaxRangeAB2