Add structure skill effects
This commit is contained in:
3
eos/effects/lightningweapon.py
Normal file
3
eos/effects/lightningweapon.py
Normal file
@@ -0,0 +1,3 @@
|
||||
type = 'active'
|
||||
def handler(fit, module, context):
|
||||
pass
|
||||
4
eos/effects/skillstructuredoomsdaydurationbonus.py
Normal file
4
eos/effects/skillstructuredoomsdaydurationbonus.py
Normal file
@@ -0,0 +1,4 @@
|
||||
type = "passive", "structure"
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Structure Doomsday Weapon",
|
||||
"duration", src.getModifiedItemAttr("durationBonus"), skill="Structure Doomsday Operation")
|
||||
@@ -0,0 +1,5 @@
|
||||
type = "passive", "structure"
|
||||
def handler(fit, src, context):
|
||||
groups = ("Structure Warp Scrambler", "Structure Disruption Battery", "Structure Stasis Webifier")
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
|
||||
"capacitorNeed", src.getModifiedItemAttr("capNeedBonus"), skill="Structure Electronic Systems")
|
||||
@@ -0,0 +1,5 @@
|
||||
type = "passive", "structure"
|
||||
def handler(fit, src, context):
|
||||
groups = ("Structure Energy Neutralizer", "Structure Area Denial Module")
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
|
||||
"capacitorNeed", src.getModifiedItemAttr("capNeedBonus"), skill="Structure Engineering Systems")
|
||||
6
eos/effects/skillstructuremissiledamagebonus.py
Normal file
6
eos/effects/skillstructuremissiledamagebonus.py
Normal file
@@ -0,0 +1,6 @@
|
||||
type = "passive", "structure"
|
||||
def handler(fit, src, context):
|
||||
groups = ("Structure Anti-Capital Missile", "Structure Anti-Subcapital Missile", "Structure Guided Bomb")
|
||||
for damageType in ("em", "thermal", "explosive", "kinetic"):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name in groups,
|
||||
"%sDamage"%damageType, src.getModifiedItemAttr("damageMultiplierBonus"), skill="Structure Missile Systems")
|
||||
Reference in New Issue
Block a user