Update existing items

This commit is contained in:
DarkPhoenix
2013-10-08 00:35:18 +04:00
parent fc6aa191f1
commit c8e692d8d8
73 changed files with 157 additions and 75 deletions

View File

@@ -0,0 +1,8 @@
# Used by:
# Ship: Raptor
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Interceptors").level
damageTypes = ("Em", "Explosive", "Kinetic", "Thermal")
for damageType in damageTypes:
fit.ship.boostItemAttr("shield{0}DamageResonance".format(damageType), ship.getModifiedItemAttr("eliteBonusInterceptor2") * level)