add / update effects for citadels

This commit is contained in:
blitzmann
2018-02-16 00:44:26 -05:00
parent 636ee1de23
commit fa3cf90421
23 changed files with 240 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
# Not used by any item
type = "passive"
def handler(fit, src, context):
fit.ship.multiplyItemAttr("shieldCapacity", src.getModifiedItemAttr("structureFullPowerStateHitpointMultiplier") or 0)
fit.ship.multiplyItemAttr("armorHP", src.getModifiedItemAttr("structureFullPowerStateHitpointMultiplier") or 0)