From 672aed44f2534aa85215c6411b0741075c07c5e4 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Thu, 2 May 2019 16:40:38 +0300 Subject: [PATCH] Add trig frigate resist effects --- eos/effects.py | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/eos/effects.py b/eos/effects.py index dd78f53a1..d392f0acd 100644 --- a/eos/effects.py +++ b/eos/effects.py @@ -35619,3 +35619,63 @@ class Effect7186(BaseEffect): def handler(fit, ship, context): fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill('Medium Drone Operation'), 'armorHP', ship.getModifiedItemAttr('shipBonusRole8')) + + +class Effect7204(BaseEffect): + """ + shipArmorEMResistancePF2 + + Used by: + Variations of ship: Damavik (2 of 2) + """ + + type = 'passive' + + @staticmethod + def handler(fit, src, context): + fit.ship.boostItemAttr('armorEmDamageResonance', src.getModifiedItemAttr('shipBonusPF2'), skill='Precursor Frigate') + + +class Effect7205(BaseEffect): + """ + shipArmorKinResistancePF2 + + Used by: + Variations of ship: Damavik (2 of 2) + """ + + type = 'passive' + + @staticmethod + def handler(fit, src, context): + fit.ship.boostItemAttr('armorKineticDamageResonance', src.getModifiedItemAttr('shipBonusPF2'), skill='Precursor Frigate') + + +class Effect7206(BaseEffect): + """ + shipArmorThermResistancePF2 + + Used by: + Variations of ship: Damavik (2 of 2) + """ + + type = 'passive' + + @staticmethod + def handler(fit, src, context): + fit.ship.boostItemAttr('armorThermalDamageResonance', src.getModifiedItemAttr('shipBonusPF2'), skill='Precursor Frigate') + + +class Effect7207(BaseEffect): + """ + shipArmorExpResistancePF2 + + Used by: + Variations of ship: Damavik (2 of 2) + """ + + type = 'passive' + + @staticmethod + def handler(fit, src, context): + fit.ship.boostItemAttr('armorExplosiveDamageResonance', src.getModifiedItemAttr('shipBonusPF2'), skill='Precursor Frigate')