Update database and add effects for two new triglavian ships
This commit is contained in:
6
eos/effects/shiparmoremresistancepbc2.py
Normal file
6
eos/effects/shiparmoremresistancepbc2.py
Normal file
@@ -0,0 +1,6 @@
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.ship.boostItemAttr("armorEmDamageResonance", ship.getModifiedItemAttr("shipBonusPBC2"),
|
||||
skill="Precursor Battlecruiser")
|
||||
6
eos/effects/shiparmorexplosiveresistancepbc2.py
Normal file
6
eos/effects/shiparmorexplosiveresistancepbc2.py
Normal file
@@ -0,0 +1,6 @@
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.ship.boostItemAttr("armorExplosiveDamageResonance", ship.getModifiedItemAttr("shipBonusPBC2"),
|
||||
skill="Precursor Battlecruiser")
|
||||
6
eos/effects/shiparmorkineticresistancepbc2.py
Normal file
6
eos/effects/shiparmorkineticresistancepbc2.py
Normal file
@@ -0,0 +1,6 @@
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.ship.boostItemAttr("armorKineticDamageResonance", ship.getModifiedItemAttr("shipBonusPBC2"),
|
||||
skill="Precursor Battlecruiser")
|
||||
6
eos/effects/shiparmorthermalresistancepbc2.py
Normal file
6
eos/effects/shiparmorthermalresistancepbc2.py
Normal file
@@ -0,0 +1,6 @@
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.ship.boostItemAttr("armorThermalDamageResonance", ship.getModifiedItemAttr("shipBonusPBC2"),
|
||||
skill="Precursor Battlecruiser")
|
||||
7
eos/effects/shipbonuspbc1disintegratordamage.py
Normal file
7
eos/effects/shipbonuspbc1disintegratordamage.py
Normal 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")
|
||||
7
eos/effects/shipbonuspd1disintegratordamage.py
Normal file
7
eos/effects/shipbonuspd1disintegratordamage.py
Normal 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")
|
||||
7
eos/effects/shipbonuspd2disintegratormaxrange.py
Normal file
7
eos/effects/shipbonuspd2disintegratormaxrange.py
Normal 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")
|
||||
6
eos/effects/shiproledisintegratormaxrangecbc.py
Normal file
6
eos/effects/shiproledisintegratormaxrangecbc.py
Normal 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"))
|
||||
6
eos/effects/smalldisintegratormaxrangebonus.py
Normal file
6
eos/effects/smalldisintegratormaxrangebonus.py
Normal 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"))
|
||||
Reference in New Issue
Block a user