Skip to content

Commit edc0418

Browse files
committed
Add perserverance effects
1 parent 1d41359 commit edc0418

File tree

1 file changed

+69
-2
lines changed

1 file changed

+69
-2
lines changed

eos/effects.py

Lines changed: 69 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,11 +1358,10 @@ class Effect485(BaseEffect):
13581358
Implants named like: Halcyon G Booster (5 of 5)
13591359
Implants named like: Halcyon R Booster (5 of 5)
13601360
Implants named like: Inherent Implants 'Squire' Capacitor Systems Operation EO (6 of 6)
1361-
Implants named like: Wightstorm Rapture Booster (4 of 4)
1361+
Implants named like: Rapture Booster (5 of 5)
13621362
Implants named like: grade Rapture (15 of 18)
13631363
Modules named like: Capacitor Control Circuit (8 of 8)
13641364
Implant: AIR Overclocker Booster III
1365-
Implant: AIR Rapture Booster II
13661365
Implant: Basic Capsuleer Engineering Augmentation Chip
13671366
Implant: Genolution Core Augmentation CA-2
13681367
Implant: Quafe Zero Green Apple
@@ -42450,3 +42449,71 @@ def handler(fit, src, context, projectionRange, **kwargs):
4245042449
or mod.item.requiresSkill('Ice Harvesting')
4245142450
or mod.item.requiresSkill('Gas Cloud Harvesting')),
4245242451
'miningWasteProbability', src.getModifiedItemAttr('miningWasteProbabilityBonus'), **kwargs)
42452+
42453+
42454+
class Effect12771(BaseEffect):
42455+
"""
42456+
shipRoleBonusPerseveranceIceMiningCriticalHitChanceBonus
42457+
42458+
Used by:
42459+
Ship: Perseverance
42460+
"""
42461+
42462+
type = 'passive'
42463+
42464+
@staticmethod
42465+
def handler(fit, ship, context, projectionRange, **kwargs):
42466+
fit.modules.filteredItemBoost(
42467+
lambda mod: mod.item.requiresSkill('Ice Harvesting'), 'miningCritChance',
42468+
ship.getModifiedItemAttr('shipRoleBonusPerseveranceIceMiningCriticalHitChance'), **kwargs)
42469+
42470+
42471+
class Effect12772(BaseEffect):
42472+
"""
42473+
shipIceMiningCriticalHitChanceBonusOreDestroyer1
42474+
42475+
Used by:
42476+
Ship: Perseverance
42477+
"""
42478+
42479+
type = 'passive'
42480+
42481+
@staticmethod
42482+
def handler(fit, ship, context, projectionRange, **kwargs):
42483+
fit.modules.filteredItemBoost(
42484+
lambda mod: mod.item.requiresSkill('Ice Harvesting'), 'miningCritChance',
42485+
ship.getModifiedItemAttr('shipBonusOreDestroyer1'), skill='Mining Destroyer', **kwargs)
42486+
42487+
42488+
class Effect12773(BaseEffect):
42489+
"""
42490+
shipIceMiningCriticalHitYieldBonusOreDestroyer2
42491+
42492+
Used by:
42493+
Ship: Perseverance
42494+
"""
42495+
42496+
type = 'passive'
42497+
42498+
@staticmethod
42499+
def handler(fit, ship, context, projectionRange, **kwargs):
42500+
fit.modules.filteredItemBoost(
42501+
lambda mod: mod.item.requiresSkill('Ice Harvesting'), 'miningCritBonusYield',
42502+
ship.getModifiedItemAttr('shipBonusOreDestroyer2'), skill='Mining Destroyer', **kwargs)
42503+
42504+
42505+
class Effect12774(BaseEffect):
42506+
"""
42507+
shipIceMiningRangeBonusOreDestroyer3
42508+
42509+
Used by:
42510+
Ship: Perseverance
42511+
"""
42512+
42513+
type = 'passive'
42514+
42515+
@staticmethod
42516+
def handler(fit, ship, context, projectionRange, **kwargs):
42517+
fit.modules.filteredItemBoost(
42518+
lambda mod: mod.item.requiresSkill('Ice Harvesting'), 'maxRange',
42519+
ship.getModifiedItemAttr('shipBonusOreDestroyer3'), skill='Mining Destroyer', **kwargs)

0 commit comments

Comments
 (0)