Files
pyfa/eos/effects/elitebonusheavygunshipdronecontrolrange1.py
2015-01-14 21:04:12 -05:00

10 lines
323 B
Python

# eliteBonusHeavyGunshipDroneControlRange1
#
# Used by:
# Ship: Ishtar
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Heavy Assault Cruisers").level
amount = ship.getModifiedItemAttr("eliteBonusHeavyGunship1") * level
fit.extraAttributes.increase("droneControlRange", amount)