update effects

This commit is contained in:
blitzmann
2016-04-29 22:59:09 -04:00
parent dc5d6a4ef8
commit 270ac99a1e
50 changed files with 113 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
# ammoInfluenceCapNeed
#
# Used by:
# Items from category: Charge (465 of 885)
# Items from category: Charge (465 of 884)
type = "passive"
def handler(fit, module, context):
# Dirty hack to work around cap charges setting cap booster

View File

@@ -1,7 +1,7 @@
# ammoInfluenceRange
#
# Used by:
# Items from category: Charge (571 of 885)
# Items from category: Charge (571 of 884)
type = "passive"
def handler(fit, module, context):
module.multiplyItemAttr("maxRange", module.getModifiedChargeAttr("weaponRangeMultiplier"))

View File

@@ -1,7 +1,7 @@
# drawbackCPUOutput
#
# Used by:
# Modules from group: Rig Drones (64 of 64)
# Modules from group: Rig Drones (58 of 64)
type = "passive"
def handler(fit, module, context):
fit.ship.boostItemAttr("cpuOutput", module.getModifiedItemAttr("drawback"))

View File

@@ -1,7 +1,7 @@
# droneDurabilityArmorHPBonus
#
# Used by:
# Modules named like: Drone Durability Enhancer (8 of 8)
# Modules named like: Drone Durability Enhancer (6 of 8)
type = "passive"
def handler(fit, module, context):
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),

View File

@@ -1,8 +1,7 @@
# droneDurabilityHPBonus
#
# Used by:
# Modules named like: Drone Durability Enhancer (8 of 8)
# Skill: Drone Durability
# Modules named like: Drone Durability Enhancer (6 of 8)
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1

View File

@@ -1,7 +1,7 @@
# droneDurabilityShieldCapBonus
#
# Used by:
# Modules named like: Drone Durability Enhancer (8 of 8)
# Modules named like: Drone Durability Enhancer (6 of 8)
type = "passive"
def handler(fit, module, context):
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),

View File

@@ -1,8 +1,7 @@
# droneMaxRangeBonus
#
# Used by:
# Modules named like: Drone Scope Chip (8 of 8)
# Skill: Drone Sharpshooting
# Modules named like: Drone Scope Chip (6 of 8)
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1

View File

@@ -1,8 +1,7 @@
# droneMaxVelocityBonus
#
# Used by:
# Modules named like: Drone Speed Augmentor (8 of 8)
# Skill: Drone Navigation
# Modules named like: Drone Speed Augmentor (6 of 8)
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1

View File

@@ -1,6 +1,7 @@
# energyNeutralizerFalloff
#
# Used by:
# Drones from group: Energy Neutralizer Drone (3 of 3)
# Modules from group: Energy Neutralizer (51 of 51)
from eos.types import State
type = "active", "projected"

View File

@@ -2,7 +2,6 @@
#
# Used by:
# Modules named like: Drone Mining Augmentor (8 of 8)
# Skill: Drone Interfacing
# Skill: Mining Drone Operation
type = "passive"
def handler(fit, container, context):

View File

@@ -1,8 +1,8 @@
# missileSkillRapidLauncherRoF
#
# Used by:
# Implants named like: Cerebral Accelerator (3 of 3)
# Implants named like: Zainou 'Deadeye' Rapid Launch RL (6 of 6)
# Implant: Standard Cerebral Accelerator
# Implant: Whelan Machorin's Ballistic Smartlink
# Skill: Missile Launcher Operation
# Skill: Rapid Launch

View File

@@ -1,4 +1,4 @@
# marauderModeEffect26
# moduleBonusBastionModule
#
# Used by:
# Module: Bastion Module I

View File

@@ -1,3 +1,7 @@
# moduleBonusCapitalDroneDurabilityEnhancer
#
# Used by:
# Variations of module: Capital Drone Durability Enhancer I (2 of 2)
type = "passive"
def handler(fit, src, context):
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"), "armorHP", src.getModifiedItemAttr("hullHpBonus"))

View File

@@ -1,3 +1,7 @@
# moduleBonusCapitalDroneScopeChip
#
# Used by:
# Variations of module: Capital Drone Scope Chip I (2 of 2)
type = "passive"
def handler(fit, src, context):
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"), "maxRange", src.getModifiedItemAttr("rangeSkillBonus"), stackingPenalties=True)

View File

@@ -1,3 +1,7 @@
# moduleBonusCapitalDroneSpeedAugmentor
#
# Used by:
# Variations of module: Capital Drone Speed Augmentor I (2 of 2)
type = "passive"
def handler(fit, src, context):
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"), "maxVelocity", src.getModifiedItemAttr("droneMaxVelocityBonus"), stackingPenalties=True)

