Skip to content

Commit 11dcc31

Browse files
committed
Update effects
1 parent 0740488 commit 11dcc31

1 file changed

Lines changed: 113 additions & 2 deletions

File tree

eos/effects.py

Lines changed: 113 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,11 +1359,10 @@ class Effect485(BaseEffect):
13591359
Implants named like: Halcyon G Booster (5 of 5)
13601360
Implants named like: Halcyon R Booster (5 of 5)
13611361
Implants named like: Inherent Implants 'Squire' Capacitor Systems Operation EO (6 of 6)
1362-
Implants named like: Wightstorm Rapture Booster (4 of 4)
1362+
Implants named like: Rapture Booster (5 of 5)
13631363
Implants named like: grade Rapture (15 of 18)
13641364
Modules named like: Capacitor Control Circuit (8 of 8)
13651365
Implant: AIR Overclocker Booster III
1366-
Implant: AIR Rapture Booster II
13671366
Implant: Basic Capsuleer Engineering Augmentation Chip
13681367
Implant: Genolution Core Augmentation CA-2
13691368
Implant: Quafe Zero Green Apple
@@ -42723,3 +42722,115 @@ def handler(fit, ship, context, projectionRange, **kwargs):
4272342722
fit.modules.filteredChargeBoost(
4272442723
lambda mod: mod.charge.requiresSkill('Torpedoes') or mod.charge.requiresSkill('Cruise Missiles'),
4272542724
'aoeVelocity', ship.getModifiedItemAttr('shipBonusCBC2'), skill='Caldari Battlecruiser', **kwargs)
42725+
42726+
42727+
class Effect12794(BaseEffect):
42728+
"""
42729+
shipRocketMaxVelocityBonusPostDivSkua
42730+
42731+
Used by:
42732+
Module: Skua Sharpshooter Mode
42733+
"""
42734+
42735+
type = 'passive'
42736+
42737+
@staticmethod
42738+
def handler(fit, module, context, projectionRange, **kwargs):
42739+
fit.modules.filteredChargeMultiply(
42740+
lambda mod: mod.charge.requiresSkill('Rockets'),
42741+
'maxVelocity', 1 / module.getModifiedItemAttr('modeRocketMissileMaxVelocityBonusPostDivSkua'),
42742+
stackingPenalties=True, penaltyGroup='postDiv', **kwargs)
42743+
42744+
42745+
class Effect12795(BaseEffect):
42746+
"""
42747+
shipLightMissileMaxVelocityBonusPostDivSkua
42748+
42749+
Used by:
42750+
Module: Skua Sharpshooter Mode
42751+
"""
42752+
42753+
type = 'passive'
42754+
42755+
@staticmethod
42756+
def handler(fit, module, context, projectionRange, **kwargs):
42757+
fit.modules.filteredChargeMultiply(
42758+
lambda mod: mod.charge.requiresSkill('Light Missiles'),
42759+
'maxVelocity', 1 / module.getModifiedItemAttr('modeLightMissileMaxVelocityBonusPostDivSkua'),
42760+
stackingPenalties=True, penaltyGroup='postDiv', **kwargs)
42761+
42762+
42763+
class Effect12796(BaseEffect):
42764+
"""
42765+
shipModeMissileFlightTimePostDiv
42766+
42767+
Used by:
42768+
Module: Anhinga Primary Mode
42769+
Module: Anhinga Secondary Mode
42770+
"""
42771+
42772+
type = 'passive'
42773+
42774+
@staticmethod
42775+
def handler(fit, ship, context, projectionRange, **kwargs):
42776+
fit.modules.filteredChargeMultiply(
42777+
lambda mod: mod.charge.requiresSkill('Missile Launcher Operation'),
42778+
'explosionDelay', 1 / ship.getModifiedItemAttr('modeAnhingaMissileFlightTimePostDiv'),
42779+
stackingPenalties=True, penaltyGroup='postDiv', **kwargs)
42780+
42781+
42782+
class Effect12798(BaseEffect):
42783+
"""
42784+
shipModeMissileVelocityPostDiv
42785+
42786+
Used by:
42787+
Module: Anhinga Primary Mode
42788+
Module: Anhinga Tertiary Mode
42789+
"""
42790+
42791+
type = 'passive'
42792+
42793+
@staticmethod
42794+
def handler(fit, module, context, projectionRange, **kwargs):
42795+
fit.modules.filteredChargeMultiply(
42796+
lambda mod: mod.charge.requiresSkill('Missile Launcher Operation'),
42797+
'maxVelocity', 1 / module.getModifiedItemAttr('modeAnhingaMissileMaxVelocityPostDiv'),
42798+
stackingPenalties=True, penaltyGroup='postDiv', **kwargs)
42799+
42800+
42801+
class Effect12799(BaseEffect):
42802+
"""
42803+
shipModeAnhingaCruiseLauncherTorpedoLauncherRapidHeavyLauncherROFPostDiv
42804+
42805+
Used by:
42806+
Modules named like: Anhinga Mode (3 of 3)
42807+
"""
42808+
42809+
type = 'passive'
42810+
42811+
@staticmethod
42812+
def handler(fit, ship, context, projectionRange, **kwargs):
42813+
fit.modules.filteredItemMultiply(
42814+
lambda mod: mod.item.group.name in (
42815+
'Missile Launcher Rapid Heavy',
42816+
'Missile Launcher Cruise',
42817+
'Missile Launcher Torpedo'),
42818+
'speed', 1 / ship.getModifiedItemAttr('modeAnhingaCruiseLauncherTorpedoLauncherRapidHeavyLauncherROFPostDiv'),
42819+
stackingPenalties=True, penaltyGroup='postDiv',**kwargs)
42820+
42821+
42822+
class Effect12802(BaseEffect):
42823+
"""
42824+
MutatedMiningDroneOperationMiningAmountBonusPostPercentMiningDroneAmountPercentChar
42825+
42826+
Used by:
42827+
Skill: Mutated Drone Specialization
42828+
"""
42829+
42830+
type = 'passive'
42831+
42832+
@staticmethod
42833+
def handler(fit, src, context, projectionRange, **kwargs):
42834+
fit.drones.filteredItemBoost(
42835+
lambda mod: mod.item.requiresSkill('Mutated Drone Specialization'), 'miningAmount',
42836+
src.getModifiedItemAttr('miningAmountBonus') * src.level, **kwargs)

0 commit comments

Comments
 (0)