Files
pyfa/eos/effects/modeagilitypostdiv.py
2015-05-21 16:44:39 +03:00

13 lines
314 B
Python

# modeAgilityPostDiv
#
# Used by:
# Modules named like: Propulsion Mode (3 of 3)
type = "passive"
def handler(fit, module, context):
fit.ship.multiplyItemAttr(
"agility",
1 / module.getModifiedItemAttr("modeAgilityPostDiv"),
stackingPenalties=True,
penaltyGroup="postDiv"
)