Skip to content

Commit 90a2a79

Browse files
committed
Add hecate effects, update database to 906843
1 parent 21efd6d commit 90a2a79

38 files changed

Lines changed: 112 additions & 16 deletions

eos/effects/ammoinfluencecapneed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ammoInfluenceCapNeed
22
#
33
# Used by:
4-
# Items from category: Charge (458 of 829)
4+
# Items from category: Charge (458 of 831)
55
type = "passive"
66
def handler(fit, module, context):
77
# Dirty hack to work around cap charges setting cap booster

eos/effects/ammoinfluencerange.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ammoInfluenceRange
22
#
33
# Used by:
4-
# Items from category: Charge (559 of 829)
4+
# Items from category: Charge (559 of 831)
55
type = "passive"
66
def handler(fit, module, context):
77
module.multiplyItemAttr("maxRange", module.getModifiedChargeAttr("weaponRangeMultiplier"))

eos/effects/armorhpbonusadd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# armorHPBonusAdd
22
#
33
# Used by:
4-
# Modules from group: Armor Reinforcer (38 of 38)
4+
# Modules from group: Armor Reinforcer (41 of 41)
55
type = "passive"
66
def handler(fit, module, context):
77
fit.ship.increaseItemAttr("armorHP", module.getModifiedItemAttr("armorHPBonusAdd"))

eos/effects/armorreinforcermassadd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# armorReinforcerMassAdd
22
#
33
# Used by:
4-
# Modules from group: Armor Reinforcer (38 of 38)
4+
# Modules from group: Armor Reinforcer (41 of 41)
55
# Modules from group: Entosis Link (2 of 2)
66
type = "passive"
77
def handler(fit, module, context):

eos/effects/elitebonusheavyinterdictorswarpdisruptfieldgeneratorwarpscramblerange2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# eliteBonusHeavyInterdictorsWarpDisruptFieldGeneratorWarpScrambleRange2
22
#
33
# Used by:
4-
# Ships from group: Heavy Interdiction Cruiser (4 of 4)
4+
# Ships from group: Heavy Interdiction Cruiser (4 of 5)
55
type = "passive"
66
def handler(fit, ship, context):
77
level = fit.character.getSkill("Heavy Interdiction Cruisers").level

eos/effects/interceptor2warpscramblerange.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Interceptor2WarpScrambleRange
22
#
33
# Used by:
4-
# Ships from group: Interceptor (5 of 9)
4+
# Ships from group: Interceptor (5 of 10)
55
type = "passive"
66
def handler(fit, ship, context):
77
level = fit.character.getSkill("Interceptors").level

eos/effects/interceptormwdsignatureradiusbonus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# interceptorMWDSignatureRadiusBonus
22
#
33
# Used by:
4-
# Ships from group: Interceptor (9 of 9)
4+
# Ships from group: Interceptor (9 of 10)
55
type = "passive"
66
def handler(fit, ship, context):
77
level = fit.character.getSkill("Interceptors").level

eos/effects/modeagilitypostdiv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# modeAgilityPostDiv
22
#
33
# Used by:
4-
# Modules named like: Propulsion Mode (3 of 3)
4+
# Modules named like: Propulsion Mode (4 of 4)
55
type = "passive"
66
def handler(fit, module, context):
77
fit.ship.multiplyItemAttr(

eos/effects/modearmorresonancepostdiv.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# modeArmorResonancePostDiv
22
#
33
# Used by:
4-
# Module: Confessor Defense Mode
5-
# Module: Svipul Defense Mode
4+
# Modules named like: Defense Mode (3 of 4)
65
type = "passive"
76
def handler(fit, module, context):
87
for srcResType, tgtResType in (
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# modeHullResonancePostDiv
2+
#
3+
# Used by:
4+
# Module: Hecate Defense Mode
5+
type = "passive"
6+
def handler(fit, module, context):
7+
for srcResType, tgtResType in (
8+
("Em", "em"),
9+
("Explosive", "explosive"),
10+
("Kinetic", "kinetic"),
11+
("Thermic", "thermal")
12+
):
13+
fit.ship.multiplyItemAttr(
14+
"{0}DamageResonance".format(tgtResType),
15+
1 / module.getModifiedItemAttr("mode{0}ResistancePostDiv".format(srcResType))
16+
)

0 commit comments

Comments
 (0)