diff --git a/config.py b/config.py index 56e5dd8083..0cbc5b9965 100644 --- a/config.py +++ b/config.py @@ -16,7 +16,7 @@ version = "1.12.1" tag = "git" expansionName = "Singularity" -expansionVersion = "906843" +expansionVersion = "908326" evemonMinVersion = "4081" # Database version (int ONLY) diff --git a/eos/effects/missileaoecloudsizebonusonline.py b/eos/effects/missileaoecloudsizebonusonline.py new file mode 100644 index 0000000000..d6892518f9 --- /dev/null +++ b/eos/effects/missileaoecloudsizebonusonline.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, container, context): + fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), + "aoeCloudSize", container.getModifiedItemAttr("aoeCloudSizeBonus")) diff --git a/eos/effects/missileaoevelocitybonusonline.py b/eos/effects/missileaoevelocitybonusonline.py new file mode 100644 index 0000000000..74269c36ca --- /dev/null +++ b/eos/effects/missileaoevelocitybonusonline.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, container, context): + fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), + "aoeVelocity", container.getModifiedItemAttr("aoeVelocityBonus")) diff --git a/eos/effects/missileexplosiondelaybonusonline.py b/eos/effects/missileexplosiondelaybonusonline.py new file mode 100644 index 0000000000..314a7588e2 --- /dev/null +++ b/eos/effects/missileexplosiondelaybonusonline.py @@ -0,0 +1,5 @@ +type = "passive" +def handler(fit, container, context): + fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), + "explosionDelay", container.getModifiedItemAttr("explosionDelayBonus"), + stackingPenalties=True) diff --git a/eos/effects/missileguidancecomputerbonus4.py b/eos/effects/missileguidancecomputerbonus4.py new file mode 100644 index 0000000000..caa096ef76 --- /dev/null +++ b/eos/effects/missileguidancecomputerbonus4.py @@ -0,0 +1,11 @@ +type = "active" +def handler(fit, container, context): + for srcAttr, tgtAttr, penalize in ( + ("aoeCloudSizeBonus", "aoeCloudSize", False), + ("aoeVelocityBonus", "aoeVelocity", False), + ("missileVelocityBonus", "maxVelocity", True), + ("explosionDelayBonus", "explosionDelay", True), + ): + fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), + tgtAttr, container.getModifiedItemAttr(srcAttr), + stackingPenalties=penalize) diff --git a/eos/effects/missilevelocitybonusdefender.py b/eos/effects/missilevelocitybonusdefender.py index 1be4804f14..3ef92fa813 100644 --- a/eos/effects/missilevelocitybonusdefender.py +++ b/eos/effects/missilevelocitybonusdefender.py @@ -5,4 +5,4 @@ type = "passive" def handler(fit, container, context): fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Defender Missiles"), - "maxVelocity", container.getModifiedItemAttr("missileVelocityBonus")) \ No newline at end of file + "maxVelocity", container.getModifiedItemAttr("missileVelocityBonus")) diff --git a/eos/effects/missilevelocitybonusonline.py b/eos/effects/missilevelocitybonusonline.py new file mode 100644 index 0000000000..04dddd0adf --- /dev/null +++ b/eos/effects/missilevelocitybonusonline.py @@ -0,0 +1,5 @@ +type = "passive" +def handler(fit, container, context): + fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), + "maxVelocity", container.getModifiedItemAttr("missileVelocityBonus"), + stackingPenalties=True) diff --git a/eos/effects/modearmorrepdurationpostdiv.py b/eos/effects/modearmorrepdurationpostdiv.py new file mode 100644 index 0000000000..14d49e45d5 --- /dev/null +++ b/eos/effects/modearmorrepdurationpostdiv.py @@ -0,0 +1,7 @@ +type = "passive" +def handler(fit, module, context): + fit.modules.filteredItemMultiply( + lambda mod: mod.item.requiresSkill("Repair Systems"), + "duration", + 1 / module.getModifiedItemAttr("modeArmorRepDurationPostDiv") + ) diff --git a/eos/effects/overloadselfmissileguidancebonus5.py b/eos/effects/overloadselfmissileguidancebonus5.py new file mode 100644 index 0000000000..783adaae61 --- /dev/null +++ b/eos/effects/overloadselfmissileguidancebonus5.py @@ -0,0 +1,10 @@ +type = "overheat" +def handler(fit, module, context): + for tgtAttr in ( + "aoeCloudSizeBonus", + "explosionDelayBonus", + "missileVelocityBonus", + "maxVelocityBonus", + "aoeVelocityBonus" + ): + module.boostItemAttr(tgtAttr, module.getModifiedItemAttr("overloadTrackingModuleStrengthBonus")) diff --git a/eos/effects/scriptmissileguidancecomputeraoecloudsizebonusbonus.py b/eos/effects/scriptmissileguidancecomputeraoecloudsizebonusbonus.py new file mode 100644 index 0000000000..021a63624b --- /dev/null +++ b/eos/effects/scriptmissileguidancecomputeraoecloudsizebonusbonus.py @@ -0,0 +1,3 @@ +type = "passive" +def handler(fit, module, context): + module.boostItemAttr("aoeCloudSizeBonus", module.getModifiedChargeAttr("aoeCloudSizeBonusBonus")) diff --git a/eos/effects/scriptmissileguidancecomputeraoevelocitybonusbonus.py b/eos/effects/scriptmissileguidancecomputeraoevelocitybonusbonus.py new file mode 100644 index 0000000000..9e31d29b3e --- /dev/null +++ b/eos/effects/scriptmissileguidancecomputeraoevelocitybonusbonus.py @@ -0,0 +1,3 @@ +type = "passive" +def handler(fit, module, context): + module.boostItemAttr("aoeVelocityBonus", module.getModifiedChargeAttr("aoeVelocityBonusBonus")) diff --git a/eos/effects/scriptmissileguidancecomputerexplosiondelaybonusbonus.py b/eos/effects/scriptmissileguidancecomputerexplosiondelaybonusbonus.py new file mode 100644 index 0000000000..014eb16b73 --- /dev/null +++ b/eos/effects/scriptmissileguidancecomputerexplosiondelaybonusbonus.py @@ -0,0 +1,3 @@ +type = "passive" +def handler(fit, module, context): + module.boostItemAttr("explosionDelayBonus", module.getModifiedChargeAttr("explosionDelayBonusBonus")) diff --git a/eos/effects/scriptmissileguidancecomputermissilevelocitybonusbonus.py b/eos/effects/scriptmissileguidancecomputermissilevelocitybonusbonus.py new file mode 100644 index 0000000000..1e855722e3 --- /dev/null +++ b/eos/effects/scriptmissileguidancecomputermissilevelocitybonusbonus.py @@ -0,0 +1,3 @@ +type = "passive" +def handler(fit, module, context): + module.boostItemAttr("missileVelocityBonus", module.getModifiedChargeAttr("missileVelocityBonusBonus")) diff --git a/staticdata/eve.db b/staticdata/eve.db index 8a6253db81..5d277a6925 100644 Binary files a/staticdata/eve.db and b/staticdata/eve.db differ