Skip to content

Commit 78bb5e7

Browse files
committed
Add effects for new ships
1 parent 96c248f commit 78bb5e7

File tree

1 file changed

+103
-0
lines changed

1 file changed

+103
-0
lines changed

eos/effects.py

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41285,6 +41285,58 @@ def handler(fit, skill, context, projectionRange, **kwargs):
4128541285
skill.getModifiedItemAttr('durationBonus') * skill.level, **kwargs)
4128641286

4128741287

41288+
class Effect12244(BaseEffect):
41289+
"""
41290+
shipBonusRole1CapitalProjectileDamageBonus
41291+
41292+
Used by:
41293+
Ship: Sarathiel
41294+
"""
41295+
41296+
type = 'passive'
41297+
41298+
@staticmethod
41299+
def handler(fit, ship, context, projectionRange, **kwargs):
41300+
fit.modules.filteredItemBoost(
41301+
lambda mod: mod.item.requiresSkill('Capital Projectile Turret'),
41302+
'damageMultiplier', ship.getModifiedItemAttr('shipBonusRole1'), **kwargs)
41303+
41304+
41305+
class Effect12245(BaseEffect):
41306+
"""
41307+
shipBonusDreadnoughtG1FalloffBonus
41308+
41309+
Used by:
41310+
Ship: Sarathiel
41311+
"""
41312+
41313+
type = 'passive'
41314+
41315+
@staticmethod
41316+
def handler(fit, ship, context, projectionRange, **kwargs):
41317+
fit.modules.filteredItemBoost(
41318+
lambda mod: mod.item.requiresSkill('Capital Projectile Turret'), 'falloff',
41319+
ship.getModifiedItemAttr('shipBonusDreadnoughtG1'), skill='Gallente Dreadnought', **kwargs)
41320+
41321+
41322+
class Effect12246(BaseEffect):
41323+
"""
41324+
shipBonusRoleAngelDreadMoveWhileSieged
41325+
41326+
Used by:
41327+
Ship: Sarathiel
41328+
"""
41329+
41330+
runTime = 'early'
41331+
type = 'passive'
41332+
41333+
@staticmethod
41334+
def handler(fit, ship, context, projectionRange, **kwargs):
41335+
fit.modules.filteredItemBoost(
41336+
lambda mod: mod.item.group.name == 'Siege Module', 'speedFactor',
41337+
ship.getModifiedItemAttr('shipBonusSiegeSpeedMultiplier'), **kwargs)
41338+
41339+
4128841340
class Effect12249(BaseEffect):
4128941341
"""
4129041342
shipBonusDroneDamageHeavyMediumLightMultiplierGBC1
@@ -41504,3 +41556,54 @@ def handler(fit, implant, context, projectionRange, **kwargs):
4150441556
fit.modules.filteredItemBoost(
4150541557
lambda mod: mod.item.group.name == 'Data Miners', 'virusCoherence',
4150641558
implant.getModifiedItemAttr('implantSetHackingVirusCoherenceModifier'), **kwargs)
41559+
41560+
41561+
class Effect12286(BaseEffect):
41562+
"""
41563+
shipLPWRangeBonusPCBS1
41564+
41565+
Used by:
41566+
Ship: Babaroga
41567+
"""
41568+
41569+
type = 'passive'
41570+
41571+
@staticmethod
41572+
def handler(fit, ship, context, projectionRange, **kwargs):
41573+
fit.modules.filteredItemBoost(
41574+
lambda mod: mod.item.requiresSkill('Large Precursor Weapon'), 'maxRange',
41575+
ship.getModifiedItemAttr('shipBonusPBS1'), skill='Precursor Battleship', **kwargs)
41576+
41577+
41578+
class Effect12287(BaseEffect):
41579+
"""
41580+
shipLPWTrackingBonusPCBS1
41581+
41582+
Used by:
41583+
Ship: Babaroga
41584+
"""
41585+
41586+
type = 'passive'
41587+
41588+
@staticmethod
41589+
def handler(fit, ship, context, projectionRange, **kwargs):
41590+
fit.modules.filteredItemBoost(
41591+
lambda mod: mod.item.requiresSkill('Large Precursor Weapon'), 'trackingSpeed',
41592+
ship.getModifiedItemAttr('shipBonusPBS2'), skill='Precursor Battleship', **kwargs)
41593+
41594+
41595+
class Effect12288(BaseEffect):
41596+
"""
41597+
eliteBonusViolatorsLPWDmgMultiMax1
41598+
41599+
Used by:
41600+
Ship: Babaroga
41601+
"""
41602+
41603+
type = 'passive'
41604+
41605+
@staticmethod
41606+
def handler(fit, ship, context, projectionRange, **kwargs):
41607+
fit.modules.filteredItemBoost(
41608+
lambda mod: mod.item.requiresSkill('Large Precursor Weapon'), 'damageMultiplierBonusMax',
41609+
ship.getModifiedItemAttr('eliteBonusViolators1'), skill='Marauders', **kwargs)

0 commit comments

Comments
 (0)