Implement pirate ship updates
This commit is contained in:
5
eos/effects/shipbonusafterburnerspeedfactor2cb.py
Normal file
5
eos/effects/shipbonusafterburnerspeedfactor2cb.py
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
level = fit.character.getSkill("Caldari Battleship").level
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Afterburner"),
|
||||
"speedFactor", module.getModifiedItemAttr("shipBonus2CB") * level)
|
||||
5
eos/effects/shipbonusafterburnerspeedfactorcc2.py
Normal file
5
eos/effects/shipbonusafterburnerspeedfactorcc2.py
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
level = fit.character.getSkill("Caldari Cruiser").level
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Afterburner"),
|
||||
"speedFactor", module.getModifiedItemAttr("shipBonusCC2") * level)
|
||||
5
eos/effects/shipbonusafterburnerspeedfactorcf2.py
Normal file
5
eos/effects/shipbonusafterburnerspeedfactorcf2.py
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
level = fit.character.getSkill("Caldari Frigate").level
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Afterburner"),
|
||||
"speedFactor", module.getModifiedItemAttr("shipBonusCF2") * level)
|
||||
@@ -3,5 +3,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Amarr Frigate").level
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tracking Disruptor",
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"),
|
||||
"trackingSpeedBonus", ship.getModifiedItemAttr("shipBonusAF") * level)
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Amarr Frigate").level
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tracking Disruptor",
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"),
|
||||
"trackingSpeedBonus", ship.getModifiedItemAttr("shipBonus2AF") * level)
|
||||
|
||||
4
eos/effects/shipbonusheavydronearmorhppiratefaction.py
Normal file
4
eos/effects/shipbonusheavydronearmorhppiratefaction.py
Normal file
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Heavy Drone Operation"),
|
||||
"armorHP", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Heavy Drone Operation"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
4
eos/effects/shipbonusheavydronehppiratefaction.py
Normal file
4
eos/effects/shipbonusheavydronehppiratefaction.py
Normal file
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Heavy Drone Operation"),
|
||||
"hp", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
4
eos/effects/shipbonusheavydroneshieldhppiratefaction.py
Normal file
4
eos/effects/shipbonusheavydroneshieldhppiratefaction.py
Normal file
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Heavy Drone Operation"),
|
||||
"shieldCapacity", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
5
eos/effects/shipbonuskineticmissiledamagegb2.py
Normal file
5
eos/effects/shipbonuskineticmissiledamagegb2.py
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Gallente Battleship").level
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||
"kineticDamage", ship.getModifiedItemAttr("shipBonusGB2") * level)
|
||||
5
eos/effects/shipbonuskineticmissiledamagegc2.py
Normal file
5
eos/effects/shipbonuskineticmissiledamagegc2.py
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Gallente Cruiser").level
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||
"kineticDamage", ship.getModifiedItemAttr("shipBonusGC2") * level)
|
||||
5
eos/effects/shipbonuskineticmissiledamagegf.py
Normal file
5
eos/effects/shipbonuskineticmissiledamagegf.py
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Gallente Frigate").level
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||
"kineticDamage", ship.getModifiedItemAttr("shipBonusGF") * level)
|
||||
4
eos/effects/shipbonuslightdronearmorhppiratefaction.py
Normal file
4
eos/effects/shipbonuslightdronearmorhppiratefaction.py
Normal file
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Combat Drone Operation"),
|
||||
"armorHP", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Combat Drone Operation"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
4
eos/effects/shipbonuslightdronehppiratefaction.py
Normal file
4
eos/effects/shipbonuslightdronehppiratefaction.py
Normal file
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Combat Drone Operation"),
|
||||
"hp", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
4
eos/effects/shipbonuslightdroneshieldhppiratefaction.py
Normal file
4
eos/effects/shipbonuslightdroneshieldhppiratefaction.py
Normal file
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Combat Drone Operation"),
|
||||
"shieldCapacity", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
4
eos/effects/shipbonusmediumdronearmorhppiratefaction.py
Normal file
4
eos/effects/shipbonusmediumdronearmorhppiratefaction.py
Normal file
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Medium Drone Operation"),
|
||||
"armorHP", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Medium Drone Operation"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
4
eos/effects/shipbonusmediumdronehppiratefaction.py
Normal file
4
eos/effects/shipbonusmediumdronehppiratefaction.py
Normal file
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Medium Drone Operation"),
|
||||
"hp", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
4
eos/effects/shipbonusmediumdroneshieldhppiratefaction.py
Normal file
4
eos/effects/shipbonusmediumdroneshieldhppiratefaction.py
Normal file
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Medium Drone Operation"),
|
||||
"shieldCapacity", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
4
eos/effects/shipbonussentrydronearmorhppiratefaction.py
Normal file
4
eos/effects/shipbonussentrydronearmorhppiratefaction.py
Normal file
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Sentry Drone Interfacing"),
|
||||
"armorHP", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Sentry Drone Interfacing"),
|
||||
"damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
4
eos/effects/shipbonussentrydronehppiratefaction.py
Normal file
4
eos/effects/shipbonussentrydronehppiratefaction.py
Normal file
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Sentry Drone Interfacing"),
|
||||
"hp", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
4
eos/effects/shipbonussentrydroneshieldhppiratefaction.py
Normal file
4
eos/effects/shipbonussentrydroneshieldhppiratefaction.py
Normal file
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Sentry Drone Interfacing"),
|
||||
"shieldCapacity", ship.getModifiedItemAttr("shipBonusPirateFaction"))
|
||||
5
eos/effects/shipbonustdoptimalbonusaf1.py
Normal file
5
eos/effects/shipbonustdoptimalbonusaf1.py
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Amarr Frigate").level
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"),
|
||||
"maxRange", ship.getModifiedItemAttr("shipBonusAF") * level)
|
||||
@@ -3,5 +3,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Amarr Frigate").level
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tracking Disruptor",
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"),
|
||||
"maxRange", ship.getModifiedItemAttr("shipBonus2AF") * level)
|
||||
|
||||
5
eos/effects/shipbonusthermalmissiledamagegb2.py
Normal file
5
eos/effects/shipbonusthermalmissiledamagegb2.py
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Gallente Battleship").level
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||
"thermalDamage", ship.getModifiedItemAttr("shipBonusGB2") * level)
|
||||
5
eos/effects/shipbonusthermalmissiledamagegc2.py
Normal file
5
eos/effects/shipbonusthermalmissiledamagegc2.py
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Gallente Cruiser").level
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||
"thermalDamage", ship.getModifiedItemAttr("shipBonusGC2") * level)
|
||||
5
eos/effects/shipbonusthermalmissiledamagegf.py
Normal file
5
eos/effects/shipbonusthermalmissiledamagegf.py
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Gallente Frigate").level
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||
"thermalDamage", ship.getModifiedItemAttr("shipBonusGF") * level)
|
||||
5
eos/effects/shipstasiswebrangebonusmc2.py
Normal file
5
eos/effects/shipstasiswebrangebonusmc2.py
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Minmatar Cruiser").level
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web",
|
||||
"maxRange", ship.getModifiedItemAttr("shipBonusMC2") * level)
|
||||
Reference in New Issue
Block a user