From 388c3c8bf19a7a3a6d39e1563471990358174ade Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Wed, 20 Nov 2013 22:17:09 +0400 Subject: [PATCH] Add missing Kronos falloff effect --- eos/effects/shipbonushtfalloffgb2.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 eos/effects/shipbonushtfalloffgb2.py diff --git a/eos/effects/shipbonushtfalloffgb2.py b/eos/effects/shipbonushtfalloffgb2.py new file mode 100644 index 000000000..4c57492c5 --- /dev/null +++ b/eos/effects/shipbonushtfalloffgb2.py @@ -0,0 +1,7 @@ +# Used by: +# Ship: Kronos +type = "passive" +def handler(fit, ship, context): + level = fit.character.getSkill("Gallente Battleship").level + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Large Hybrid Turret"), + "falloff", ship.getModifiedItemAttr("shipBonusGB2") * level)