Add new effects

This commit is contained in:
blitzmann
2017-07-03 22:24:27 -04:00
parent 2e598a7ef7
commit 27236feec3
9 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"),
"overloadSelfDurationBonus", src.getModifiedItemAttr("subsystemBonusAmarrDefensive3"),
skill="Amarr Defensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"),
"overloadArmorDamageAmount", src.getModifiedItemAttr("subsystemBonusAmarrDefensive3"),
skill="Amarr Defensive Systems")

View File

@@ -0,0 +1,4 @@
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("warpSpeedMultiplier", src.getModifiedItemAttr("subsystemBonusAmarrPropulsion2"),
skill="Amarr Propulsion Systems")

View File

@@ -0,0 +1,8 @@
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Operation"),
"overloadShieldBonus", src.getModifiedItemAttr("subsystemBonusCaldariDefensive3"),
skill="Caldari Defensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Operation"),
"overloadSelfDurationBonus", src.getModifiedItemAttr("subsystemBonusCaldariDefensive3"),
skill="Caldari Defensive Systems")

View File

@@ -0,0 +1,4 @@
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("warpSpeedMultiplier", src.getModifiedItemAttr("subsystemBonusCaldariPropulsion2"),
skill="Caldari Propulsion Systems")

View File

@@ -0,0 +1,4 @@
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("maxVelocity", src.getModifiedItemAttr("subsystemBonusCaldariPropulsion"),
skill="Caldari Propulsion Systems")

View File

@@ -0,0 +1,8 @@
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"),
"overloadSelfDurationBonus", src.getModifiedItemAttr("subsystemBonusGallenteDefensive3"),
skill="Gallente Defensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"),
"overloadArmorDamageAmount", src.getModifiedItemAttr("subsystemBonusGallenteDefensive3"),
skill="Gallente Defensive Systems")

View File

@@ -0,0 +1,4 @@
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("warpSpeedMultiplier", src.getModifiedItemAttr("subsystemBonusGallentePropulsion2"),
skill="Gallente Propulsion Systems")

View File

@@ -0,0 +1,9 @@
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems") or mod.item.requiresSkill("Shield Operation"),
"overloadArmorDamageAmount", src.getModifiedItemAttr("subsystemBonusMinmatarDefensive3"),
skill="Minmatar Defensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems") or mod.item.requiresSkill("Shield Operation"),
"overloadSelfDurationBonus", src.getModifiedItemAttr("subsystemBonusMinmatarDefensive3"),
skill="Minmatar Defensive Systems")

View File

@@ -0,0 +1,4 @@
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("warpSpeedMultiplier", src.getModifiedItemAttr("subsystemBonusMinmatarPropulsion2"),
skill="Minmatar Propulsion Systems")