Update to 988638
This commit is contained in:
@@ -7,6 +7,14 @@ gangBoost = "ewarStrTD"
|
|||||||
type = "active", "gang"
|
type = "active", "gang"
|
||||||
def handler(fit, module, context):
|
def handler(fit, module, context):
|
||||||
if "gang" not in context: return
|
if "gang" not in context: return
|
||||||
for bonus in ("maxRangeBonus", "falloffBonus", "trackingSpeedBonus"):
|
for bonus in (
|
||||||
|
"missileVelocityBonus",
|
||||||
|
"explosionDelayBonus",
|
||||||
|
"aoeVelocityBonus",
|
||||||
|
"falloffBonus",
|
||||||
|
"maxRangeBonus",
|
||||||
|
"aoeCloudSizeBonus",
|
||||||
|
"trackingSpeedBonus"
|
||||||
|
):
|
||||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"),
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"),
|
||||||
bonus, module.getModifiedItemAttr("commandBonusTD"))
|
bonus, module.getModifiedItemAttr("commandBonusTD"))
|
||||||
|
|||||||
@@ -7,6 +7,6 @@ gangBoost = "ewarStrTP"
|
|||||||
type = "active", "gang"
|
type = "active", "gang"
|
||||||
def handler(fit, module, context):
|
def handler(fit, module, context):
|
||||||
if "gang" not in context: return
|
if "gang" not in context: return
|
||||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Target Painter",
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Target Painting"),
|
||||||
"signatureRadiusBonus", module.getModifiedItemAttr("commandBonusTP"),
|
"signatureRadiusBonus", module.getModifiedItemAttr("commandBonusTP"),
|
||||||
stackingPenalties = True)
|
stackingPenalties = True)
|
||||||
|
|||||||
@@ -6,4 +6,4 @@
|
|||||||
type = "passive"
|
type = "passive"
|
||||||
def handler(fit, ship, context):
|
def handler(fit, ship, context):
|
||||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Capacitor Transmitter",
|
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Capacitor Transmitter",
|
||||||
"powerTransferRange", ship.getModifiedItemAttr("maxRangeBonus"))
|
"powerTransferRange", ship.getModifiedItemAttr("maxRangeBonus2"))
|
||||||
|
|||||||
11
eos/effects/ewskillguidancedisruptionbonus.py
Normal file
11
eos/effects/ewskillguidancedisruptionbonus.py
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
type = "passive"
|
||||||
|
def handler(fit, src, context):
|
||||||
|
level = src.level if "skill" in context else 1
|
||||||
|
for attr in (
|
||||||
|
"explosionDelayBonus",
|
||||||
|
"aoeVelocityBonus",
|
||||||
|
"aoeCloudSizeBonus",
|
||||||
|
"missileVelocityBonus"
|
||||||
|
):
|
||||||
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"),
|
||||||
|
attr, src.getModifiedItemAttr("scanSkillEwStrengthBonus") * level)
|
||||||
6
eos/effects/ganginformationwarfaresuperiorityall2.py
Normal file
6
eos/effects/ganginformationwarfaresuperiorityall2.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
type = "active"
|
||||||
|
def handler(fit, module, context):
|
||||||
|
module.multiplyItemAttr("commandBonusTD", module.getModifiedItemAttr("commandBonusHidden"))
|
||||||
|
module.multiplyItemAttr("commandBonusECM", module.getModifiedItemAttr("commandBonusHidden"))
|
||||||
|
module.multiplyItemAttr("commandBonusRSD", module.getModifiedItemAttr("commandBonusHidden"))
|
||||||
|
module.multiplyItemAttr("commandBonusTP", module.getModifiedItemAttr("commandBonusHidden"))
|
||||||
5
eos/effects/ignorecloakvelocitypenalty.py
Normal file
5
eos/effects/ignorecloakvelocitypenalty.py
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
type = "passive"
|
||||||
|
runTime = "early"
|
||||||
|
def handler(fit, src, context):
|
||||||
|
fit.modules.filteredItemForce(lambda mod: mod.item.group.name == "Cloaking Device",
|
||||||
|
"maxVelocityBonus", src.getModifiedItemAttr("velocityPenaltyReduction"))
|
||||||
9
eos/effects/overloadselfmissileguidancemodulebonus.py
Normal file
9
eos/effects/overloadselfmissileguidancemodulebonus.py
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
type = "overheat"
|
||||||
|
def handler(fit, module, context):
|
||||||
|
for tgtAttr in (
|
||||||
|
"aoeCloudSizeBonus",
|
||||||
|
"explosionDelayBonus",
|
||||||
|
"missileVelocityBonus",
|
||||||
|
"aoeVelocityBonus"
|
||||||
|
):
|
||||||
|
module.boostItemAttr(tgtAttr, module.getModifiedItemAttr("overloadTrackingModuleStrengthBonus"))
|
||||||
12
eos/effects/remotehullrepairfalloff.py
Normal file
12
eos/effects/remotehullrepairfalloff.py
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# remoteHullRepair
|
||||||
|
#
|
||||||
|
# Used by:
|
||||||
|
# Modules from group: Remote Hull Repairer (7 of 7)
|
||||||
|
# Drones named like: Hull Maintenance Bot (6 of 6)
|
||||||
|
type = "projected", "active"
|
||||||
|
runTime = "late"
|
||||||
|
def handler(fit, module, context):
|
||||||
|
if "projected" not in context: return
|
||||||
|
bonus = module.getModifiedItemAttr("structureDamageAmount")
|
||||||
|
duration = module.getModifiedItemAttr("duration") / 1000.0
|
||||||
|
fit.extraAttributes.increase("hullRepair", bonus / duration)
|
||||||
4
eos/effects/rolebonusjustscramblerstrength.py
Normal file
4
eos/effects/rolebonusjustscramblerstrength.py
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
type = "passive"
|
||||||
|
def handler(fit, ship, context):
|
||||||
|
fit.modules.filteredItemIncrease(lambda mod: mod.item.requiresSkill("Navigation"),
|
||||||
|
"warpScrambleStrength", ship.getModifiedItemAttr("roleBonus"))
|
||||||
9
eos/effects/shipbonusewweapondisruptionstrengthac1.py
Normal file
9
eos/effects/shipbonusewweapondisruptionstrengthac1.py
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
type = "passive"
|
||||||
|
def handler(fit, src, context):
|
||||||
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"), "missileVelocityBonus", src.getModifiedItemAttr("shipBonusAC"), skill="Amarr Cruiser")
|
||||||
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"), "aoeVelocityBonus", src.getModifiedItemAttr("shipBonusAC"), skill="Amarr Cruiser")
|
||||||
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"), "maxRangeBonus", src.getModifiedItemAttr("shipBonusAC"), skill="Amarr Cruiser")
|
||||||
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"), "explosionDelayBonus", src.getModifiedItemAttr("shipBonusAC"), skill="Amarr Cruiser")
|
||||||
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"), "aoeCloudSizeBonus", src.getModifiedItemAttr("shipBonusAC"), skill="Amarr Cruiser")
|
||||||
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"), "trackingSpeedBonus", src.getModifiedItemAttr("shipBonusAC"), skill="Amarr Cruiser")
|
||||||
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"), "falloffBonus", src.getModifiedItemAttr("shipBonusAC"), skill="Amarr Cruiser")
|
||||||
51
eos/effects/targetmissiledisruptorhostile.py
Normal file
51
eos/effects/targetmissiledisruptorhostile.py
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
# targetMissileDisruptorHostile
|
||||||
|
# Modifier 1:
|
||||||
|
# # state: active
|
||||||
|
# # scope: projected
|
||||||
|
# # srcattr: explosionDelayBonus 596
|
||||||
|
# # operator: post_percent 8
|
||||||
|
# # tgtattr: explosionDelay (penalized) 281
|
||||||
|
# # location: ship
|
||||||
|
# # filter type: skill
|
||||||
|
# # filter value: Missile Launcher Operation
|
||||||
|
# Modifier 2:
|
||||||
|
# # state: active
|
||||||
|
# # scope: projected
|
||||||
|
# # srcattr: aoeVelocityBonus 847
|
||||||
|
# # operator: post_percent 8
|
||||||
|
# # tgtattr: aoeVelocity (penalized) 653
|
||||||
|
# # location: ship
|
||||||
|
# # filter type: skill
|
||||||
|
# # filter value: Missile Launcher Operation
|
||||||
|
# Modifier 3:
|
||||||
|
# # state: active
|
||||||
|
# # scope: projected
|
||||||
|
# # srcattr: aoeCloudSizeBonus 848
|
||||||
|
# # operator: post_percent 8
|
||||||
|
# # tgtattr: aoeCloudSize (penalized) 654
|
||||||
|
# # location: ship
|
||||||
|
# # filter type: skill
|
||||||
|
# # filter value: Missile Launcher Operation
|
||||||
|
# Modifier 4:
|
||||||
|
# # state: active
|
||||||
|
# # scope: projected
|
||||||
|
# # srcattr: missileVelocityBonus 547
|
||||||
|
# # operator: post_percent 8
|
||||||
|
# # tgtattr: maxVelocity (penalized) 37
|
||||||
|
# # location: ship
|
||||||
|
# # filter type: skill
|
||||||
|
# # filter value: Missile Launcher Operation
|
||||||
|
#
|
||||||
|
type = "active", "projected"
|
||||||
|
|
||||||
|
def handler(fit, src, context):
|
||||||
|
if "projected" in context:
|
||||||
|
for srcAttr, tgtAttr in (
|
||||||
|
("aoeCloudSizeBonus", "aoeCloudSize"),
|
||||||
|
("aoeVelocityBonus", "aoeVelocity"),
|
||||||
|
("missileVelocityBonus", "maxVelocity"),
|
||||||
|
("explosionDelayBonus", "explosionDelay"),
|
||||||
|
):
|
||||||
|
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||||
|
tgtAttr, src.getModifiedItemAttr(srcAttr),
|
||||||
|
stackingPenalties=True)
|
||||||
Reference in New Issue
Block a user