Add hecate effects, update database to 906843
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# ammoInfluenceCapNeed
|
||||
#
|
||||
# Used by:
|
||||
# Items from category: Charge (458 of 829)
|
||||
# Items from category: Charge (458 of 831)
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
# Dirty hack to work around cap charges setting cap booster
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# ammoInfluenceRange
|
||||
#
|
||||
# Used by:
|
||||
# Items from category: Charge (559 of 829)
|
||||
# Items from category: Charge (559 of 831)
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
module.multiplyItemAttr("maxRange", module.getModifiedChargeAttr("weaponRangeMultiplier"))
|
||||
@@ -1,7 +1,7 @@
|
||||
# armorHPBonusAdd
|
||||
#
|
||||
# Used by:
|
||||
# Modules from group: Armor Reinforcer (38 of 38)
|
||||
# Modules from group: Armor Reinforcer (41 of 41)
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
fit.ship.increaseItemAttr("armorHP", module.getModifiedItemAttr("armorHPBonusAdd"))
|
||||
@@ -1,7 +1,7 @@
|
||||
# armorReinforcerMassAdd
|
||||
#
|
||||
# Used by:
|
||||
# Modules from group: Armor Reinforcer (38 of 38)
|
||||
# Modules from group: Armor Reinforcer (41 of 41)
|
||||
# Modules from group: Entosis Link (2 of 2)
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# eliteBonusHeavyInterdictorsWarpDisruptFieldGeneratorWarpScrambleRange2
|
||||
#
|
||||
# Used by:
|
||||
# Ships from group: Heavy Interdiction Cruiser (4 of 4)
|
||||
# Ships from group: Heavy Interdiction Cruiser (4 of 5)
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Heavy Interdiction Cruisers").level
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Interceptor2WarpScrambleRange
|
||||
#
|
||||
# Used by:
|
||||
# Ships from group: Interceptor (5 of 9)
|
||||
# Ships from group: Interceptor (5 of 10)
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Interceptors").level
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# interceptorMWDSignatureRadiusBonus
|
||||
#
|
||||
# Used by:
|
||||
# Ships from group: Interceptor (9 of 9)
|
||||
# Ships from group: Interceptor (9 of 10)
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Interceptors").level
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# modeAgilityPostDiv
|
||||
#
|
||||
# Used by:
|
||||
# Modules named like: Propulsion Mode (3 of 3)
|
||||
# Modules named like: Propulsion Mode (4 of 4)
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
fit.ship.multiplyItemAttr(
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
# modeArmorResonancePostDiv
|
||||
#
|
||||
# Used by:
|
||||
# Module: Confessor Defense Mode
|
||||
# Module: Svipul Defense Mode
|
||||
# Modules named like: Defense Mode (3 of 4)
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
for srcResType, tgtResType in (
|
||||
|
||||
16
eos/effects/modehullresonancepostdiv.py
Normal file
16
eos/effects/modehullresonancepostdiv.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# modeHullResonancePostDiv
|
||||
#
|
||||
# Used by:
|
||||
# Module: Hecate Defense Mode
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
for srcResType, tgtResType in (
|
||||
("Em", "em"),
|
||||
("Explosive", "explosive"),
|
||||
("Kinetic", "kinetic"),
|
||||
("Thermic", "thermal")
|
||||
):
|
||||
fit.ship.multiplyItemAttr(
|
||||
"{0}DamageResonance".format(tgtResType),
|
||||
1 / module.getModifiedItemAttr("mode{0}ResistancePostDiv".format(srcResType))
|
||||
)
|
||||
13
eos/effects/modemwdboostpostdiv.py
Normal file
13
eos/effects/modemwdboostpostdiv.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# modeMWDBoostPostDiv
|
||||
#
|
||||
# Used by:
|
||||
# Module: Hecate Propulsion Mode
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemMultiply(
|
||||
lambda mod: mod.item.requiresSkill("High Speed Maneuvering"),
|
||||
"speedFactor",
|
||||
1 / module.getModifiedItemAttr("modeMWDVelocityPostDiv"),
|
||||
stackingPenalties=True,
|
||||
penaltyGroup="postDiv"
|
||||
)
|
||||
11
eos/effects/modemwdcappostdiv.py
Normal file
11
eos/effects/modemwdcappostdiv.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# modeMWDCapPostDiv
|
||||
#
|
||||
# Used by:
|
||||
# Module: Hecate Propulsion Mode
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemMultiply(
|
||||
lambda mod: mod.item.requiresSkill("High Speed Maneuvering"),
|
||||
"capacitorNeed",
|
||||
1 / module.getModifiedItemAttr("modeMWDCapPostDiv")
|
||||
)
|
||||
@@ -1,7 +1,7 @@
|
||||
# modeVelocityPostDiv
|
||||
#
|
||||
# Used by:
|
||||
# Modules named like: Propulsion Mode (3 of 3)
|
||||
# Modules named like: Propulsion Mode (3 of 4)
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
fit.ship.multiplyItemAttr(
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# OffensiveDefensiveReduction
|
||||
#
|
||||
# Used by:
|
||||
# Celestials named like: Drifter Incursion (6 of 6)
|
||||
# Celestials named like: Incursion ship attributes effects (3 of 3)
|
||||
runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# probeLauncherCPUPercentBonusTacticalDestroyer
|
||||
#
|
||||
# Used by:
|
||||
# Ships from group: Tactical Destroyer (3 of 3)
|
||||
# Ships from group: Tactical Destroyer (4 of 4)
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Astrometrics"),
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Daredevil
|
||||
# Ship: Hecate
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"),
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
# shipBonusRHMLROFCB
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Scorpion Navy Issue
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Caldari Battleship").level
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipCapPropulsionJamming
|
||||
#
|
||||
# Used by:
|
||||
# Ships from group: Interceptor (9 of 9)
|
||||
# Ships from group: Interceptor (9 of 10)
|
||||
# Ship: Atron
|
||||
# Ship: Condor
|
||||
# Ship: Executioner
|
||||
|
||||
9
eos/effects/shipheatdamagegallentetacticaldestroyer3.py
Normal file
9
eos/effects/shipheatdamagegallentetacticaldestroyer3.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# shipHeatDamageGallenteTacticalDestroyer3
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Hecate
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Gallente Tactical Destroyer").level
|
||||
fit.modules.filteredItemBoost(lambda mod: True, "heatDamage",
|
||||
ship.getModifiedItemAttr("shipBonusTacticalDestroyerGallente3") * level)
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipModeMaxTargetRangePostDiv
|
||||
#
|
||||
# Used by:
|
||||
# Modules named like: Sharpshooter Mode (3 of 3)
|
||||
# Modules named like: Sharpshooter Mode (4 of 4)
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
fit.ship.multiplyItemAttr(
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipModeScanResPostDiv
|
||||
#
|
||||
# Used by:
|
||||
# Modules named like: Sharpshooter Mode (3 of 3)
|
||||
# Modules named like: Sharpshooter Mode (4 of 4)
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
fit.ship.multiplyItemAttr(
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipModeScanStrengthPostDiv
|
||||
#
|
||||
# Used by:
|
||||
# Modules named like: Sharpshooter Mode (3 of 3)
|
||||
# Modules named like: Sharpshooter Mode (4 of 4)
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
for scanType in ("Gravimetric", "Magnetometric", "Radar", "Ladar"):
|
||||
|
||||
13
eos/effects/shipmodeshtoptimalrangepostdiv.py
Normal file
13
eos/effects/shipmodeshtoptimalrangepostdiv.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# shipModeSHTOptimalRangePostDiv
|
||||
#
|
||||
# Used by:
|
||||
# Module: Hecate Sharpshooter Mode
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemMultiply(
|
||||
lambda mod: mod.item.requiresSkill("Small Hybrid Turret"),
|
||||
"maxRange",
|
||||
1 / module.getModifiedItemAttr("modeMaxRangePostDiv"),
|
||||
stackingPenalties=True,
|
||||
penaltyGroup="postDiv"
|
||||
)
|
||||
9
eos/effects/shipshtrofgallentetacticaldestroyer1.py
Normal file
9
eos/effects/shipshtrofgallentetacticaldestroyer1.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# shipSHTRoFGallenteTacticalDestroyer1
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Hecate
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Gallente Tactical Destroyer").level
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"),
|
||||
"speed", ship.getModifiedItemAttr("shipBonusTacticalDestroyerGallente1") * level)
|
||||
9
eos/effects/shipshttrackinggallentetacticaldestroyer2.py
Normal file
9
eos/effects/shipshttrackinggallentetacticaldestroyer2.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# shipSHTTrackingGallenteTacticalDestroyer2
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Hecate
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Gallente Tactical Destroyer").level
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"),
|
||||
"trackingSpeed", ship.getModifiedItemAttr("shipBonusTacticalDestroyerGallente2") * level)
|
||||
@@ -1,6 +1,7 @@
|
||||
# systemDamageDrones
|
||||
#
|
||||
# Used by:
|
||||
# Celestials named like: Drifter Incursion (6 of 6)
|
||||
# Celestials named like: Magnetar Effect Beacon Class (6 of 6)
|
||||
runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# systemDamageEmMissiles
|
||||
#
|
||||
# Used by:
|
||||
# Celestials named like: Drifter Incursion (6 of 6)
|
||||
# Celestials named like: Magnetar Effect Beacon Class (6 of 6)
|
||||
runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# systemDamageExplosiveMissiles
|
||||
#
|
||||
# Used by:
|
||||
# Celestials named like: Drifter Incursion (6 of 6)
|
||||
# Celestials named like: Magnetar Effect Beacon Class (6 of 6)
|
||||
runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# systemDamageKineticMissiles
|
||||
#
|
||||
# Used by:
|
||||
# Celestials named like: Drifter Incursion (6 of 6)
|
||||
# Celestials named like: Magnetar Effect Beacon Class (6 of 6)
|
||||
runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# systemDamageMultiplierGunnery
|
||||
#
|
||||
# Used by:
|
||||
# Celestials named like: Drifter Incursion (6 of 6)
|
||||
# Celestials named like: Magnetar Effect Beacon Class (6 of 6)
|
||||
runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# systemDamageThermalMissiles
|
||||
#
|
||||
# Used by:
|
||||
# Celestials named like: Drifter Incursion (6 of 6)
|
||||
# Celestials named like: Magnetar Effect Beacon Class (6 of 6)
|
||||
runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#
|
||||
# Used by:
|
||||
# Celestials named like: Black Hole Effect Beacon Class (6 of 6)
|
||||
# Celestials named like: Drifter Incursion (6 of 6)
|
||||
runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# systemSmartBombEmDamage
|
||||
#
|
||||
# Used by:
|
||||
# Celestials named like: Drifter Incursion (6 of 6)
|
||||
# Celestials named like: Red Giant Beacon Class (6 of 6)
|
||||
runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# systemSmartBombExplosiveDamage
|
||||
#
|
||||
# Used by:
|
||||
# Celestials named like: Drifter Incursion (6 of 6)
|
||||
# Celestials named like: Red Giant Beacon Class (6 of 6)
|
||||
runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# systemSmartBombKineticDamage
|
||||
#
|
||||
# Used by:
|
||||
# Celestials named like: Drifter Incursion (6 of 6)
|
||||
# Celestials named like: Red Giant Beacon Class (6 of 6)
|
||||
runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# systemSmartBombThermalDamage
|
||||
#
|
||||
# Used by:
|
||||
# Celestials named like: Drifter Incursion (6 of 6)
|
||||
# Celestials named like: Red Giant Beacon Class (6 of 6)
|
||||
runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
|
||||
Binary file not shown.
BIN
staticdata/icons/ships/35683.png
Normal file
BIN
staticdata/icons/ships/35683.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
Reference in New Issue
Block a user