diff --git a/eos/effects/eliteindustrialarmorresists2.py b/eos/effects/eliteindustrialarmorresists2.py index e7b309177..a2fd87a86 100644 --- a/eos/effects/eliteindustrialarmorresists2.py +++ b/eos/effects/eliteindustrialarmorresists2.py @@ -5,5 +5,6 @@ # Ship: Occator type = "passive" def handler(fit, ship, context): + for damageType in ("em", "thermal", "explosive", "kinetic"): fit.ship.boostItemAttr("armor{}DamageResonance".format(damageType.capitalize()), ship.getModifiedItemAttr("eliteBonusIndustrial2"), skill="Transport Ships") diff --git a/eos/effects/shipadvancedspaceshipcommandagilitybonus.py b/eos/effects/shipadvancedspaceshipcommandagilitybonus.py index a9eab85dd..081daa2f7 100644 --- a/eos/effects/shipadvancedspaceshipcommandagilitybonus.py +++ b/eos/effects/shipadvancedspaceshipcommandagilitybonus.py @@ -4,4 +4,6 @@ # Items from market group: Ships > Capital Ships (27 of 28) type = "passive" def handler(fit, ship, context): - fit.ship.boostItemAttr("agility", skill.getModifiedItemAttr("agilityBonus"), skill="Advanced Spaceship Command") + skillName = "Advanced Spaceship Command" + skill = fit.character.getSkill(skillName) + fit.ship.boostItemAttr("agility", skill.getModifiedItemAttr("agilityBonus"), skill=skillName)