Fix #159
Added all new system-wide effects as postMul, removed penalty group for cases where in coincides with 'default' group (e.g. it's also postMul for turret damage mods)
This commit is contained in:
@@ -5,4 +5,4 @@ def handler(fit, module, context):
|
||||
for damageType in ("kinetic", "thermal", "explosive", "em"):
|
||||
fit.ship.boostItemAttr("armor%sDamageResonance" % damageType.capitalize(),
|
||||
module.getModifiedItemAttr("%sDamageResistanceBonus" % damageType),
|
||||
stackingPenalties = True)
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -5,4 +5,4 @@ def handler(fit, module, context):
|
||||
for damageType in ("kinetic", "thermal", "explosive", "em"):
|
||||
fit.ship.boostItemAttr("shield" + damageType.capitalize() + "DamageResonance",
|
||||
module.getModifiedItemAttr(damageType + "DamageResistanceBonus"),
|
||||
stackingPenalties = True)
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.ship.multiplyItemAttr("agility", beacon.getModifiedItemAttr("agilityMultiplier"), stackingPenalties = True, penaltyGroup="postMul")
|
||||
fit.ship.multiplyItemAttr("agility", beacon.getModifiedItemAttr("agilityMultiplier"), stackingPenalties=True)
|
||||
|
||||
@@ -4,5 +4,4 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||
"aoeCloudSize", beacon.getModifiedItemAttr("aoeCloudSizeMultiplier"),
|
||||
penaltyGroup="postMul")
|
||||
"aoeCloudSize", beacon.getModifiedItemAttr("aoeCloudSizeMultiplier"))
|
||||
|
||||
@@ -5,4 +5,4 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.ship.boostItemAttr("armorEmDamageResonance", beacon.getModifiedItemAttr("armorEmDamageResistanceBonus"),
|
||||
stackingPenalties = True)
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -5,4 +5,4 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.ship.boostItemAttr("armorExplosiveDamageResonance", beacon.getModifiedItemAttr("armorExplosiveDamageResistanceBonus"),
|
||||
stackingPenalties = True)
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -5,4 +5,4 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.ship.boostItemAttr("armorKineticDamageResonance", beacon.getModifiedItemAttr("armorKineticDamageResistanceBonus"),
|
||||
stackingPenalties = True)
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Remote Armor Repairer",
|
||||
"armorDamageAmount", module.getModifiedItemAttr("armorDamageAmountMultiplierRemote"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Armor Repair Unit",
|
||||
"armorDamageAmount", module.getModifiedItemAttr("armorDamageAmountMultiplier"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.ship.boostItemAttr("armorThermalDamageResonance", beacon.getModifiedItemAttr("armorThermalDamageResistanceBonus"),
|
||||
stackingPenalties = True)
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.drones.filteredItemMultiply(lambda drone: drone.item.requiresSkill("Drones"),
|
||||
"damageMultiplier", beacon.getModifiedItemAttr("damageMultiplierMultiplier"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
|
||||
"emDamage", beacon.getModifiedItemAttr("smartbombDamageMultiplier"),
|
||||
penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -4,4 +4,5 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||
"emDamage", beacon.getModifiedItemAttr("damageMultiplierMultiplier"))
|
||||
"emDamage", beacon.getModifiedItemAttr("damageMultiplierMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -4,5 +4,5 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
|
||||
"explosiveDamage", beacon.getModifiedItemAttr("smartbombDamageMultiplier"),
|
||||
penaltyGroup="postMul")
|
||||
"explosiveDamage", beacon.getModifiedItemAttr("smartbombDamageMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -4,4 +4,5 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||
"explosiveDamage", beacon.getModifiedItemAttr("damageMultiplierMultiplier"))
|
||||
"explosiveDamage", beacon.getModifiedItemAttr("damageMultiplierMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -4,5 +4,5 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.drones.filteredItemMultiply(lambda drone: drone.item.requiresSkill("Fighters"),
|
||||
"damageMultiplier", beacon.getModifiedItemAttr("damageMultiplierMultiplier")
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
"damageMultiplier", beacon.getModifiedItemAttr("damageMultiplierMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -4,5 +4,5 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
|
||||
"kineticDamage", beacon.getModifiedItemAttr("smartbombDamageMultiplier"),
|
||||
penaltyGroup="postMul")
|
||||
"kineticDamage", beacon.getModifiedItemAttr("smartbombDamageMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -4,4 +4,5 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||
"kineticDamage", beacon.getModifiedItemAttr("damageMultiplierMultiplier"))
|
||||
"kineticDamage", beacon.getModifiedItemAttr("damageMultiplierMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Gunnery"),
|
||||
"damageMultiplier", beacon.getModifiedItemAttr("damageMultiplierMultiplier"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
|
||||
"thermalDamage", beacon.getModifiedItemAttr("smartbombDamageMultiplier"),
|
||||
penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -4,4 +4,5 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||
"thermalDamage", beacon.getModifiedItemAttr("damageMultiplierMultiplier"))
|
||||
"thermalDamage", beacon.getModifiedItemAttr("damageMultiplierMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.drones.filteredItemMultiply(lambda drone: True,
|
||||
"trackingSpeed", beacon.getModifiedItemAttr("trackingSpeedMultiplier"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Energy Destabilizer",
|
||||
"energyDestabilizationAmount", beacon.getModifiedItemAttr("energyWarfareStrengthMultiplier"),
|
||||
penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Energy Vampire",
|
||||
"powerTransferAmount", beacon.getModifiedItemAttr("energyWarfareStrengthMultiplier"),
|
||||
penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
|
||||
"scanGravimetricStrengthBonus", beacon.getModifiedItemAttr("smartbombDamageMultiplier"),
|
||||
penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
|
||||
"scanLadarStrengthBonus", beacon.getModifiedItemAttr("smartbombDamageMultiplier"),
|
||||
penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
|
||||
"scanMagnetometricStrengthBonus", beacon.getModifiedItemAttr("smartbombDamageMultiplier"),
|
||||
penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.ship.multiplyItemAttr("maxVelocity", beacon.getModifiedItemAttr("maxVelocityMultiplier"), stackingPenalties = True, penaltyGroup="postMul")
|
||||
fit.ship.multiplyItemAttr("maxVelocity", beacon.getModifiedItemAttr("maxVelocityMultiplier"), stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||
"maxVelocity", beacon.getModifiedItemAttr("missileVelocityMultiplier"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -4,5 +4,5 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
|
||||
"energyDestabilizationAmount", beacon.getModifiedItemAttr("smartbombDamageMultiplier"),
|
||||
penaltyGroup="postMul")
|
||||
"energyDestabilizationAmount", beacon.getModifiedItemAttr("smartbombDamageMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -4,5 +4,5 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
|
||||
"scanRadarStrengthBonus", beacon.getModifiedItemAttr("smartbombDamageMultiplier"),
|
||||
penaltyGroup="postMul")
|
||||
"scanRadarStrengthBonus", beacon.getModifiedItemAttr("smartbombDamageMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Remote Capacitor Transmitter",
|
||||
"powerTransferAmount", beacon.getModifiedItemAttr("energyTransferAmountBonus"),
|
||||
penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Rockets"),
|
||||
"emDamage", beacon.getModifiedItemAttr("smallWeaponDamageMultiplier"),
|
||||
stackingPenalties = True)
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Rockets"),
|
||||
"emDamage", beacon.getModifiedItemAttr("smallWeaponDamageMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Rockets"),
|
||||
"explosiveDamage", beacon.getModifiedItemAttr("smallWeaponDamageMultiplier"),
|
||||
stackingPenalties = True)
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Rockets"),
|
||||
"kineticDamage", beacon.getModifiedItemAttr("smallWeaponDamageMultiplier"),
|
||||
stackingPenalties = True)
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Rockets"),
|
||||
"thermalDamage", beacon.getModifiedItemAttr("smallWeaponDamageMultiplier"),
|
||||
stackingPenalties = True)
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -4,4 +4,4 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.ship.boostItemAttr("shieldEmDamageResonance", beacon.getModifiedItemAttr("shieldEmDamageResistanceBonus"),
|
||||
stackingPenalties = True)
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -4,4 +4,4 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.ship.boostItemAttr("shieldExplosiveDamageResonance", beacon.getModifiedItemAttr("shieldExplosiveDamageResistanceBonus"),
|
||||
stackingPenalties = True)
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -4,4 +4,4 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.ship.boostItemAttr("shieldKineticDamageResonance", beacon.getModifiedItemAttr("shieldKineticDamageResistanceBonus"),
|
||||
stackingPenalties = True)
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Remote Shield Booster",
|
||||
"shieldBonus", module.getModifiedItemAttr("shieldBonusMultiplierRemote"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Shield Operation") or mod.item.requiresSkill("Capital Shield Operation"),
|
||||
"shieldBonus", module.getModifiedItemAttr("shieldBonusMultiplier"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -4,4 +4,4 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.ship.boostItemAttr("shieldThermalDamageResonance", beacon.getModifiedItemAttr("shieldThermalDamageResistanceBonus"),
|
||||
stackingPenalties = True)
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -5,4 +5,4 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.ship.multiplyItemAttr("signatureRadius", beacon.getModifiedItemAttr("signatureRadiusMultiplier"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Small Energy Turret"),
|
||||
"damageMultiplier", module.getModifiedItemAttr("smallWeaponDamageMultiplier"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"),
|
||||
"damageMultiplier", module.getModifiedItemAttr("smallWeaponDamageMultiplier"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Small Projectile Turret"),
|
||||
"damageMultiplier", module.getModifiedItemAttr("smallWeaponDamageMultiplier"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -4,4 +4,5 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Light Missiles"),
|
||||
"emDamage", beacon.getModifiedItemAttr("smallWeaponDamageMultiplier"))
|
||||
"emDamage", beacon.getModifiedItemAttr("smallWeaponDamageMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -4,4 +4,5 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Light Missiles"),
|
||||
"explosiveDamage", beacon.getModifiedItemAttr("smallWeaponDamageMultiplier"))
|
||||
"explosiveDamage", beacon.getModifiedItemAttr("smallWeaponDamageMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -4,4 +4,5 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Light Missiles"),
|
||||
"kineticDamage", beacon.getModifiedItemAttr("smallWeaponDamageMultiplier"))
|
||||
"kineticDamage", beacon.getModifiedItemAttr("smallWeaponDamageMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -4,4 +4,5 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Light Missiles"),
|
||||
"thermalDamage", beacon.getModifiedItemAttr("smallWeaponDamageMultiplier"))
|
||||
"thermalDamage", beacon.getModifiedItemAttr("smallWeaponDamageMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ runTime = "early"
|
||||
type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.ship.multiplyItemAttr("maxTargetRange", beacon.getModifiedItemAttr("maxTargetRangeMultiplier"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Target Painting"),
|
||||
"signatureRadiusBonus", beacon.getModifiedItemAttr("targetPainterStrengthMultiplier"),
|
||||
penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Gunnery"),
|
||||
"trackingSpeed", module.getModifiedItemAttr("trackingSpeedMultiplier"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,4 +5,4 @@ type = ("projected", "offline")
|
||||
def handler(fit, beacon, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Stasis Web",
|
||||
"speedFactor", beacon.getModifiedItemAttr("stasisWebStrengthMultiplier"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
Reference in New Issue
Block a user