Skip to content

Commit 7b6b922

Browse files
committed
Update database to 965413 and implement BC changes
1 parent 492776c commit 7b6b922

25 files changed

Lines changed: 98 additions & 37 deletions
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# battlecruiserDroneSpeed
2+
#
3+
# Used by:
4+
# Ship: Myrmidon
5+
# Ship: Prophecy
6+
type = "passive"
7+
def handler(fit, ship, context):
8+
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),
9+
"maxVelocity", ship.getModifiedItemAttr("roleBonusCBC"))
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# battlecruiserMETRange
2+
#
3+
# Used by:
4+
# Ships named like: Harbinger (2 of 2)
5+
type = "passive"
6+
def handler(fit, ship, context):
7+
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Energy Turret"),
8+
"maxRange", ship.getModifiedItemAttr("roleBonusCBC"))
9+
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Energy Turret"),
10+
"falloff", ship.getModifiedItemAttr("roleBonusCBC"))
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# battlecruiserMHTRange
2+
#
3+
# Used by:
4+
# Ships named like: Brutix (2 of 2)
5+
# Ship: Ferox
6+
type = "passive"
7+
def handler(fit, ship, context):
8+
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"),
9+
"maxRange", ship.getModifiedItemAttr("roleBonusCBC"))
10+
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"),
11+
"falloff", ship.getModifiedItemAttr("roleBonusCBC"))
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# battlecruiserMissileRange
2+
#
3+
# Used by:
4+
# Ships named like: Drake (2 of 2)
5+
# Ship: Cyclone
6+
type = "passive"
7+
def handler(fit, skill, context):
8+
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
9+
"maxVelocity", skill.getModifiedItemAttr("roleBonusCBC"))
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# battlecruiserMPTRange
2+
#
3+
# Used by:
4+
# Ships named like: Hurricane (2 of 2)
5+
type = "passive"
6+
def handler(fit, ship, context):
7+
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Projectile Turret"),
8+
"maxRange", ship.getModifiedItemAttr("roleBonusCBC"))
9+
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Projectile Turret"),
10+
"falloff", ship.getModifiedItemAttr("roleBonusCBC"))
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# boosterArmorHpPenalty
22
#
33
# Used by:
4-
# Implants from group: Booster (12 of 37)
4+
# Implants from group: Booster (12 of 39)
55
type = "boosterSideEffect"
66
def handler(fit, booster, context):
77
fit.ship.boostItemAttr("armorHP", booster.getModifiedItemAttr("boosterArmorHPPenalty"))

eos/effects/boosterarmorrepairamountpenalty.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# boosterArmorRepairAmountPenalty
22
#
33
# Used by:
4-
# Implants from group: Booster (9 of 37)
4+
# Implants from group: Booster (9 of 39)
55
type = "boosterSideEffect"
66
def handler(fit, booster, context):
77
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Unit",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# boosterMaxVelocityPenalty
22
#
33
# Used by:
4-
# Implants from group: Booster (12 of 37)
4+
# Implants from group: Booster (12 of 39)
55
type = "boosterSideEffect"
66
def handler(fit, booster, context):
77
fit.ship.boostItemAttr("maxVelocity", booster.getModifiedItemAttr("boosterMaxVelocityPenalty"))
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# boosterShieldCapacityPenalty
22
#
33
# Used by:
4-
# Implants from group: Booster (12 of 37)
4+
# Implants from group: Booster (12 of 39)
55
type = "boosterSideEffect"
66
def handler(fit, booster, context):
77
fit.ship.boostItemAttr("shieldCapacity", booster.getModifiedItemAttr("boosterShieldCapacityPenalty"))

eos/effects/boosterturretoptimalrangepenalty.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# boosterTurretOptimalRangePenalty
22
#
33
# Used by:
4-
# Implants from group: Booster (9 of 37)
4+
# Implants from group: Booster (9 of 39)
55
type = "boosterSideEffect"
66
def handler(fit, booster, context):
77
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gunnery"),

0 commit comments

Comments
 (0)