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

9 lines
353 B
Python
Executable File

# Used by:
# Ships named like: Abaddon (3 of 3)
# Ship: Nestor
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Battleship").level
for type in ("Em", "Explosive", "Kinetic", "Thermal"):
fit.ship.boostItemAttr("armor{0}DamageResonance".format(type), ship.getModifiedItemAttr("shipBonusAB") * level)