Fix vargur damage bonus

This commit is contained in:
DarkPhoenix
2021-02-19 02:16:57 +03:00
parent 30e73ed795
commit 538954f4a6

View File

@@ -37326,3 +37326,20 @@ class Effect8104(BaseEffect):
fit.drones.filteredItemBoost(
lambda mod: mod.item.requiresSkill('Salvage Drone Specialization'),
'maxVelocity', src.getModifiedItemAttr('maxVelocityBonus') * lvl, **kwargs)
class Effect8106(BaseEffect):
"""
shipPTdamageBonusMB2
Used by:
Ship: Vargur
"""
type = 'passive'
@staticmethod
def handler(fit, ship, context, projectionRange, **kwargs):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill('Large Projectile Turret'),
'damageMultiplier', ship.getModifiedItemAttr('shipBonusMB2'),
skill='Minmatar Battleship', **kwargs)