From cdca8fe2367a572f857ce7d2ad154d3f84870a4a Mon Sep 17 00:00:00 2001 From: blitzmann Date: Tue, 28 Jun 2016 22:00:18 -0400 Subject: [PATCH] New effects --- eos/effects/shipbonusdreadnoughtm1webbonus.py | 3 +++ eos/effects/shipbonussupercarrierm1burstprojectorwebbonus.py | 3 +++ eos/effects/shipbonustitanm1webbonus.py | 3 +++ eos/effects/shipbonustitanrole3damagebonus.py | 3 +++ 4 files changed, 12 insertions(+) create mode 100644 eos/effects/shipbonusdreadnoughtm1webbonus.py create mode 100644 eos/effects/shipbonussupercarrierm1burstprojectorwebbonus.py create mode 100644 eos/effects/shipbonustitanm1webbonus.py create mode 100644 eos/effects/shipbonustitanrole3damagebonus.py diff --git a/eos/effects/shipbonusdreadnoughtm1webbonus.py b/eos/effects/shipbonusdreadnoughtm1webbonus.py new file mode 100644 index 000000000..0cf7fb7f1 --- /dev/null +++ b/eos/effects/shipbonusdreadnoughtm1webbonus.py @@ -0,0 +1,3 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web", "speedFactor", src.getModifiedItemAttr("shipBonusDreadnoughtM1"), skill="Minmatar Dreadnought") diff --git a/eos/effects/shipbonussupercarrierm1burstprojectorwebbonus.py b/eos/effects/shipbonussupercarrierm1burstprojectorwebbonus.py new file mode 100644 index 000000000..3bf0ba477 --- /dev/null +++ b/eos/effects/shipbonussupercarrierm1burstprojectorwebbonus.py @@ -0,0 +1,3 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Burst Projector Operation"), "speedFactor", src.getModifiedItemAttr("shipBonusSupercarrierM1"), skill="Minmatar Carrier") diff --git a/eos/effects/shipbonustitanm1webbonus.py b/eos/effects/shipbonustitanm1webbonus.py new file mode 100644 index 000000000..9bf5d2610 --- /dev/null +++ b/eos/effects/shipbonustitanm1webbonus.py @@ -0,0 +1,3 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web", "speedFactor", src.getModifiedItemAttr("shipBonusTitanM1"), skill="Minmatar Titan") diff --git a/eos/effects/shipbonustitanrole3damagebonus.py b/eos/effects/shipbonustitanrole3damagebonus.py new file mode 100644 index 000000000..836e1d165 --- /dev/null +++ b/eos/effects/shipbonustitanrole3damagebonus.py @@ -0,0 +1,3 @@ +type = "passive" +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"), "damageMultiplier", src.getModifiedItemAttr("shipBonusRole3"))