Files
pyfa/eos/effects/shipcommandbonuseffectivemultiplierorecapital2.py
2014-05-31 22:13:59 +04:00

8 lines
341 B
Python
Executable File

# Used by:
# Ships from group: Capital Industrial Ship (2 of 2)
type = "passive"
def handler(fit, ship, context):
if fit.extraAttributes["siege"]:
level = fit.character.getSkill("Capital Industrial Ships").level
fit.ship.increaseItemAttr("commandBonusEffective", ship.getModifiedItemAttr("shipBonusORECapital2") * level)