Update database and add effects for two new triglavian ships

This commit is contained in:
DarkPhoenix
2018-11-02 15:49:35 +03:00
parent 78ff74f0f7
commit cf27c2be10
11 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
type = "passive"
def handler(fit, ship, context):
fit.ship.boostItemAttr("armorEmDamageResonance", ship.getModifiedItemAttr("shipBonusPBC2"),
skill="Precursor Battlecruiser")

View File

@@ -0,0 +1,6 @@
type = "passive"
def handler(fit, ship, context):
fit.ship.boostItemAttr("armorExplosiveDamageResonance", ship.getModifiedItemAttr("shipBonusPBC2"),
skill="Precursor Battlecruiser")

View File

@@ -0,0 +1,6 @@
type = "passive"
def handler(fit, ship, context):
fit.ship.boostItemAttr("armorKineticDamageResonance", ship.getModifiedItemAttr("shipBonusPBC2"),
skill="Precursor Battlecruiser")

View File

@@ -0,0 +1,6 @@
type = "passive"
def handler(fit, ship, context):
fit.ship.boostItemAttr("armorThermalDamageResonance", ship.getModifiedItemAttr("shipBonusPBC2"),
skill="Precursor Battlecruiser")

View File

@@ -0,0 +1,7 @@
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Precursor Weapon"),
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPBC1"),
skill="Precursor Battlecruiser")

View File

@@ -0,0 +1,7 @@
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Precursor Weapon"),
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPD1"),
skill="Precursor Destroyer")

View File

@@ -0,0 +1,7 @@
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Precursor Weapon"),
"maxRange", ship.getModifiedItemAttr("shipBonusPD2"),
skill="Precursor Destroyer")

View File

@@ -0,0 +1,6 @@
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Precursor Weapon"),
"maxRange", ship.getModifiedItemAttr("roleBonusCBC"))

View File

@@ -0,0 +1,6 @@
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Precursor Weapon"),
"maxRange", ship.getModifiedItemAttr("maxRangeBonus"))

BIN
eve.db

Binary file not shown.