Add new warfareBuffID, and fix issue with going to effect file in debug

This commit is contained in:
blitzmann
2018-05-20 14:10:37 -04:00
parent bc23417eae
commit afd16e1afd
4 changed files with 14 additions and 6 deletions

View File

@@ -677,6 +677,8 @@ class Fit(object):
self.ship.boostItemAttr("{}ThermalDamageResonance".format(tankType), value)
self.ship.boostItemAttr("thermalDamageResonance", value) # for hull
if warfareBuffID == 96: # Weather_infernal_armor_hp_bonus
self.ship.boostItemAttr("armorHP", value) # for hull
del self.commandBonuses[warfareBuffID]