Skip to content

Commit 8d84299

Browse files
committed
Update existing effects
1 parent 9ed60f3 commit 8d84299

File tree

1 file changed

+22
-18
lines changed

1 file changed

+22
-18
lines changed

eos/effects.py

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7815,7 +7815,7 @@ class Effect2717(BaseEffect):
78157815

78167816
@staticmethod
78177817
def handler(fit, module, context, projectionRange, **kwargs):
7818-
fit.ship.boostItemAttr('maxVelocity', module.getModifiedItemAttr('drawback'),
7818+
fit.ship.boostItemAttr('agility', module.getModifiedItemAttr('drawback'),
78197819
stackingPenalties=True, **kwargs)
78207820

78217821

@@ -29934,6 +29934,10 @@ def handler(fit, src, context, projectionRange, **kwargs):
2993429934
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill('Shield Operation'),
2993529935
'shieldBonus', src.getModifiedItemAttr('shieldBoostMultiplier'),
2993629936
stackingPenalties=True, **kwargs)
29937+
for attrName in ('duration', 'capacitorNeed'):
29938+
fit.modules.filteredItemBoost(
29939+
lambda mod: mod.item.requiresSkill('Shield Operation') or mod.item.requiresSkill('Repair Systems'),
29940+
attrName, src.getModifiedItemAttr('bastionModeArmorRepairAndShieldBoosterCapDurationBonus'), **kwargs)
2993729941

2993829942
# Speed penalty
2993929943
fit.ship.boostItemAttr('maxVelocity', src.getModifiedItemAttr('speedFactor'), **kwargs)
@@ -29958,6 +29962,22 @@ def handler(fit, src, context, projectionRange, **kwargs):
2995829962
fit.ship.forceItemAttr('disallowTethering', src.getModifiedItemAttr('disallowTethering'), **kwargs)
2995929963

2996029964

29965+
class Effect6660(BaseEffect):
29966+
"""
29967+
higgsWarpBubbleImmuneRemoval
29968+
29969+
Used by:
29970+
Modules from group: Burst Jammer (11 of 11)
29971+
Modules from group: Rig Anchor (4 of 4)
29972+
"""
29973+
29974+
type = 'passive'
29975+
29976+
@staticmethod
29977+
def handler(fit, ship, context, projectionRange, **kwargs):
29978+
fit.ship.forceItemAttr('warpBubbleImmune', ship.getModifiedItemAttr('warpBubbleImmuneModifier'), **kwargs)
29979+
29980+
2996129981
class Effect6661(BaseEffect):
2996229982
"""
2996329983
shipBonusCarrierM3FighterVelocity
@@ -30018,22 +30038,6 @@ def handler(fit, src, context, projectionRange, **kwargs):
3001830038
src.getModifiedItemAttr('miningAmountBonus') * lvl, **kwargs)
3001930039

3002030040

30021-
class Effect6660(BaseEffect):
30022-
"""
30023-
higgsWarpBubbleImmuneRemoval
30024-
30025-
Used by:
30026-
Modules from group: Burst Jammer (11 of 11)
30027-
Modules from group: Rig Anchor (4 of 4)
30028-
"""
30029-
30030-
type = 'passive'
30031-
30032-
@staticmethod
30033-
def handler(fit, ship, context, projectionRange, **kwargs):
30034-
fit.ship.forceItemAttr('warpBubbleImmune', ship.getModifiedItemAttr('warpBubbleImmuneModifier'), **kwargs)
30035-
30036-
3003730041
class Effect6664(BaseEffect):
3003830042
"""
3003930043
skillBonusDroneSharpshooting
@@ -38494,7 +38498,7 @@ def handler(fit, ship, context, projectionRange, **kwargs):
3849438498
for attr in ('cpu', 'power'):
3849538499
fit.modules.filteredItemBoost(
3849638500
lambda mod: mod.item.requiresSkill('Shield Operation'), attr,
38497-
ship.getModifiedItemAttr('shipBonusCBC3'), skill='Caldari Battlecruiser', **kwargs)
38501+
ship.getModifiedItemAttr('shipBonusCBC4'), skill='Caldari Battlecruiser', **kwargs)
3849838502

3849938503

3850038504
class Effect11373(BaseEffect):

0 commit comments

Comments
 (0)