From 831478e034cc4bfaccadf7d828ff1ec8fca56d3d Mon Sep 17 00:00:00 2001 From: blitzmann Date: Tue, 2 Dec 2014 01:15:06 -0500 Subject: [PATCH] Finish effects for Confessor --- eos/effects/probelaunchercpupercentbonustacticaldestroyer.py | 4 ++++ eos/effects/shipheatdamageamarrtacticaldestroyer3.py | 5 +++++ eos/effects/shipsetcapneedamarrtacticaldestroyer2.py | 5 +++++ eos/effects/shipsetdamageamarrtacticaldestroyer1.py | 5 +++++ 4 files changed, 19 insertions(+) create mode 100644 eos/effects/probelaunchercpupercentbonustacticaldestroyer.py create mode 100644 eos/effects/shipheatdamageamarrtacticaldestroyer3.py create mode 100644 eos/effects/shipsetcapneedamarrtacticaldestroyer2.py create mode 100644 eos/effects/shipsetdamageamarrtacticaldestroyer1.py diff --git a/eos/effects/probelaunchercpupercentbonustacticaldestroyer.py b/eos/effects/probelaunchercpupercentbonustacticaldestroyer.py new file mode 100644 index 000000000..026fb0818 --- /dev/null +++ b/eos/effects/probelaunchercpupercentbonustacticaldestroyer.py @@ -0,0 +1,4 @@ +type = "passive" +def handler(fit, ship, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Astrometrics"), + "cpu", ship.getModifiedItemAttr("roleBonusTacticalDestroyer1")) diff --git a/eos/effects/shipheatdamageamarrtacticaldestroyer3.py b/eos/effects/shipheatdamageamarrtacticaldestroyer3.py new file mode 100644 index 000000000..9585d71c7 --- /dev/null +++ b/eos/effects/shipheatdamageamarrtacticaldestroyer3.py @@ -0,0 +1,5 @@ +type = "passive" +def handler(fit, ship, context): + level = fit.character.getSkill("Amarr Tactical Destroyer").level + fit.modules.filteredItemBoost(lambda mod: True, "heatDamage", + ship.getModifiedItemAttr("shipBonusTacticalDestroyerAmarr3") * level) diff --git a/eos/effects/shipsetcapneedamarrtacticaldestroyer2.py b/eos/effects/shipsetcapneedamarrtacticaldestroyer2.py new file mode 100644 index 000000000..048c17a26 --- /dev/null +++ b/eos/effects/shipsetcapneedamarrtacticaldestroyer2.py @@ -0,0 +1,5 @@ +type = "passive" +def handler(fit, ship, context): + level = fit.character.getSkill("Amarr Tactical Destroyer").level + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Energy Turret"), + "capacitorNeed", ship.getModifiedItemAttr("shipBonusTacticalDestroyerAmarr2") * level) diff --git a/eos/effects/shipsetdamageamarrtacticaldestroyer1.py b/eos/effects/shipsetdamageamarrtacticaldestroyer1.py new file mode 100644 index 000000000..3bca59b8e --- /dev/null +++ b/eos/effects/shipsetdamageamarrtacticaldestroyer1.py @@ -0,0 +1,5 @@ +type = "passive" +def handler(fit, ship, context): + level = fit.character.getSkill("Amarr Tactical Destroyer").level + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Energy Turret"), + "damageMultiplier", ship.getModifiedItemAttr("shipBonusTacticalDestroyerAmarr1") * level)