From b9efc919eab15ff51f3e7e303219fd8512dbcbe3 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Tue, 16 Jun 2015 16:53:21 +0300 Subject: [PATCH] Add missing RHML rof effect --- eos/effects/shipbonusrhmlrofcb.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 eos/effects/shipbonusrhmlrofcb.py diff --git a/eos/effects/shipbonusrhmlrofcb.py b/eos/effects/shipbonusrhmlrofcb.py new file mode 100644 index 000000000..c1a1f4c5f --- /dev/null +++ b/eos/effects/shipbonusrhmlrofcb.py @@ -0,0 +1,5 @@ +type = "passive" +def handler(fit, ship, context): + level = fit.character.getSkill("Caldari Battleship").level + fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Missile Launcher Rapid Heavy", + "speed", ship.getModifiedItemAttr("shipBonusCB") * level)