Files
pyfa/eos/effects/shipadvancedspaceshipcommandagilitybonus.py
2014-01-22 23:51:42 +04:00

13 lines
475 B
Python
Executable File

# Used by:
# Ships from group: Carrier (4 of 4)
# Ships from group: Dreadnought (4 of 4)
# Ships from group: Freighter (4 of 4)
# Ships from group: Jump Freighter (4 of 4)
# Ships from group: Supercarrier (5 of 5)
# Ships from group: Titan (4 of 4)
# Ship: Rorqual
type = "passive"
def handler(fit, ship, context):
skill = fit.character.getSkill("Advanced Spaceship Command")
fit.ship.boostItemAttr("agility", skill.getModifiedItemAttr("agilityBonus") * skill.level)