View File

@@ -1,3 +1,7 @@
# moduleBonusNetworkedSensorArray
#
# Used by:
# Module: Networked Sensor Array
type = "active"
def handler(fit, src, context):
fit.ship.increaseItemAttr("maxLockedTargets", src.getModifiedItemAttr("maxLockedTargetsBonus"))

View File

@@ -1,3 +1,5 @@
# moduleBonusSiegeModule
#
# Used by:
# Variations of module: Siege Module I (2 of 2)
type = "active"

View File

@@ -1,5 +1,7 @@
# moduleBonusTriageModule
#
# Used by:
# Module: Triage Module I
# Variations of module: Triage Module I (2 of 2)
type = "active"
runTime = "early"
def handler(fit, src, context):

View File

@@ -2,7 +2,7 @@
#
# Used by:
# Modules from group: Missile Launcher Torpedo (22 of 22)
# Items from market group: Ship Equipment > Turrets & Bays (428 of 849)
# Items from market group: Ship Equipment > Turrets & Bays (428 of 848)
# Module: Interdiction Sphere Launcher I
type = "overheat"
def handler(fit, module, context):

View File

@@ -6,7 +6,7 @@
# Modules from group: Energy Nosferatu (51 of 51)
# Modules from group: Hull Repair Unit (25 of 25)
# Modules from group: Remote Armor Repairer (39 of 39)
# Modules from group: Remote Capacitor Transmitter (38 of 38)
# Modules from group: Remote Capacitor Transmitter (41 of 41)
# Modules from group: Remote Shield Booster (38 of 38)
# Modules from group: Smart Bomb (118 of 118)
# Modules from group: Warp Disrupt Field Generator (7 of 7)

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Modules from group: Remote Armor Repairer (39 of 39)
# Drones named like: Armor Maintenance Bot (6 of 6)
type = "projected", "active"
def handler(fit, container, context):
if "projected" in context:

View File

@@ -1,7 +1,7 @@
# remoteEnergyTransferFalloff
#
# Used by:
# Modules from group: Remote Capacitor Transmitter (38 of 38)
# Modules from group: Remote Capacitor Transmitter (41 of 41)
type = "projected", "active"
def handler(fit, module, context):
if "projected" in context:

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Modules from group: Remote Hull Repairer (8 of 8)
# Drones named like: Hull Maintenance Bot (6 of 6)
type = "projected", "active"
runTime = "late"
def handler(fit, module, context):

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Modules from group: Sensor Dampener (6 of 6)
# Drones named like: SD (3 of 3)
type= "projected", "active"
def handler(fit, module, context):
if "projected" not in context:

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Modules from group: Remote Shield Booster (38 of 38)
# Drones named like: Shield Maintenance Bot (6 of 6)
type = "projected", "active"
def handler(fit, container, context):
if "projected" in context:

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Modules from group: Target Painter (8 of 8)
# Drones named like: TP (3 of 3)
type = "projected", "active"
def handler(fit, container, context):
if "projected" in context:

View File

@@ -1,6 +1,7 @@
# remoteTrackingDisruptFalloff
#
# Used by:
# Drones named like: TD (3 of 3)
# Variations of module: Tracking Disruptor I (6 of 6)
type= "projected", "active"
def handler(fit, module, context):

View File

@@ -1,6 +1,7 @@
# remoteWebifierFalloff
#
# Used by:
# Drones from group: Stasis Webifying Drone (3 of 3)
# Modules from group: Stasis Grappler (7 of 7)
# Modules from group: Stasis Web (18 of 18)
type = "active", "projected"

View File

@@ -1,6 +1,7 @@
# scriptMissileGuidanceComputerAOECloudSizeBonusBonus
#
# Used by:
# Charges from group: Tracking Script (2 of 2)
# Charges named like: Missile Script (4 of 4)
type = "passive"
def handler(fit, module, context):

View File

@@ -1,6 +1,7 @@
# scriptMissileGuidanceComputerAOEVelocityBonusBonus
#
# Used by:
# Charges from group: Tracking Script (2 of 2)
# Charges named like: Missile Script (4 of 4)
type = "passive"
def handler(fit, module, context):

View File

@@ -1,3 +1,7 @@
# scriptResistanceBonusBonus
#
# Used by:
# Charges named like: Resistance Script (8 of 8)
type = "passive"
def handler(fit, src, context):
src.boostItemAttr("emDamageResistanceBonus", src.getModifiedChargeAttr("emDamageResistanceBonusBonus"))

