Add damage mod effect and gun application readout

This commit is contained in:
DarkPhoenix
2020-06-06 00:25:19 +03:00
parent 01f1cdb175
commit 9aca49e539
2 changed files with 27 additions and 2 deletions

View File

@@ -36484,3 +36484,17 @@ class Effect8056(BaseEffect):
fit.modules.filteredItemBoost(
lambda mod: mod.item.requiresSkill('Large Vorton Projector'), 'speed',
ship.getModifiedItemAttr('shipBonusUB2'), skill='EDENCOM Battleship', **kwargs)
class Effect8057(BaseEffect):
type = 'passive'
@staticmethod
def handler(fit, module, context, projectionRange, **kwargs):
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == 'Vorton Projector',
'damageMultiplier', module.getModifiedItemAttr('damageMultiplier'),
stackingPenalties=True, **kwargs)
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == 'Vorton Projector',
'speed', module.getModifiedItemAttr('speedMultiplier'),
stackingPenalties=True, **kwargs)