From 4a70028762b84b76402323f932338d74f191d903 Mon Sep 17 00:00:00 2001 From: Ebag333 Date: Sat, 2 Jul 2016 01:02:03 -0700 Subject: [PATCH] Fixed type of weapon Used to be applied to Naglfar, but everyone knows that Vehement is the new Naglfar, and never use projectiles after memorial day (only hybrids). --- eos/effects/shipbonusdreadnoughtrole1damagebonus.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/eos/effects/shipbonusdreadnoughtrole1damagebonus.py b/eos/effects/shipbonusdreadnoughtrole1damagebonus.py index c7fd5b85b..af41ab040 100644 --- a/eos/effects/shipbonusdreadnoughtrole1damagebonus.py +++ b/eos/effects/shipbonusdreadnoughtrole1damagebonus.py @@ -1,7 +1,9 @@ # shipBonusDreadnoughtRole1DamageBonus # # Used by: -# Ship: Naglfar +# Ship: Vehement (used to be used by Naglfar) type = "passive" -def handler(fit, src, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Projectile Turret"), "damageMultiplier", src.getModifiedItemAttr("shipBonusRole1")) +def handler(fit, ship, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"), + "damageMultiplier", ship.getModifiedItemAttr("shipBonusRole1")) +