Merge branch 'master' into test-3
# Conflicts: # .gitignore # eos/saveddata/character.py # service/network.py # service/price.py
This commit is contained in:
@@ -6,4 +6,4 @@ type = "passive"
|
||||
|
||||
|
||||
def handler(fit, module, context):
|
||||
fit.ship.increaseItemAttr("warmScrambleStatus", module.getModifiedItemAttr("warpScrambleStrength"))
|
||||
fit.ship.increaseItemAttr("warpScrambleStatus", module.getModifiedItemAttr("warpScrambleStrength"))
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# boosterArmorHpPenalty
|
||||
#
|
||||
# Used by:
|
||||
# Implants from group: Booster (12 of 52)
|
||||
# Implants from group: Booster (12 of 54)
|
||||
type = "boosterSideEffect"
|
||||
|
||||
# User-friendly name for the side effect
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# boosterMaxVelocityPenalty
|
||||
#
|
||||
# Used by:
|
||||
# Implants from group: Booster (12 of 52)
|
||||
# Implants from group: Booster (12 of 54)
|
||||
type = "boosterSideEffect"
|
||||
|
||||
# User-friendly name for the side effect
|
||||
|
||||
@@ -9,7 +9,7 @@ type = "passive"
|
||||
|
||||
def handler(fit, container, context):
|
||||
level = container.level if "skill" in context else 1
|
||||
attrs = ("boosterTurretFalloffPenalty", "boosterTurretOptimalRange", "boosterTurretTrackingPenalty")
|
||||
attrs = ("boosterTurretFalloffPenalty", "boosterTurretOptimalRangePenalty", "boosterTurretTrackingPenalty")
|
||||
for attr in attrs:
|
||||
fit.boosters.filteredItemBoost(lambda booster: True, attr,
|
||||
container.getModifiedItemAttr("boosterAttributeModifier") * level)
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
# boosterShieldBoostAmountPenaltyShieldSkills
|
||||
#
|
||||
# Used by:
|
||||
# Implants named like: Crash Booster (3 of 4)
|
||||
# Implants named like: Frentix Booster (3 of 4)
|
||||
# Implants named like: Mindflood Booster (3 of 4)
|
||||
type = "boosterSideEffect"
|
||||
|
||||
# User-friendly name for the side effect
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# boosterShieldCapacityPenalty
|
||||
#
|
||||
# Used by:
|
||||
# Implants from group: Booster (12 of 52)
|
||||
# Implants from group: Booster (12 of 54)
|
||||
type = "boosterSideEffect"
|
||||
|
||||
# User-friendly name for the side effect
|
||||
|
||||
@@ -10,7 +10,7 @@ type = "boosterSideEffect"
|
||||
displayName = "Turret Optimal Range"
|
||||
|
||||
# Attribute that this effect targets
|
||||
attr = "boosterTurretOptimalRange"
|
||||
attr = "boosterTurretOptimalRangePenalty"
|
||||
|
||||
|
||||
def handler(fit, booster, context):
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
# Ships from group: Blockade Runner (4 of 4)
|
||||
# Ships from group: Covert Ops (7 of 7)
|
||||
# Ships from group: Expedition Frigate (2 of 2)
|
||||
# Ships from group: Force Recon Ship (7 of 8)
|
||||
# Ships from group: Stealth Bomber (4 of 5)
|
||||
# Ships from group: Force Recon Ship (8 of 8)
|
||||
# Ships from group: Stealth Bomber (5 of 5)
|
||||
# Ships named like: Stratios (2 of 2)
|
||||
# Subsystems named like: Defensive Covert Reconfiguration (4 of 4)
|
||||
# Ship: Astero
|
||||
|
||||
@@ -8,4 +8,4 @@ runTime = "early"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Cloaking"),
|
||||
"cpu", ship.getModifiedItemAttr("eliteBonusCoverOps1"), skill="Covert Ops")
|
||||
"cpu", ship.getModifiedItemAttr("eliteBonusCovertOps1"), skill="Covert Ops")
|
||||
|
||||
@@ -5,7 +5,9 @@
|
||||
# Ship: Astero
|
||||
# Ship: Enforcer
|
||||
# Ship: Pacifier
|
||||
# Ship: Victor
|
||||
# Ship: Victorieux Luxury Yacht
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
runTime = "early"
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
# covertOpsStealthBomberSiegeMissileLauncherCPUNeedBonus
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Missile Launcher Torpedo",
|
||||
"cpu", ship.getModifiedItemAttr("stealthBomberLauncherCPU"))
|
||||
@@ -1,7 +1,7 @@
|
||||
# covertOpsStealthBomberSiegeMissileLauncerPowerNeedBonus
|
||||
# covertOpsStealthBomberSiegeMissileLauncherPowerNeedBonus
|
||||
#
|
||||
# Used by:
|
||||
# Ships from group: Stealth Bomber (4 of 5)
|
||||
# Ships from group: Stealth Bomber (5 of 5)
|
||||
type = "passive"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# Used by:
|
||||
# Ships from group: Black Ops (5 of 5)
|
||||
# Ships from group: Stealth Bomber (4 of 5)
|
||||
# Ships from group: Stealth Bomber (5 of 5)
|
||||
# Ship: Caedes
|
||||
# Ship: Chremoas
|
||||
# Ship: Endurance
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# cynosuralDurationBonus
|
||||
#
|
||||
# Used by:
|
||||
# Ships from group: Force Recon Ship (6 of 8)
|
||||
# Ships from group: Force Recon Ship (7 of 8)
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# cynosuralTheoryConsumptionBonus
|
||||
#
|
||||
# Used by:
|
||||
# Ships from group: Force Recon Ship (6 of 8)
|
||||
# Ships from group: Force Recon Ship (7 of 8)
|
||||
# Skill: Cynosural Field Theory
|
||||
type = "passive"
|
||||
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
|
||||
"emDamage", ship.getModifiedItemAttr("eliteBonusCoverOps1"), skill="Covert Ops")
|
||||
"emDamage", ship.getModifiedItemAttr("eliteBonusCovertOps1"), skill="Covert Ops")
|
||||
|
||||
@@ -2,10 +2,11 @@
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Hound
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
|
||||
"explosiveDamage", ship.getModifiedItemAttr("eliteBonusCoverOps1"),
|
||||
"explosiveDamage", ship.getModifiedItemAttr("eliteBonusCovertOps1"),
|
||||
skill="Covert Ops")
|
||||
|
||||
@@ -7,5 +7,5 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
|
||||
"kineticDamage", ship.getModifiedItemAttr("eliteBonusCoverOps1"),
|
||||
"kineticDamage", ship.getModifiedItemAttr("eliteBonusCovertOps1"),
|
||||
skill="Covert Ops")
|
||||
|
||||
@@ -2,10 +2,11 @@
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Nemesis
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
|
||||
"thermalDamage", ship.getModifiedItemAttr("eliteBonusCoverOps1"),
|
||||
"thermalDamage", ship.getModifiedItemAttr("eliteBonusCovertOps1"),
|
||||
skill="Covert Ops")
|
||||
|
||||
@@ -7,5 +7,5 @@ type = "passive"
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in ("Energy Nosferatu", "Energy Neutralizer"),
|
||||
"falloffEffectiveness", src.getModifiedItemAttr("eliteBonusCoverOps1"),
|
||||
"falloffEffectiveness", src.getModifiedItemAttr("eliteBonusCovertOps1"),
|
||||
stackingPenalties=True, skill="Covert Ops")
|
||||
|
||||
@@ -7,5 +7,5 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name == "Scanner Probe",
|
||||
"baseSensorStrength", ship.getModifiedItemAttr("eliteBonusCoverOps2"),
|
||||
"baseSensorStrength", ship.getModifiedItemAttr("eliteBonusCovertOps2"),
|
||||
skill="Covert Ops")
|
||||
|
||||
@@ -6,4 +6,4 @@ type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.ship.boostItemAttr("warpSpeedMultiplier", src.getModifiedItemAttr("eliteBonusCoverOps1"), skill="Covert Ops")
|
||||
fit.ship.boostItemAttr("warpSpeedMultiplier", src.getModifiedItemAttr("eliteBonusCovertOps1"), skill="Covert Ops")
|
||||
|
||||
10
eos/effects/elitebonuscovertopsshtdamage3.py
Normal file
10
eos/effects/elitebonuscovertopsshtdamage3.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# eliteBonusCovertOpsSHTDamage3
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"), "damageMultiplier",
|
||||
src.getModifiedItemAttr("eliteBonusCovertOps3"), skill="Covert Ops")
|
||||
10
eos/effects/elitecovertopsbonusarmorrepamount4.py
Normal file
10
eos/effects/elitecovertopsbonusarmorrepamount4.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# eliteCovertOpsBonusArmorRepAmount4
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"), "armorDamageAmount",
|
||||
src.getModifiedItemAttr("eliteBonusCovertOps4"), skill="Covert Ops")
|
||||
10
eos/effects/elitereconbonusarmorrepamount3.py
Normal file
10
eos/effects/elitereconbonusarmorrepamount3.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# eliteReconBonusArmorRepAmount3
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Victor
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"), "armorDamageAmount",
|
||||
src.getModifiedItemAttr("eliteBonusReconShip3"), skill="Recon Ships")
|
||||
10
eos/effects/elitereconbonusmhtdamage1.py
Normal file
10
eos/effects/elitereconbonusmhtdamage1.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# eliteReconBonusMHTDamage1
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Victor
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"), "damageMultiplier",
|
||||
src.getModifiedItemAttr("eliteBonusReconShip1"), skill="Recon Ships")
|
||||
@@ -4,6 +4,7 @@
|
||||
# Ship: Huginn
|
||||
# Ship: Moracha
|
||||
# Ship: Rapier
|
||||
# Ship: Victor
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
6
eos/effects/hackingvirusstrengthbonus.py
Normal file
6
eos/effects/hackingvirusstrengthbonus.py
Normal file
@@ -0,0 +1,6 @@
|
||||
# Not used by any item
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.requiresSkill("Hacking"), "virusStrength", src.getModifiedItemAttr("virusStrengthBonus"))
|
||||
@@ -1,7 +1,7 @@
|
||||
# missileSkillWarheadUpgradesEmDamageBonus
|
||||
#
|
||||
# Used by:
|
||||
# Implants named like: Agency Damage Booster (3 of 3)
|
||||
# Implants named like: Agency 'Pyrolancea' DB Dose (3 of 3)
|
||||
# Skill: Warhead Upgrades
|
||||
type = "passive"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# missileSkillWarheadUpgradesExplosiveDamageBonus
|
||||
#
|
||||
# Used by:
|
||||
# Implants named like: Agency Damage Booster (3 of 3)
|
||||
# Implants named like: Agency 'Pyrolancea' DB Dose (3 of 3)
|
||||
# Skill: Warhead Upgrades
|
||||
type = "passive"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# missileSkillWarheadUpgradesKineticDamageBonus
|
||||
#
|
||||
# Used by:
|
||||
# Implants named like: Agency Damage Booster (3 of 3)
|
||||
# Implants named like: Agency 'Pyrolancea' DB Dose (3 of 3)
|
||||
# Skill: Warhead Upgrades
|
||||
type = "passive"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# missileSkillWarheadUpgradesThermalDamageBonus
|
||||
#
|
||||
# Used by:
|
||||
# Implants named like: Agency Damage Booster (3 of 3)
|
||||
# Implants named like: Agency 'Pyrolancea' DB Dose (3 of 3)
|
||||
# Skill: Warhead Upgrades
|
||||
type = "passive"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# Used by:
|
||||
# Modules from group: Rig Anchor (4 of 4)
|
||||
# Implants named like: Agency Speed Booster (3 of 3)
|
||||
# Implants named like: Agency 'Overclocker' SB Dose (3 of 3)
|
||||
# Implants named like: grade Snake (16 of 18)
|
||||
# Modules named like: Auxiliary Thrusters (8 of 8)
|
||||
# Implant: Quafe Zero
|
||||
|
||||
21
eos/effects/rolebonus2boosterpenaltyreduction.py
Normal file
21
eos/effects/rolebonus2boosterpenaltyreduction.py
Normal file
@@ -0,0 +1,21 @@
|
||||
# roleBonus2BoosterPenaltyReduction
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Victor
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.boosters.filteredItemBoost(lambda mod: mod.item.group.name == "Booster", "boosterMissileAOECloudPenalty", src.getModifiedItemAttr("shipBonusRole2"))
|
||||
fit.boosters.filteredItemBoost(lambda mod: mod.item.group.name == "Booster", "boosterCapacitorCapacityPenalty", src.getModifiedItemAttr("shipBonusRole2"))
|
||||
fit.boosters.filteredItemBoost(lambda mod: mod.item.group.name == "Booster", "boosterAOEVelocityPenalty", src.getModifiedItemAttr("shipBonusRole2"))
|
||||
fit.boosters.filteredItemBoost(lambda mod: mod.item.group.name == "Booster", "boosterArmorRepairAmountPenalty", src.getModifiedItemAttr("shipBonusRole2"))
|
||||
fit.boosters.filteredItemBoost(lambda mod: mod.item.group.name == "Booster", "boosterMissileVelocityPenalty", src.getModifiedItemAttr("shipBonusRole2"))
|
||||
fit.boosters.filteredItemBoost(lambda mod: mod.item.group.name == "Booster", "boosterTurretTrackingPenalty", src.getModifiedItemAttr("shipBonusRole2"))
|
||||
fit.boosters.filteredItemBoost(lambda mod: mod.item.group.name == "Booster", "boosterShieldCapacityPenalty", src.getModifiedItemAttr("shipBonusRole2"))
|
||||
fit.boosters.filteredItemBoost(lambda mod: mod.item.group.name == "Booster", "boosterTurretOptimalRangePenalty", src.getModifiedItemAttr("shipBonusRole2"))
|
||||
fit.boosters.filteredItemBoost(lambda mod: mod.item.group.name == "Booster", "boosterShieldBoostAmountPenalty", src.getModifiedItemAttr("shipBonusRole2"))
|
||||
fit.boosters.filteredItemBoost(lambda mod: mod.item.group.name == "Booster", "boosterTurretFalloffPenalty", src.getModifiedItemAttr("shipBonusRole2"))
|
||||
fit.boosters.filteredItemBoost(lambda mod: mod.item.group.name == "Booster", "boosterArmorHPPenalty", src.getModifiedItemAttr("shipBonusRole2"))
|
||||
fit.boosters.filteredItemBoost(lambda mod: mod.item.group.name == "Booster", "boosterMaxVelocityPenalty", src.getModifiedItemAttr("shipBonusRole2"))
|
||||
10
eos/effects/rolebonusbomblauncherpwgcpu3.py
Normal file
10
eos/effects/rolebonusbomblauncherpwgcpu3.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# roleBonusBombLauncherPWGCPU3
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Bomb Deployment"), "power", src.getModifiedItemAttr("shipBonusRole3"))
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Bomb Deployment"), "cpu", src.getModifiedItemAttr("shipBonusRole3"))
|
||||
9
eos/effects/rolebonusmhtdamage1.py
Normal file
9
eos/effects/rolebonusmhtdamage1.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# roleBonusMHTDamage1
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Victor
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"), "damageMultiplier", src.getModifiedItemAttr("shipBonusRole1"))
|
||||
9
eos/effects/rolebonustorprof1.py
Normal file
9
eos/effects/rolebonustorprof1.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# roleBonusTorpRoF1
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Missile Launcher Torpedo", "speed", src.getModifiedItemAttr("shipBonusRole1"))
|
||||
@@ -1,7 +1,7 @@
|
||||
# shieldBoostAmplifierPassive
|
||||
#
|
||||
# Used by:
|
||||
# Implants named like: Agency Tank Booster (3 of 3)
|
||||
# Implants named like: Agency 'Hardshell' TB Dose (3 of 3)
|
||||
# Implants named like: grade Crystal (15 of 18)
|
||||
type = "passive"
|
||||
|
||||
|
||||
@@ -7,4 +7,4 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Torpedoes"),
|
||||
"emDamage", ship.getModifiedItemAttr("eliteBonusCoverOps2"), skill="Covert Ops")
|
||||
"emDamage", ship.getModifiedItemAttr("eliteBonusCovertOps2"), skill="Covert Ops")
|
||||
|
||||
@@ -2,10 +2,11 @@
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Hound
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Torpedoes"),
|
||||
"explosiveDamage", ship.getModifiedItemAttr("eliteBonusCoverOps2"),
|
||||
"explosiveDamage", ship.getModifiedItemAttr("eliteBonusCovertOps2"),
|
||||
skill="Covert Ops")
|
||||
|
||||
@@ -7,5 +7,5 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Torpedoes"),
|
||||
"kineticDamage", ship.getModifiedItemAttr("eliteBonusCoverOps2"),
|
||||
"kineticDamage", ship.getModifiedItemAttr("eliteBonusCovertOps2"),
|
||||
skill="Covert Ops")
|
||||
|
||||
@@ -2,10 +2,11 @@
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Nemesis
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Torpedoes"),
|
||||
"thermalDamage", ship.getModifiedItemAttr("eliteBonusCoverOps2"),
|
||||
"thermalDamage", ship.getModifiedItemAttr("eliteBonusCovertOps2"),
|
||||
skill="Covert Ops")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipBonusEmShieldResistanceCB2
|
||||
#
|
||||
# Used by:
|
||||
# Ships named like: Rattlesnake (2 of 2)
|
||||
# Ship: Rattlesnake
|
||||
# Ship: Rokh
|
||||
# Ship: Scorpion Navy Issue
|
||||
type = "passive"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipBonusExplosiveShieldResistanceCB2
|
||||
#
|
||||
# Used by:
|
||||
# Ships named like: Rattlesnake (2 of 2)
|
||||
# Ship: Rattlesnake
|
||||
# Ship: Rokh
|
||||
# Ship: Scorpion Navy Issue
|
||||
type = "passive"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# shipBonusForceAuxiliaryC1RemoteBoostAndCapAmount
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Loggerhead
|
||||
# Ship: Minokawa
|
||||
type = "passive"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipBonusHeavyDroneArmorHpPirateFaction
|
||||
#
|
||||
# Used by:
|
||||
# Ships named like: Rattlesnake (2 of 2)
|
||||
# Ship: Rattlesnake
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipBonusHeavyDroneDamageMultiplierPirateFaction
|
||||
#
|
||||
# Used by:
|
||||
# Ships named like: Rattlesnake (2 of 2)
|
||||
# Ship: Rattlesnake
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipBonusHeavyDroneHPPirateFaction
|
||||
#
|
||||
# Used by:
|
||||
# Ships named like: Rattlesnake (2 of 2)
|
||||
# Ship: Rattlesnake
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipBonusHeavyDroneShieldHpPirateFaction
|
||||
#
|
||||
# Used by:
|
||||
# Ships named like: Rattlesnake (2 of 2)
|
||||
# Ship: Rattlesnake
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipBonusKineticMissileDamageGB2
|
||||
#
|
||||
# Used by:
|
||||
# Ships named like: Rattlesnake (2 of 2)
|
||||
# Ship: Rattlesnake
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipBonusKineticShieldResistanceCB2
|
||||
#
|
||||
# Used by:
|
||||
# Ships named like: Rattlesnake (2 of 2)
|
||||
# Ship: Rattlesnake
|
||||
# Ship: Rokh
|
||||
# Ship: Scorpion Navy Issue
|
||||
type = "passive"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Hound
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Hound
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipBonusSentryDroneArmorHpPirateFaction
|
||||
#
|
||||
# Used by:
|
||||
# Ships named like: Rattlesnake (2 of 2)
|
||||
# Ship: Rattlesnake
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipBonusSentryDroneDamageMultiplierPirateFaction
|
||||
#
|
||||
# Used by:
|
||||
# Ships named like: Rattlesnake (2 of 2)
|
||||
# Ship: Rattlesnake
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipBonusSentryDroneHPPirateFaction
|
||||
#
|
||||
# Used by:
|
||||
# Ships named like: Rattlesnake (2 of 2)
|
||||
# Ship: Rattlesnake
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipBonusSentryDroneShieldHpPirateFaction
|
||||
#
|
||||
# Used by:
|
||||
# Ships named like: Rattlesnake (2 of 2)
|
||||
# Ship: Rattlesnake
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
10
eos/effects/shipbonusshtfalloffgf1.py
Normal file
10
eos/effects/shipbonusshtfalloffgf1.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# shipBonusSHTFalloffGF1
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"), "falloff",
|
||||
src.getModifiedItemAttr("shipBonusGF"), skill="Gallente Frigate")
|
||||
@@ -1,4 +1,4 @@
|
||||
# shipFalloffBonusGF
|
||||
# shipBonusSHTFalloffGF2
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Atron
|
||||
@@ -7,5 +7,5 @@ type = "passive"
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name == "Survey Probe",
|
||||
"explosionDelay", ship.getModifiedItemAttr("eliteBonusCoverOps3"),
|
||||
"explosionDelay", ship.getModifiedItemAttr("eliteBonusCovertOps3"),
|
||||
skill="Covert Ops")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipBonusThermalMissileDamageGB2
|
||||
#
|
||||
# Used by:
|
||||
# Ships named like: Rattlesnake (2 of 2)
|
||||
# Ship: Rattlesnake
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# shipBonusThermicShieldResistanceCB2
|
||||
#
|
||||
# Used by:
|
||||
# Ships named like: Rattlesnake (2 of 2)
|
||||
# Ship: Rattlesnake
|
||||
# Ship: Rokh
|
||||
# Ship: Scorpion Navy Issue
|
||||
type = "passive"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# shipBonusTitanG2AllDamageBonus
|
||||
# shipBonusTitanG2EMExplosiveDamageBonus
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Komodo
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Nemesis
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# shipHTurretFalloffBonusGC
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Victor
|
||||
# Ship: Vigilant
|
||||
type = "passive"
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
# Used by:
|
||||
# Ship: Velator
|
||||
# Ship: Violator
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# shipStasisWebStrengthBonusMC2
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Victor
|
||||
# Ship: Vigilant
|
||||
type = "passive"
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#
|
||||
# Used by:
|
||||
# Ship: Daredevil
|
||||
# Ship: Virtuoso
|
||||
type = "passive"
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# structuralAnalysisEffect
|
||||
#
|
||||
# Used by:
|
||||
# Implants named like: Agency Tank Booster (3 of 3)
|
||||
# Implants named like: Agency 'Hardshell' TB Dose (3 of 3)
|
||||
# Implants named like: Inherent Implants 'Noble' Repair Proficiency RP (6 of 6)
|
||||
# Modules named like: Auxiliary Nano Pump (8 of 8)
|
||||
# Implant: Imperial Navy Modified 'Noble' Implant
|
||||
|
||||
@@ -9,6 +9,9 @@ type = "projected", "active"
|
||||
def handler(fit, module, context):
|
||||
if "projected" not in context:
|
||||
return
|
||||
|
||||
fit.ship.increaseItemAttr("warpScrambleStatus", module.getModifiedItemAttr("warpScrambleStrength"))
|
||||
|
||||
# this is such a dirty hack
|
||||
for mod in fit.modules:
|
||||
if not mod.isEmpty and mod.item.requiresSkill("High Speed Maneuvering") and mod.state > State.ONLINE:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# surgicalStrikeDamageMultiplierBonusPostPercentDamageMultiplierLocationShipModulesRequiringGunnery
|
||||
#
|
||||
# Used by:
|
||||
# Implants named like: Agency Damage Booster (3 of 3)
|
||||
# Implants named like: Agency 'Pyrolancea' DB Dose (3 of 3)
|
||||
# Implants named like: Eifyr and Co. 'Gunslinger' Surgical Strike SS (6 of 6)
|
||||
# Implant: Standard Cerebral Accelerator
|
||||
type = "passive"
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
#
|
||||
# Used by:
|
||||
# Modules from group: Warp Disrupt Field Generator (7 of 7)
|
||||
type = "active"
|
||||
from eos.saveddata.module import State
|
||||
|
||||
type = "projected", "active"
|
||||
runTime = "early"
|
||||
|
||||
|
||||
@@ -14,3 +16,11 @@ def handler(fit, module, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Propulsion Module",
|
||||
"speedFactor", module.getModifiedItemAttr("speedFactorBonus"))
|
||||
fit.ship.forceItemAttr("disallowAssistance", 1)
|
||||
|
||||
if "projected" in context:
|
||||
fit.ship.increaseItemAttr("warpScrambleStatus", module.getModifiedItemAttr("warpScrambleStrength"))
|
||||
|
||||
if module.charge is not None and module.charge.ID == 45010:
|
||||
for mod in fit.modules:
|
||||
if not mod.isEmpty and mod.item.requiresSkill("High Speed Maneuvering") and mod.state > State.ONLINE:
|
||||
mod.state = State.ONLINE
|
||||
|
||||
@@ -6,4 +6,5 @@ type = "projected", "active"
|
||||
|
||||
|
||||
def handler(fit, module, context):
|
||||
fit.ship.increaseItemAttr("warpScrambleStatus", module.getModifiedItemAttr("warpScrambleStrength"))
|
||||
if "projected" in context:
|
||||
fit.ship.increaseItemAttr("warpScrambleStatus", module.getModifiedItemAttr("warpScrambleStrength"))
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#
|
||||
# Used by:
|
||||
# Modules named like: Warp Scrambler (26 of 26)
|
||||
|
||||
from eos.saveddata.module import State
|
||||
|
||||
runTime = "early"
|
||||
@@ -12,6 +11,9 @@ type = "projected", "active"
|
||||
def handler(fit, module, context):
|
||||
if "projected" not in context:
|
||||
return
|
||||
|
||||
fit.ship.increaseItemAttr("warpScrambleStatus", module.getModifiedItemAttr("warpScrambleStrength"))
|
||||
|
||||
# this is such a dirty hack
|
||||
for mod in fit.modules:
|
||||
if not mod.isEmpty and mod.item.requiresSkill("High Speed Maneuvering") and mod.state > State.ONLINE:
|
||||
|
||||
Reference in New Issue
Block a user