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).
This commit is contained in:
Ebag333
2016-07-02 01:02:03 -07:00
parent 9255a9e638
commit 4a70028762

View File

@@ -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"))