Fix Advanced Spaceship Command skill and resists for Occator
This commit is contained in:
@@ -5,5 +5,6 @@
|
|||||||
# Ship: Occator
|
# Ship: Occator
|
||||||
type = "passive"
|
type = "passive"
|
||||||
def handler(fit, ship, context):
|
def handler(fit, ship, context):
|
||||||
|
for damageType in ("em", "thermal", "explosive", "kinetic"):
|
||||||
fit.ship.boostItemAttr("armor{}DamageResonance".format(damageType.capitalize()),
|
fit.ship.boostItemAttr("armor{}DamageResonance".format(damageType.capitalize()),
|
||||||
ship.getModifiedItemAttr("eliteBonusIndustrial2"), skill="Transport Ships")
|
ship.getModifiedItemAttr("eliteBonusIndustrial2"), skill="Transport Ships")
|
||||||
|
|||||||
@@ -4,4 +4,6 @@
|
|||||||
# Items from market group: Ships > Capital Ships (27 of 28)
|
# Items from market group: Ships > Capital Ships (27 of 28)
|
||||||
type = "passive"
|
type = "passive"
|
||||||
def handler(fit, ship, context):
|
def handler(fit, ship, context):
|
||||||
fit.ship.boostItemAttr("agility", skill.getModifiedItemAttr("agilityBonus"), skill="Advanced Spaceship Command")
|
skillName = "Advanced Spaceship Command"
|
||||||
|
skill = fit.character.getSkill(skillName)
|
||||||
|
fit.ship.boostItemAttr("agility", skill.getModifiedItemAttr("agilityBonus"), skill=skillName)
|
||||||
|
|||||||
Reference in New Issue
Block a user