Fix procurer's shield hp effect

This commit is contained in:
DarkPhoenix
2013-08-31 00:28:56 +04:00
parent 9fe93f46ef
commit f2e2572266

View File

@@ -3,5 +3,4 @@
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Mining Barge").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Shield Booster",
"shieldCapacity", ship.getModifiedItemAttr("shipBonusORE2") * level)
fit.ship.boostItemAttr("shieldCapacity", ship.getModifiedItemAttr("shipBonusORE2") * level)