11 lines
359 B
Python
11 lines
359 B
Python
# shipBonusArmorResistAB
|
|
#
|
|
# Used by:
|
|
# Ship: Abaddon
|
|
# 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)
|