From 09374f1643d84434a64eb1b16b86293686a91427 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Thu, 21 Nov 2013 22:31:37 +0400 Subject: [PATCH] Add missing paladin optimal effect --- eos/effects/shipbonuslargeenergyturretmaxrangeab.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 eos/effects/shipbonuslargeenergyturretmaxrangeab.py diff --git a/eos/effects/shipbonuslargeenergyturretmaxrangeab.py b/eos/effects/shipbonuslargeenergyturretmaxrangeab.py new file mode 100644 index 0000000000..8e738484b1 --- /dev/null +++ b/eos/effects/shipbonuslargeenergyturretmaxrangeab.py @@ -0,0 +1,7 @@ +# Used by: +# Ship: Paladin +type = "passive" +def handler(fit, ship, context): + level = fit.character.getSkill("Amarr Battleship").level + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Large Energy Turret"), + "maxRange", ship.getModifiedItemAttr("shipBonusAB") * level)