Fix couple of ewar link effects, add missing SBA heat effect
This commit is contained in:
@@ -6,7 +6,7 @@ type = "active", "gang"
|
||||
def handler(fit, module, context):
|
||||
if "gang" not in context: return
|
||||
for scanType in ("Magnetometric", "Radar", "Ladar", "Gravimetric"):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Electronic Warfare"),
|
||||
"scan%sStrengthBonus" % scanType,
|
||||
module.getModifiedItemAttr("commandBonusECM"),
|
||||
stackingPenalties = True)
|
||||
|
||||
@@ -5,8 +5,8 @@ gangBoost = "ewarStrRSD"
|
||||
type = "active", "gang"
|
||||
def handler(fit, module, context):
|
||||
if "gang" not in context: return
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Sensor Damper",
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Sensor Linking"),
|
||||
"maxTargetRangeBonus", module.getModifiedItemAttr("commandBonusRSD"))
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Sensor Damper",
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Sensor Linking"),
|
||||
"scanResolutionBonus", module.getModifiedItemAttr("commandBonusRSD"),
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, implant, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gas Cloud Harvesting"),
|
||||
"duration", implant.getModifiedItemAttr("durationBonus"))
|
||||
"duration", implant.getModifiedItemAttr("durationBonus"))
|
||||
|
||||
6
eos/effects/heatdamagebonus.py
Normal file
6
eos/effects/heatdamagebonus.py
Normal file
@@ -0,0 +1,6 @@
|
||||
# Used by:
|
||||
# Modules from group: Shield Boost Amplifier (25 of 25)
|
||||
type = "passive"
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Operation"),
|
||||
"heatDamage", module.getModifiedItemAttr("heatDamageBonus"))
|
||||
Reference in New Issue
Block a user