View File

@@ -1,7 +1,6 @@
# shieldTransfer
#
# Used by:
# Drones named like: Shield Maintenance Bot (6 of 6)
# Module: QA Shield Transporter - 5 Players
type = "projected", "active"
def handler(fit, container, context):

View File

@@ -1,3 +1,7 @@
# shipBonusCarrierG1FighterDamage
#
# Used by:
# Ship: Thanatos
type = "passive"
def handler(fit, src, context):
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "fighterAbilityMissilesDamageMultiplier", src.getModifiedItemAttr("shipBonusCarrierG1"), skill="Gallente Carrier")

View File

@@ -1,3 +1,7 @@
# shipBonusCarrierG3FighterHitpoints
#
# Used by:
# Ship: Thanatos
type = "passive"
def handler(fit, src, context):
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "shieldCapacity", src.getModifiedItemAttr("shipBonusCarrierG3"), skill="Gallente Carrier")

View File

@@ -1,3 +1,7 @@
# shipBonusCarrierM1FighterDamage
#
# Used by:
# Ship: Nidhoggur
type = "passive"
def handler(fit, src, context):
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "fighterAbilityAttackMissileDamageMultiplier", src.getModifiedItemAttr("shipBonusCarrierM1"), skill="Minmatar Carrier")

View File

@@ -1,3 +1,7 @@
# shipBonusCarrierM3FighterVelocity
#
# Used by:
# Ship: Nidhoggur
type = "passive"
def handler(fit, src, context):
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "maxVelocity", src.getModifiedItemAttr("shipBonusCarrierM3"), skill="Minmatar Carrier")

View File

@@ -1,3 +1,7 @@
# shipBonusForceAuxiliaryRole3NumWarfareLinks
#
# Used by:
# Ships from group: Force Auxiliary (4 of 4)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemIncrease(lambda mod: mod.item.requiresSkill("Leadership"), "maxGroupActive", src.getModifiedItemAttr("shipBonusRole3"))

View File

@@ -1,3 +1,7 @@
# shipBonusTitanA4FleetBonus
#
# Used by:
# Ship: Avatar
type = "gang"
gangBoost = "rechargeRate"
gangBonus = "shipBonusTitanA4"

View File

@@ -1,3 +1,7 @@
# shipBonusTitanC4FleetBonus
#
# Used by:
# Ship: Leviathan
type = "gang"
gangBoost = "shieldCapacity"
gangBonus = "shipBonusTitanC4"

View File

@@ -1,3 +1,7 @@
# shipBonusTitanG4FleetBonus
#
# Used by:
# Ship: Erebus
type = "gang"
gangBoost = "armorHP"
gangBonus = "shipBonusTitanG4"

View File

@@ -1,3 +1,7 @@
# shipBonusTitanM4FleetBonus
#
# Used by:
# Ship: Ragnarok
type = "gang"
gangBoost = "signatureRadius"
gangBonus = "shipBonusTitanM4"

View File

@@ -1,3 +1,7 @@
# skillBonusDroneDurability
#
# Used by:
# Skill: Drone Durability
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,3 +1,7 @@
# skillBonusDroneInterfacing
#
# Used by:
# Skill: Drone Interfacing
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,3 +1,7 @@
# skillBonusDroneNavigation
#
# Used by:
# Skill: Drone Navigation
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,3 +1,7 @@
# skillBonusDroneSharpshooting
#
# Used by:
# Skill: Drone Sharpshooting
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,3 +1,7 @@
# skillBonusFighters
#
# Used by:
# Skill: Fighters
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,3 +1,7 @@
# skillBonusHeavyFighters
#
# Used by:
# Skill: Heavy Fighters
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,3 +1,7 @@
# skillBonusLightFighters
#
# Used by:
# Skill: Light Fighters
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,8 +1,8 @@
# surgicalStrikeDamageMultiplierBonusPostPercentDamageMultiplierLocationShipModulesRequiringGunnery
#
# Used by:
# Implants named like: Cerebral Accelerator (3 of 3)
# Implants named like: Eifyr and Co. 'Gunslinger' Surgical Strike SS (6 of 6)
# Implant: Standard Cerebral Accelerator
type = "passive"
def handler(fit, implant, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gunnery"),

View File

@@ -1,7 +1,6 @@
# targetArmorRepair
#
# Used by:
# Drones named like: Armor Maintenance Bot (6 of 6)
# Module: QA Remote Armor Repair System - 5 Players
type = "projected", "active"
def handler(fit, container, context):