@@ -890,6 +890,42 @@ def __runCommandBoosts(self, runTime="normal"):
890890 lambda mod : mod .item .group .name == "Stasis Web" ,
891891 "maxRange" , value , stackingPenalties = True )
892892
893+ # Sov upgrades buffs
894+ if warfareBuffID == 2433 : # Sov System Modifier Shield HP Bonus
895+ self .ship .boostItemAttr ("shieldCapacity" , value )
896+ if warfareBuffID == 2434 : # Sov System Modifier Capacitor Capacity Bonus
897+ self .ship .boostItemAttr ("capacitorCapacity" , value )
898+ if warfareBuffID == 2435 : # Sov System Modifier Armor HP Bonus
899+ self .ship .boostItemAttr ("armorHP" , value )
900+ if warfareBuffID == 2436 : # Sov System Modifier Overheating Bonus - Includes Ewar
901+ for attr in (
902+ 'overloadDurationBonus' , 'overloadRofBonus' , 'overloadSelfDurationBonus' ,
903+ 'overloadHardeningBonus' , 'overloadDamageModifier' , 'overloadRangeBonus' ,
904+ 'overloadSpeedFactorBonus' , 'overloadECMStrengthBonus' , 'overloadECCMStrenghtBonus' ,
905+ 'overloadArmorDamageAmount' , 'overloadShieldBonus' , 'overloadTrackingModuleStrengthBonus' ,
906+ 'overloadSensorModuleStrengthBonus' , 'overloadPainterStrengthBonus' ,
907+ ):
908+ self .modules .filteredItemBoost (lambda mod : attr in mod .itemModifiedAttributes , attr , value )
909+ if warfareBuffID == 2437 : # Sov System Modifier Capacitor Recharge Bonus
910+ self .ship .boostItemAttr ("rechargeRate" , value )
911+ if warfareBuffID == 2438 : # Sov System Modifier Targeting and DScan Range Bonus
912+ self .ship .boostItemAttr ("maxTargetRange" , value )
913+ self .ship .boostItemAttr ("maxDirectionalScanRange" , value )
914+ if warfareBuffID == 2439 : # Sov System Modifier Scan Resolution Bonus
915+ self .ship .boostItemAttr ("scanResolution" , value )
916+ if warfareBuffID == 2440 : # Sov System Modifier Warp Speed Addition
917+ self .ship .increaseItemAttr ('warpSpeedMultiplier' , value )
918+ if warfareBuffID == 2441 : # Sov System Modifier Shield Booster Bonus
919+ self .modules .filteredItemBoost (
920+ lambda mod : (mod .item .requiresSkill ("Shield Operation" )
921+ or mod .item .requiresSkill ("Capital Shield Operation" )),
922+ "shieldBonus" , value , stackingPenalties = True )
923+ if warfareBuffID == 2442 : # Sov System Modifier Armor Repairer Bonus
924+ self .modules .filteredItemBoost (
925+ lambda mod : (mod .item .requiresSkill ("Repair Systems" )
926+ or mod .item .requiresSkill ("Capital Repair Systems" )),
927+ "armorDamageAmount" , value , stackingPenalties = True )
928+
893929 del self .commandBonuses [warfareBuffID ]
894930
895931 def __resetDependentCalcs (self ):
0 commit comments