Update for renamed attribute
This commit is contained in:
@@ -10,4 +10,4 @@ runTime = "early"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Cloaking"),
|
||||
"cpu", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"cpu", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -8,4 +8,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),
|
||||
"maxVelocity", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"maxVelocity", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Heavy Drone Operation"),
|
||||
"armorHP", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"armorHP", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Heavy Drone Operation"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Heavy Drone Operation"),
|
||||
"hp", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"hp", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Heavy Drone Operation"),
|
||||
"shieldCapacity", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"shieldCapacity", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Large Energy Turret"),
|
||||
"maxRange", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"maxRange", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -8,4 +8,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Light Drone Operation"),
|
||||
"armorHP", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"armorHP", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -8,4 +8,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Light Drone Operation"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -8,4 +8,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Light Drone Operation"),
|
||||
"hp", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"hp", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -8,4 +8,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Light Drone Operation"),
|
||||
"shieldCapacity", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"shieldCapacity", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -8,4 +8,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Medium Drone Operation"),
|
||||
"armorHP", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"armorHP", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -8,4 +8,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Medium Drone Operation"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -8,4 +8,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Medium Drone Operation"),
|
||||
"hp", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"hp", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -8,4 +8,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Medium Drone Operation"),
|
||||
"shieldCapacity", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"shieldCapacity", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -10,4 +10,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Energy Turret"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Energy Turret"),
|
||||
"maxRange", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"maxRange", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -10,4 +10,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Projectile Turret"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -9,4 +9,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"),
|
||||
"armorDamageAmount", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"armorDamageAmount", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Sentry Drone Interfacing"),
|
||||
"armorHP", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"armorHP", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Sentry Drone Interfacing"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Sentry Drone Interfacing"),
|
||||
"hp", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"hp", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Sentry Drone Interfacing"),
|
||||
"shieldCapacity", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"shieldCapacity", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -12,4 +12,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Energy Turret"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Assault Missiles"),
|
||||
"emDamage", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"emDamage", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Assault Missiles"),
|
||||
"explosiveDamage", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"explosiveDamage", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Assault Missiles"),
|
||||
"kineticDamage", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"kineticDamage", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Assault Missiles"),
|
||||
"thermalDamage", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"thermalDamage", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"),
|
||||
"emDamage", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"emDamage", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"),
|
||||
"explosiveDamage", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"explosiveDamage", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"),
|
||||
"kineticDamage", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"kineticDamage", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"),
|
||||
"thermalDamage", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"thermalDamage", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Large Hybrid Turret"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -8,4 +8,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -8,4 +8,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Large Energy Turret"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -9,4 +9,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||
"maxVelocity", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"maxVelocity", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -8,4 +8,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Light Missiles"),
|
||||
"maxVelocity", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"maxVelocity", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -8,4 +8,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Rockets"),
|
||||
"maxVelocity", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"maxVelocity", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Projectile Turret"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Large Projectile Turret"),
|
||||
"speed", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"speed", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -8,4 +8,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Projectile Turret"),
|
||||
"speed", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"speed", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Astrometrics"),
|
||||
"baseSensorStrength", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"baseSensorStrength", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -10,4 +10,4 @@ def handler(fit, ship, context):
|
||||
for damageType in ("em", "explosive", "kinetic", "thermal"):
|
||||
fit.modules.filteredChargeBoost(
|
||||
lambda mod: mod.charge.requiresSkill("Rockets") or mod.charge.requiresSkill("Light Missiles"),
|
||||
"{0}Damage".format(damageType), ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"{0}Damage".format(damageType), ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
@@ -4,4 +4,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Projectile Turret"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusRole7"))
|
||||
|
||||
Reference in New Issue
Block a user