Files
pyfa/eos/effects/overloadselfarmordamageamountdurationbonus.py
DarkPhoenix a8b1f38e84 Update database and implement ship effects, also make pyfa to show final damage value for disintegrators after ramp-up time is complete
(if you don't want me to commit here just write phoenix@mail.ru, i have no way to communicate with you otherwise)
2018-04-24 19:13:30 +03:00

13 lines
468 B
Python

# overloadSelfArmorDamageAmountDurationBonus
#
# Used by:
# Modules from group: Ancillary Armor Repairer (7 of 7)
# Modules from group: Armor Repair Unit (108 of 108)
type = "overheat"
def handler(fit, module, context):
module.boostItemAttr("duration", module.getModifiedItemAttr("overloadSelfDurationBonus"))
module.boostItemAttr("armorDamageAmount", module.getModifiedItemAttr("overloadArmorDamageAmount"),
stackingPenalties=True)