Make armor resistance bonus of heretic to rely on correct skill
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Ship: Heretic
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Assault Frigates").level
|
||||
level = fit.character.getSkill("Interdictors").level
|
||||
for damageType in ("Em", "Thermal", "Explosive", "Kinetic"):
|
||||
fit.ship.boostItemAttr("armor%sDamageResonance" % damageType,
|
||||
ship.getModifiedItemAttr("eliteBonusInterdictors1") * level)
|
||||
|
||||
Reference in New Issue
Block a user