diff --git a/eos/effects/shiparmoremresistancepbc2.py b/eos/effects/shiparmoremresistancepbc2.py new file mode 100644 index 000000000..9cf226dae --- /dev/null +++ b/eos/effects/shiparmoremresistancepbc2.py @@ -0,0 +1,6 @@ +type = "passive" + + +def handler(fit, ship, context): + fit.ship.boostItemAttr("armorEmDamageResonance", ship.getModifiedItemAttr("shipBonusPBC2"), + skill="Precursor Battlecruiser") diff --git a/eos/effects/shiparmorexplosiveresistancepbc2.py b/eos/effects/shiparmorexplosiveresistancepbc2.py new file mode 100644 index 000000000..4e5fc21b9 --- /dev/null +++ b/eos/effects/shiparmorexplosiveresistancepbc2.py @@ -0,0 +1,6 @@ +type = "passive" + + +def handler(fit, ship, context): + fit.ship.boostItemAttr("armorExplosiveDamageResonance", ship.getModifiedItemAttr("shipBonusPBC2"), + skill="Precursor Battlecruiser") diff --git a/eos/effects/shiparmorkineticresistancepbc2.py b/eos/effects/shiparmorkineticresistancepbc2.py new file mode 100644 index 000000000..94208376c --- /dev/null +++ b/eos/effects/shiparmorkineticresistancepbc2.py @@ -0,0 +1,6 @@ +type = "passive" + + +def handler(fit, ship, context): + fit.ship.boostItemAttr("armorKineticDamageResonance", ship.getModifiedItemAttr("shipBonusPBC2"), + skill="Precursor Battlecruiser") diff --git a/eos/effects/shiparmorthermalresistancepbc2.py b/eos/effects/shiparmorthermalresistancepbc2.py new file mode 100644 index 000000000..e158932d8 --- /dev/null +++ b/eos/effects/shiparmorthermalresistancepbc2.py @@ -0,0 +1,6 @@ +type = "passive" + + +def handler(fit, ship, context): + fit.ship.boostItemAttr("armorThermalDamageResonance", ship.getModifiedItemAttr("shipBonusPBC2"), + skill="Precursor Battlecruiser") diff --git a/eos/effects/shipbonuspbc1disintegratordamage.py b/eos/effects/shipbonuspbc1disintegratordamage.py new file mode 100644 index 000000000..21251180b --- /dev/null +++ b/eos/effects/shipbonuspbc1disintegratordamage.py @@ -0,0 +1,7 @@ +type = "passive" + + +def handler(fit, ship, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Precursor Weapon"), + "damageMultiplier", ship.getModifiedItemAttr("shipBonusPBC1"), + skill="Precursor Battlecruiser") diff --git a/eos/effects/shipbonuspd1disintegratordamage.py b/eos/effects/shipbonuspd1disintegratordamage.py new file mode 100644 index 000000000..23ed2dc5b --- /dev/null +++ b/eos/effects/shipbonuspd1disintegratordamage.py @@ -0,0 +1,7 @@ +type = "passive" + + +def handler(fit, ship, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Precursor Weapon"), + "damageMultiplier", ship.getModifiedItemAttr("shipBonusPD1"), + skill="Precursor Destroyer") diff --git a/eos/effects/shipbonuspd2disintegratormaxrange.py b/eos/effects/shipbonuspd2disintegratormaxrange.py new file mode 100644 index 000000000..740734435 --- /dev/null +++ b/eos/effects/shipbonuspd2disintegratormaxrange.py @@ -0,0 +1,7 @@ +type = "passive" + + +def handler(fit, ship, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Precursor Weapon"), + "maxRange", ship.getModifiedItemAttr("shipBonusPD2"), + skill="Precursor Destroyer") diff --git a/eos/effects/shiproledisintegratormaxrangecbc.py b/eos/effects/shiproledisintegratormaxrangecbc.py new file mode 100644 index 000000000..c89d0d8c2 --- /dev/null +++ b/eos/effects/shiproledisintegratormaxrangecbc.py @@ -0,0 +1,6 @@ +type = "passive" + + +def handler(fit, ship, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Precursor Weapon"), + "maxRange", ship.getModifiedItemAttr("roleBonusCBC")) diff --git a/eos/effects/smalldisintegratormaxrangebonus.py b/eos/effects/smalldisintegratormaxrangebonus.py new file mode 100644 index 000000000..232bf0c2f --- /dev/null +++ b/eos/effects/smalldisintegratormaxrangebonus.py @@ -0,0 +1,6 @@ +type = "passive" + + +def handler(fit, ship, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Precursor Weapon"), + "maxRange", ship.getModifiedItemAttr("maxRangeBonus")) diff --git a/eos/effects/warpscramble.py b/eos/effects/warpdisrupt.py similarity index 100% rename from eos/effects/warpscramble.py rename to eos/effects/warpdisrupt.py diff --git a/eve.db b/eve.db index eb63928d4..e8d6c0862 100644 Binary files a/eve.db and b/eve.db differ