Anhinga effect changes
This commit is contained in:
294
eos/effects.py
294
eos/effects.py
@@ -1358,10 +1358,11 @@ class Effect485(BaseEffect):
|
|||||||
Implants named like: Halcyon G Booster (5 of 5)
|
Implants named like: Halcyon G Booster (5 of 5)
|
||||||
Implants named like: Halcyon R Booster (5 of 5)
|
Implants named like: Halcyon R Booster (5 of 5)
|
||||||
Implants named like: Inherent Implants 'Squire' Capacitor Systems Operation EO (6 of 6)
|
Implants named like: Inherent Implants 'Squire' Capacitor Systems Operation EO (6 of 6)
|
||||||
Implants named like: Rapture Booster (5 of 5)
|
Implants named like: Wightstorm Rapture Booster (4 of 4)
|
||||||
Implants named like: grade Rapture (15 of 18)
|
Implants named like: grade Rapture (15 of 18)
|
||||||
Modules named like: Capacitor Control Circuit (8 of 8)
|
Modules named like: Capacitor Control Circuit (8 of 8)
|
||||||
Implant: AIR Overclocker Booster III
|
Implant: AIR Overclocker Booster III
|
||||||
|
Implant: AIR Rapture Booster II
|
||||||
Implant: Basic Capsuleer Engineering Augmentation Chip
|
Implant: Basic Capsuleer Engineering Augmentation Chip
|
||||||
Implant: Genolution Core Augmentation CA-2
|
Implant: Genolution Core Augmentation CA-2
|
||||||
Implant: Quafe Zero Green Apple
|
Implant: Quafe Zero Green Apple
|
||||||
@@ -2603,15 +2604,22 @@ class Effect891(BaseEffect):
|
|||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Variations of ship: Raven (3 of 4)
|
Variations of ship: Raven (3 of 4)
|
||||||
|
Module: Anhinga Tertiary Mode
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def handler(fit, ship, context, projectionRange, **kwargs):
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill('Cruise Missiles'),
|
if 'ship' in context:
|
||||||
'maxVelocity', ship.getModifiedItemAttr('shipBonusCB3'),
|
skill = 'Caldari Battleship'
|
||||||
skill='Caldari Battleship', **kwargs)
|
penalties = False
|
||||||
|
else:
|
||||||
|
skill = None
|
||||||
|
penalties = True
|
||||||
|
fit.modules.filteredChargeBoost(
|
||||||
|
lambda mod: mod.charge.requiresSkill('Cruise Missiles'), 'maxVelocity',
|
||||||
|
ship.getModifiedItemAttr('shipBonusCB3'), skill=skill, stackingPenalties=penalties, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class Effect892(BaseEffect):
|
class Effect892(BaseEffect):
|
||||||
@@ -2620,15 +2628,22 @@ class Effect892(BaseEffect):
|
|||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Variations of ship: Raven (3 of 4)
|
Variations of ship: Raven (3 of 4)
|
||||||
|
Module: Anhinga Tertiary Mode
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def handler(fit, ship, context, projectionRange, **kwargs):
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill('Torpedoes'),
|
if 'ship' in context:
|
||||||
'maxVelocity', ship.getModifiedItemAttr('shipBonusCB3'),
|
skill = 'Caldari Battleship'
|
||||||
skill='Caldari Battleship', **kwargs)
|
penalties = False
|
||||||
|
else:
|
||||||
|
skill = None
|
||||||
|
penalties = True
|
||||||
|
fit.modules.filteredChargeBoost(
|
||||||
|
lambda mod: mod.charge.requiresSkill('Torpedoes'), 'maxVelocity',
|
||||||
|
ship.getModifiedItemAttr('shipBonusCB3'), skill=skill, stackingPenalties=penalties, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class Effect896(BaseEffect):
|
class Effect896(BaseEffect):
|
||||||
@@ -3285,6 +3300,7 @@ class Effect1024(BaseEffect):
|
|||||||
shipMissileHeavyVelocityBonusCC2
|
shipMissileHeavyVelocityBonusCC2
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
|
Module: Anhinga Tertiary Mode
|
||||||
Ship: Caracal
|
Ship: Caracal
|
||||||
Ship: Osprey Navy Issue
|
Ship: Osprey Navy Issue
|
||||||
"""
|
"""
|
||||||
@@ -3293,9 +3309,15 @@ class Effect1024(BaseEffect):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def handler(fit, ship, context, projectionRange, **kwargs):
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill('Heavy Missiles'),
|
if 'ship' in context:
|
||||||
'maxVelocity', ship.getModifiedItemAttr('shipBonusCC2'),
|
skill = 'Caldari Cruiser'
|
||||||
skill='Caldari Cruiser', **kwargs)
|
penalties = False
|
||||||
|
else:
|
||||||
|
skill = None
|
||||||
|
penalties = True
|
||||||
|
fit.modules.filteredChargeBoost(
|
||||||
|
lambda mod: mod.charge.requiresSkill('Heavy Missiles'), 'maxVelocity',
|
||||||
|
ship.getModifiedItemAttr('shipBonusCC2'), skill=skill, stackingPenalties=penalties, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class Effect1030(BaseEffect):
|
class Effect1030(BaseEffect):
|
||||||
@@ -3905,6 +3927,7 @@ class Effect1230(BaseEffect):
|
|||||||
shipMissileVelocityPirateFactionFrigate
|
shipMissileVelocityPirateFactionFrigate
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
|
Module: Anhinga Primary Mode
|
||||||
Ship: Barghest
|
Ship: Barghest
|
||||||
Ship: Garmur
|
Ship: Garmur
|
||||||
Ship: Laelaps
|
Ship: Laelaps
|
||||||
@@ -3916,8 +3939,10 @@ class Effect1230(BaseEffect):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def handler(fit, ship, context, projectionRange, **kwargs):
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill('Missile Launcher Operation'),
|
penalties = 'ship' not in context
|
||||||
'maxVelocity', ship.getModifiedItemAttr('shipBonusRole7'), **kwargs)
|
fit.modules.filteredChargeBoost(
|
||||||
|
lambda mod: mod.charge.requiresSkill('Missile Launcher Operation'), 'maxVelocity',
|
||||||
|
ship.getModifiedItemAttr('shipBonusRole7'), stackingPenalties=penalties, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class Effect1232(BaseEffect):
|
class Effect1232(BaseEffect):
|
||||||
@@ -5654,6 +5679,7 @@ class Effect1885(BaseEffect):
|
|||||||
shipCruiseLauncherROFBonus2CB
|
shipCruiseLauncherROFBonus2CB
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
|
Modules named like: Anhinga Mode (3 of 3)
|
||||||
Ship: Raven
|
Ship: Raven
|
||||||
Ship: Raven State Issue
|
Ship: Raven State Issue
|
||||||
"""
|
"""
|
||||||
@@ -5662,9 +5688,18 @@ class Effect1885(BaseEffect):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def handler(fit, ship, context, projectionRange, **kwargs):
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == 'Missile Launcher Cruise',
|
if 'ship' in context:
|
||||||
'speed', ship.getModifiedItemAttr('shipBonus2CB'),
|
skill = 'Caldari Battleship'
|
||||||
skill='Caldari Battleship', **kwargs)
|
penalties = False
|
||||||
|
penaltyGroup = None
|
||||||
|
else:
|
||||||
|
skill = None
|
||||||
|
penalties = True
|
||||||
|
penaltyGroup = 'postPerc'
|
||||||
|
fit.modules.filteredItemBoost(
|
||||||
|
lambda mod: mod.item.group.name == 'Missile Launcher Cruise', 'speed',
|
||||||
|
ship.getModifiedItemAttr('shipBonus2CB'), skill=skill,
|
||||||
|
stackingPenalties=penalties, penaltyGroup=penaltyGroup, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class Effect1886(BaseEffect):
|
class Effect1886(BaseEffect):
|
||||||
@@ -5672,6 +5707,7 @@ class Effect1886(BaseEffect):
|
|||||||
shipSiegeLauncherROFBonus2CB
|
shipSiegeLauncherROFBonus2CB
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
|
Modules named like: Anhinga Mode (3 of 3)
|
||||||
Ship: Raven
|
Ship: Raven
|
||||||
Ship: Raven State Issue
|
Ship: Raven State Issue
|
||||||
"""
|
"""
|
||||||
@@ -5680,9 +5716,18 @@ class Effect1886(BaseEffect):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def handler(fit, ship, context, projectionRange, **kwargs):
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == 'Missile Launcher Torpedo',
|
if 'ship' in context:
|
||||||
'speed', ship.getModifiedItemAttr('shipBonus2CB'),
|
skill = 'Caldari Battleship'
|
||||||
skill='Caldari Battleship', **kwargs)
|
penalties = False
|
||||||
|
penaltyGroup = None
|
||||||
|
else:
|
||||||
|
skill = None
|
||||||
|
penalties = True
|
||||||
|
penaltyGroup = 'postPerc'
|
||||||
|
fit.modules.filteredItemBoost(
|
||||||
|
lambda mod: mod.item.group.name == 'Missile Launcher Torpedo', 'speed',
|
||||||
|
ship.getModifiedItemAttr('shipBonus2CB'), skill=skill,
|
||||||
|
stackingPenalties=penalties, penaltyGroup=penaltyGroup, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class Effect1910(BaseEffect):
|
class Effect1910(BaseEffect):
|
||||||
@@ -18182,6 +18227,7 @@ class Effect5213(BaseEffect):
|
|||||||
shipRocketMaxVelocityBonusRookie
|
shipRocketMaxVelocityBonusRookie
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
|
Module: Skua Sharpshooter Mode
|
||||||
Ship: Taipan
|
Ship: Taipan
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@@ -18189,8 +18235,10 @@ class Effect5213(BaseEffect):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def handler(fit, ship, context, projectionRange, **kwargs):
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill('Rockets'),
|
penalties = 'ship' not in context
|
||||||
'maxVelocity', ship.getModifiedItemAttr('rookieRocketVelocity'), **kwargs)
|
fit.modules.filteredChargeBoost(
|
||||||
|
lambda mod: mod.charge.requiresSkill('Rockets'), 'maxVelocity',
|
||||||
|
ship.getModifiedItemAttr('rookieRocketVelocity'), stackingPenalties=penalties, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class Effect5214(BaseEffect):
|
class Effect5214(BaseEffect):
|
||||||
@@ -18198,6 +18246,7 @@ class Effect5214(BaseEffect):
|
|||||||
shipLightMissileMaxVelocityBonusRookie
|
shipLightMissileMaxVelocityBonusRookie
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
|
Module: Skua Sharpshooter Mode
|
||||||
Ship: Taipan
|
Ship: Taipan
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@@ -18205,8 +18254,10 @@ class Effect5214(BaseEffect):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def handler(fit, ship, context, projectionRange, **kwargs):
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill('Light Missiles'),
|
penalties = 'ship' not in context
|
||||||
'maxVelocity', ship.getModifiedItemAttr('rookieLightMissileVelocity'), **kwargs)
|
fit.modules.filteredChargeBoost(
|
||||||
|
lambda mod: mod.charge.requiresSkill('Light Missiles'), 'maxVelocity',
|
||||||
|
ship.getModifiedItemAttr('rookieLightMissileVelocity'), stackingPenalties=penalties, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class Effect5215(BaseEffect):
|
class Effect5215(BaseEffect):
|
||||||
@@ -20348,6 +20399,7 @@ class Effect5468(BaseEffect):
|
|||||||
shipBonusAgilityCI2
|
shipBonusAgilityCI2
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
|
Module: Anhinga Tertiary Mode
|
||||||
Ship: Badger
|
Ship: Badger
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@@ -20355,7 +20407,14 @@ class Effect5468(BaseEffect):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def handler(fit, ship, context, projectionRange, **kwargs):
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
fit.ship.boostItemAttr('agility', ship.getModifiedItemAttr('shipBonusCI2'), skill='Caldari Hauler', **kwargs)
|
if 'ship' in context:
|
||||||
|
skill = 'Caldari Hauler'
|
||||||
|
penalties = False
|
||||||
|
else:
|
||||||
|
skill = None
|
||||||
|
penalties = True
|
||||||
|
fit.ship.boostItemAttr('agility', ship.getModifiedItemAttr('shipBonusCI2'),
|
||||||
|
skill=skill, stackingPenalties=penalties, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class Effect5469(BaseEffect):
|
class Effect5469(BaseEffect):
|
||||||
@@ -20888,6 +20947,24 @@ class Effect5559(BaseEffect):
|
|||||||
'shieldBonus', ship.getModifiedItemAttr('shipBonusMC2'), skill='Minmatar Cruiser', **kwargs)
|
'shieldBonus', ship.getModifiedItemAttr('shipBonusMC2'), skill='Minmatar Cruiser', **kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
class Effect5560(BaseEffect):
|
||||||
|
"""
|
||||||
|
roleBonusMarauderMJDRReactivationDelayBonus
|
||||||
|
|
||||||
|
Used by:
|
||||||
|
Module: Anhinga Tertiary Mode
|
||||||
|
"""
|
||||||
|
|
||||||
|
type = 'passive'
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
|
penalties = 'ship' not in context
|
||||||
|
fit.modules.filteredItemBoost(
|
||||||
|
lambda mod: mod.item.group.name == 'Micro Jump Drive', 'moduleReactivationDelay',
|
||||||
|
ship.getModifiedItemAttr('roleBonusMarauder'), stackingPenalties=penalties, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class Effect5564(BaseEffect):
|
class Effect5564(BaseEffect):
|
||||||
"""
|
"""
|
||||||
subSystemBonusCaldariOffensiveCommandBursts
|
subSystemBonusCaldariOffensiveCommandBursts
|
||||||
@@ -21078,6 +21155,7 @@ class Effect5618(BaseEffect):
|
|||||||
shipBonusRHMLROF2CB
|
shipBonusRHMLROF2CB
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
|
Modules named like: Anhinga Mode (3 of 3)
|
||||||
Ship: Raven
|
Ship: Raven
|
||||||
Ship: Widow
|
Ship: Widow
|
||||||
"""
|
"""
|
||||||
@@ -21086,8 +21164,18 @@ class Effect5618(BaseEffect):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def handler(fit, ship, context, projectionRange, **kwargs):
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == 'Missile Launcher Rapid Heavy',
|
if 'ship' in context:
|
||||||
'speed', ship.getModifiedItemAttr('shipBonus2CB'), skill='Caldari Battleship', **kwargs)
|
skill = 'Caldari Battleship'
|
||||||
|
penalties = False
|
||||||
|
penaltyGroup = None
|
||||||
|
else:
|
||||||
|
skill = None
|
||||||
|
penalties = True
|
||||||
|
penaltyGroup = 'postPerc'
|
||||||
|
fit.modules.filteredItemBoost(
|
||||||
|
lambda mod: mod.item.group.name == 'Missile Launcher Rapid Heavy', 'speed',
|
||||||
|
ship.getModifiedItemAttr('shipBonus2CB'), skill=skill,
|
||||||
|
stackingPenalties=penalties, penaltyGroup=penaltyGroup, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class Effect5619(BaseEffect):
|
class Effect5619(BaseEffect):
|
||||||
@@ -22376,6 +22464,8 @@ class Effect5867(BaseEffect):
|
|||||||
shipBonusMissileExplosionDelayPirateFaction2
|
shipBonusMissileExplosionDelayPirateFaction2
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
|
Module: Anhinga Primary Mode
|
||||||
|
Module: Anhinga Secondary Mode
|
||||||
Ship: Barghest
|
Ship: Barghest
|
||||||
Ship: Garmur
|
Ship: Garmur
|
||||||
Ship: Laelaps
|
Ship: Laelaps
|
||||||
@@ -22387,8 +22477,10 @@ class Effect5867(BaseEffect):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def handler(fit, ship, context, projectionRange, **kwargs):
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill('Missile Launcher Operation'),
|
penalties = 'ship' not in context
|
||||||
'explosionDelay', ship.getModifiedItemAttr('shipBonusRole8'), **kwargs)
|
fit.modules.filteredChargeBoost(
|
||||||
|
lambda mod: mod.charge.requiresSkill('Missile Launcher Operation'), 'explosionDelay',
|
||||||
|
ship.getModifiedItemAttr('shipBonusRole8'), stackingPenalties=penalties, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class Effect5868(BaseEffect):
|
class Effect5868(BaseEffect):
|
||||||
@@ -23310,7 +23402,7 @@ class Effect6009(BaseEffect):
|
|||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Ships from group: Strategic Cruiser (4 of 4)
|
Ships from group: Strategic Cruiser (4 of 4)
|
||||||
Ships from group: Tactical Destroyer (4 of 4)
|
Ships from group: Tactical Destroyer (5 of 5)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -23327,7 +23419,8 @@ class Effect6010(BaseEffect):
|
|||||||
shipModeMaxTargetRangePostDiv
|
shipModeMaxTargetRangePostDiv
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Modules named like: Sharpshooter Mode (4 of 4)
|
Modules named like: Sharpshooter Mode (5 of 5)
|
||||||
|
Module: Anhinga Primary Mode
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -23368,7 +23461,7 @@ class Effect6012(BaseEffect):
|
|||||||
shipModeScanStrengthPostDiv
|
shipModeScanStrengthPostDiv
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Modules named like: Sharpshooter Mode (4 of 4)
|
Modules named like: Sharpshooter Mode (5 of 5)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -23389,8 +23482,7 @@ class Effect6014(BaseEffect):
|
|||||||
modeSigRadiusPostDiv
|
modeSigRadiusPostDiv
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Module: Confessor Defense Mode
|
Modules named like: Defense Mode (3 of 5)
|
||||||
Module: Jackdaw Defense Mode
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -23406,7 +23498,7 @@ class Effect6015(BaseEffect):
|
|||||||
modeArmorResonancePostDiv
|
modeArmorResonancePostDiv
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Modules named like: Defense Mode (3 of 4)
|
Modules named like: Defense Mode (3 of 5)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -23432,7 +23524,7 @@ class Effect6016(BaseEffect):
|
|||||||
modeAgilityPostDiv
|
modeAgilityPostDiv
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Modules named like: Propulsion Mode (4 of 4)
|
Modules named like: Propulsion Mode (5 of 5)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -23646,8 +23738,7 @@ class Effect6041(BaseEffect):
|
|||||||
modeShieldResonancePostDiv
|
modeShieldResonancePostDiv
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Module: Jackdaw Defense Mode
|
Modules named like: Defense Mode (3 of 5)
|
||||||
Module: Svipul Defense Mode
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -23971,6 +24062,7 @@ class Effect6077(BaseEffect):
|
|||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Ship: Jackdaw
|
Ship: Jackdaw
|
||||||
|
Ship: Skua
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -23989,6 +24081,7 @@ class Effect6083(BaseEffect):
|
|||||||
Used by:
|
Used by:
|
||||||
Ship: Jackdaw
|
Ship: Jackdaw
|
||||||
Ship: Metamorphosis
|
Ship: Metamorphosis
|
||||||
|
Ship: Skua
|
||||||
Ship: Sunesis
|
Ship: Sunesis
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@@ -24008,6 +24101,7 @@ class Effect6085(BaseEffect):
|
|||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Ship: Jackdaw
|
Ship: Jackdaw
|
||||||
|
Ship: Skua
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -24082,6 +24176,7 @@ class Effect6098(BaseEffect):
|
|||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Ship: Jackdaw
|
Ship: Jackdaw
|
||||||
|
Ship: Skua
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -25475,6 +25570,7 @@ class Effect6316(BaseEffect):
|
|||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Ships from group: Command Destroyer (3 of 6)
|
Ships from group: Command Destroyer (3 of 6)
|
||||||
|
Ship: Skua
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -25493,6 +25589,7 @@ class Effect6317(BaseEffect):
|
|||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Ships from group: Command Destroyer (6 of 6)
|
Ships from group: Command Destroyer (6 of 6)
|
||||||
|
Ship: Skua
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -25766,6 +25863,7 @@ class Effect6334(BaseEffect):
|
|||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Ships from group: Command Destroyer (3 of 6)
|
Ships from group: Command Destroyer (3 of 6)
|
||||||
|
Ship: Skua
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -31730,6 +31828,7 @@ class Effect6799(BaseEffect):
|
|||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Module: Jackdaw Sharpshooter Mode
|
Module: Jackdaw Sharpshooter Mode
|
||||||
|
Module: Skua Sharpshooter Mode
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -31750,7 +31849,7 @@ class Effect6800(BaseEffect):
|
|||||||
modeDampTDResistsPostDiv
|
modeDampTDResistsPostDiv
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Modules named like: Sharpshooter Mode (4 of 4)
|
Modules named like: Sharpshooter Mode (5 of 5)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -31766,8 +31865,7 @@ class Effect6801(BaseEffect):
|
|||||||
modeMWDandABBoostPostDiv
|
modeMWDandABBoostPostDiv
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Module: Confessor Propulsion Mode
|
Modules named like: Propulsion Mode (3 of 5)
|
||||||
Module: Svipul Propulsion Mode
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -34763,11 +34861,20 @@ class Effect7117(BaseEffect):
|
|||||||
roleBonusWarpSpeed
|
roleBonusWarpSpeed
|
||||||
|
|
||||||
Used by:
|
Used by:
|
||||||
Items from category: Ship (42 of 410)
|
|
||||||
Ships from group: Blockade Runner (5 of 5)
|
Ships from group: Blockade Runner (5 of 5)
|
||||||
Ships from group: Covert Ops (9 of 9)
|
Ships from group: Covert Ops (9 of 9)
|
||||||
|
Ships from group: Hauler (5 of 18)
|
||||||
Ships from group: Interceptor (10 of 10)
|
Ships from group: Interceptor (10 of 10)
|
||||||
Ships from group: Interdictor (4 of 4)
|
Ships from group: Interdictor (4 of 4)
|
||||||
|
Ship: Azariel
|
||||||
|
Ship: Cynabal
|
||||||
|
Ship: Dramiel
|
||||||
|
Ship: Khizriel
|
||||||
|
Ship: Leopard
|
||||||
|
Ship: Machariel
|
||||||
|
Ship: Mekubal
|
||||||
|
Ship: Sarathiel
|
||||||
|
Ship: Victorieux Luxury Yacht
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type = 'passive'
|
type = 'passive'
|
||||||
@@ -42398,6 +42505,26 @@ class Effect12757(BaseEffect):
|
|||||||
'miningCritBonusYield', src.getModifiedItemAttr('miningCritBonusYieldBonus') * src.level, **kwargs)
|
'miningCritBonusYield', src.getModifiedItemAttr('miningCritBonusYieldBonus') * src.level, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
class Effect12758(BaseEffect):
|
||||||
|
"""
|
||||||
|
shipRoleBonusAnhingaLargeMissilePowerFittingBonus
|
||||||
|
|
||||||
|
Used by:
|
||||||
|
Ship: Anhinga
|
||||||
|
"""
|
||||||
|
|
||||||
|
type = 'passive'
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
|
fit.modules.filteredItemMultiply(
|
||||||
|
lambda mod: mod.item.group.name in (
|
||||||
|
'Missile Launcher Rapid Heavy',
|
||||||
|
'Missile Launcher Cruise',
|
||||||
|
'Missile Launcher Torpedo'),
|
||||||
|
'power', ship.getModifiedItemAttr('AnhingaLargeMissilePowerFittingBonus'), **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class Effect12759(BaseEffect):
|
class Effect12759(BaseEffect):
|
||||||
"""
|
"""
|
||||||
miningCritChanceBonusOreIceOnline
|
miningCritChanceBonusOreIceOnline
|
||||||
@@ -42452,6 +42579,58 @@ class Effect12761(BaseEffect):
|
|||||||
stackingPenalties=True, **kwargs)
|
stackingPenalties=True, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
class Effect12764(BaseEffect):
|
||||||
|
"""
|
||||||
|
shipRoleBonusAnhingaLargeMissileCpuFittingBonus
|
||||||
|
|
||||||
|
Used by:
|
||||||
|
Ship: Anhinga
|
||||||
|
"""
|
||||||
|
|
||||||
|
type = 'passive'
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
|
fit.modules.filteredItemMultiply(
|
||||||
|
lambda mod: mod.item.group.name in (
|
||||||
|
'Missile Launcher Rapid Heavy',
|
||||||
|
'Missile Launcher Cruise',
|
||||||
|
'Missile Launcher Torpedo'),
|
||||||
|
'cpu', ship.getModifiedItemAttr('AnhingaLargeMissileCpuFittingBonus'), **kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
class Effect12766(BaseEffect):
|
||||||
|
"""
|
||||||
|
shipBonusTorpedoAndCruiseMissileExplosionRadiusCBC1
|
||||||
|
|
||||||
|
Used by:
|
||||||
|
Ship: Anhinga
|
||||||
|
"""
|
||||||
|
|
||||||
|
type = 'passive'
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
|
fit.modules.filteredChargeBoost(
|
||||||
|
lambda mod: mod.charge.requiresSkill('Torpedoes') or mod.charge.requiresSkill('Cruise Missiles'),
|
||||||
|
'aoeCloudSize', ship.getModifiedItemAttr('shipBonusCBC1'), skill='Caldari Battlecruiser', **kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
class Effect12767(BaseEffect):
|
||||||
|
"""
|
||||||
|
tacticalBonusSkuaDefensiveShieldRechargeRate
|
||||||
|
|
||||||
|
Used by:
|
||||||
|
Module: Skua Defense Mode
|
||||||
|
"""
|
||||||
|
|
||||||
|
type = 'passive'
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def handler(fit, module, context, projectionRange, **kwargs):
|
||||||
|
fit.ship.multiplyItemAttr('shieldRechargeRate', 1 / module.getModifiedItemAttr('modeShieldRechargePostDiv'), **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class Effect12771(BaseEffect):
|
class Effect12771(BaseEffect):
|
||||||
"""
|
"""
|
||||||
shipRoleBonusPerseveranceIceMiningCriticalHitChanceBonus
|
shipRoleBonusPerseveranceIceMiningCriticalHitChanceBonus
|
||||||
@@ -42518,3 +42697,38 @@ class Effect12774(BaseEffect):
|
|||||||
fit.modules.filteredItemBoost(
|
fit.modules.filteredItemBoost(
|
||||||
lambda mod: mod.item.requiresSkill('Ice Harvesting'), 'maxRange',
|
lambda mod: mod.item.requiresSkill('Ice Harvesting'), 'maxRange',
|
||||||
ship.getModifiedItemAttr('shipBonusOreDestroyer3'), skill='Mining Destroyer', **kwargs)
|
ship.getModifiedItemAttr('shipBonusOreDestroyer3'), skill='Mining Destroyer', **kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
class Effect12777(BaseEffect):
|
||||||
|
"""
|
||||||
|
roleBonusCDLinksPGCPUReductionSkua
|
||||||
|
|
||||||
|
Used by:
|
||||||
|
Ship: Skua
|
||||||
|
"""
|
||||||
|
|
||||||
|
type = 'passive'
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def handler(fit, src, context, projectionRange, **kwargs):
|
||||||
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill('Leadership'), 'cpu',
|
||||||
|
src.getModifiedItemAttr('roleBonusCD'), **kwargs)
|
||||||
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill('Leadership'), 'power',
|
||||||
|
src.getModifiedItemAttr('roleBonusCD'), **kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
class Effect12790(BaseEffect):
|
||||||
|
"""
|
||||||
|
shipBonusTorpedoAndCruiseMissileExplosionVelocityCBC2
|
||||||
|
|
||||||
|
Used by:
|
||||||
|
Ship: Anhinga
|
||||||
|
"""
|
||||||
|
|
||||||
|
type = 'passive'
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def handler(fit, ship, context, projectionRange, **kwargs):
|
||||||
|
fit.modules.filteredChargeBoost(
|
||||||
|
lambda mod: mod.charge.requiresSkill('Torpedoes') or mod.charge.requiresSkill('Cruise Missiles'),
|
||||||
|
'aoeVelocity', ship.getModifiedItemAttr('shipBonusCBC2'), skill='Caldari Battlecruiser', **kwargs)
|
||||||
|
|||||||
@@ -41,11 +41,15 @@ def main(old, new, groups=True, effects=True, attributes=True, renames=True):
|
|||||||
new_cursor = new_db.cursor()
|
new_cursor = new_db.cursor()
|
||||||
|
|
||||||
# Force some of the items to make them published
|
# Force some of the items to make them published
|
||||||
FORCEPUB_TYPES = ("Ibis", "Impairor", "Velator", "Reaper",
|
FORCEPUB_TYPES = (
|
||||||
"Amarr Tactical Destroyer Propulsion Mode",
|
"% Propulsion Mode",
|
||||||
"Amarr Tactical Destroyer Sharpshooter Mode",
|
"% Sharpshooter Mode",
|
||||||
"Amarr Tactical Destroyer Defense Mode")
|
"% Defense Mode",
|
||||||
OVERRIDES_TYPEPUB = 'UPDATE invtypes SET published = 1 WHERE typeName = ?'
|
"% Primary Mode",
|
||||||
|
"% Secondary Mode",
|
||||||
|
"% Tertiary Mode",
|
||||||
|
)
|
||||||
|
OVERRIDES_TYPEPUB = 'UPDATE invtypes SET published = 1 WHERE typeName like ?'
|
||||||
for typename in FORCEPUB_TYPES:
|
for typename in FORCEPUB_TYPES:
|
||||||
old_cursor.execute(OVERRIDES_TYPEPUB, (typename,))
|
old_cursor.execute(OVERRIDES_TYPEPUB, (typename,))
|
||||||
new_cursor.execute(OVERRIDES_TYPEPUB, (typename,))
|
new_cursor.execute(OVERRIDES_TYPEPUB, (typename,))
|
||||||
|
|||||||
Reference in New Issue
Block a user