From a4ca2e90f9f2d3e3b659e543ab5a32127b39f7be Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Tue, 2 Jun 2015 16:48:58 +0300 Subject: [PATCH] Add effect which affects entosis duration on cap ships --- eos/effects/entosisdurationmultiply.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 eos/effects/entosisdurationmultiply.py diff --git a/eos/effects/entosisdurationmultiply.py b/eos/effects/entosisdurationmultiply.py new file mode 100644 index 000000000..0918f2079 --- /dev/null +++ b/eos/effects/entosisdurationmultiply.py @@ -0,0 +1,12 @@ +# entosisDurationMultiply +# +# Used by: +# Ships from group: Carrier (4 of 4) +# Ships from group: Dreadnought (4 of 4) +# Ships from group: Supercarrier (5 of 5) +# Ships from group: Titan (4 of 4) +# Ship: Rorqual +type = "passive" +def handler(fit, ship, context): + fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Infomorph Psychology"), + "duration", ship.getModifiedItemAttr("entosisDurationMultiplier") or 1)