fix tox stuff
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
# Not used by any item
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"), "trackingSpeed", src.getModifiedItemAttr("eliteBonusGunship2"), stackingPenalties=True, skill="Assault Frigates")
|
||||
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"), "trackingSpeed",
|
||||
src.getModifiedItemAttr("eliteBonusGunship2"), stackingPenalties=True, skill="Assault Frigates")
|
||||
|
||||
@@ -3,5 +3,8 @@
|
||||
# Used by:
|
||||
# Ship: Jaguar
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), "emDamage", src.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), "emDamage",
|
||||
src.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")
|
||||
|
||||
@@ -3,5 +3,8 @@
|
||||
# Used by:
|
||||
# Ship: Jaguar
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), "aoeVelocity", src.getModifiedItemAttr("eliteBonusGunship2"), stackingPenalties=True, skill="Assault Frigates")
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), "aoeVelocity",
|
||||
src.getModifiedItemAttr("eliteBonusGunship2"), stackingPenalties=True, skill="Assault Frigates")
|
||||
|
||||
@@ -3,5 +3,8 @@
|
||||
# Used by:
|
||||
# Ship: Jaguar
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), "explosiveDamage", src.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), "explosiveDamage",
|
||||
src.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")
|
||||
|
||||
@@ -3,5 +3,8 @@
|
||||
# Used by:
|
||||
# Ship: Jaguar
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), "kineticDamage", src.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), "kineticDamage",
|
||||
src.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")
|
||||
|
||||
@@ -3,5 +3,8 @@
|
||||
# Used by:
|
||||
# Ship: Jaguar
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), "thermalDamage", src.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), "thermalDamage",
|
||||
src.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
type = "active"
|
||||
runTime = "early"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
for layer, attrPrefix in (('shield', 'shield'), ('armor', 'armor'), ('hull', '')):
|
||||
for damageType in ('Kinetic', 'Thermal', 'Explosive', 'Em'):
|
||||
@@ -13,4 +14,3 @@ def handler(fit, src, context):
|
||||
booster = "%s%sDamageResonance" % (layer, damageType)
|
||||
|
||||
src.forceItemAttr(booster, src.getModifiedItemAttr("resistanceMultiplier"))
|
||||
|
||||
|
||||
@@ -3,5 +3,8 @@
|
||||
# Used by:
|
||||
# Implants named like: Inquest 'Eros' Stasis Webifier MR (3 of 3)
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web", "maxRange", src.getModifiedItemAttr("stasisWebRangeBonus"), stackingPenalties=True)
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web", "maxRange",
|
||||
src.getModifiedItemAttr("stasisWebRangeBonus"), stackingPenalties=True)
|
||||
|
||||
@@ -3,5 +3,8 @@
|
||||
# Used by:
|
||||
# Ship: Retribution
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Energy Turret"), "speed", src.getModifiedItemAttr("shipBonusAF"), stackingPenalties=True, skill="Amarr Frigate")
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Energy Turret"), "speed",
|
||||
src.getModifiedItemAttr("shipBonusAF"), stackingPenalties=True, skill="Amarr Frigate")
|
||||
|
||||
@@ -74,7 +74,7 @@ class Miscellanea(ViewColumn):
|
||||
return "", None
|
||||
elif itemGroup == "Booster":
|
||||
stuff.getModifiedItemAttr("boosterDuration")
|
||||
text = "{0} min".format(formatAmount(stuff.getModifiedItemAttr("boosterDuration")/1000/60, 3, 0, 3))
|
||||
text = "{0} min".format(formatAmount(stuff.getModifiedItemAttr("boosterDuration") / 1000 / 60, 3, 0, 3))
|
||||
return text, "Booster Duration"
|
||||
elif itemGroup in ("Energy Weapon", "Hybrid Weapon", "Projectile Weapon", "Combat Drone", "Fighter Drone"):
|
||||
trackingSpeed = stuff.getModifiedItemAttr("trackingSpeed")
|
||||
|
||||
Reference in New Issue
Block a user