Merge pull request #669 from Ebag333/VehementDPSEffectsFile

Fixed type of weapon
This commit is contained in:
Ryan Holmes
2016-07-03 00:26:58 -04:00
committed by GitHub

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