Update to Citadel 1.14 and update effect headers0

This commit is contained in:
blitzmann
2016-05-23 23:22:44 -04:00
parent 90e54c6334
commit fd62c254a4
62 changed files with 200 additions and 73 deletions

View File

@@ -1,4 +1,4 @@
# capitalLauncherSkillCruiseCitadelEmDamage1
# capitalLauncherSkillCruiseCitadelEmDamage1
#
# Used by:
# Skill: XL Cruise Missiles

View File

@@ -1,7 +1,4 @@
# decreaseTargetSpeed
#
# Used by:
# Drones from group: Stasis Webifying Drone (3 of 3)
# Not used by any item
type = "active", "projected"
def handler(fit, module, context):
if "projected" not in context:

View File

@@ -1,7 +1,4 @@
# droneDamageBonusRequringDrones
#
# Used by:
# Skill: Drone Interfacing
# Not used by any item
type = "passive"
def handler(fit, skill, context):
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),

View File

@@ -1,7 +1,4 @@
# eliteBonusCommandDestroyerMWDSigRadius3
#
# Used by:
# Ships from group: Command Destroyers (4 of 4)
# Not used by any item
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("High Speed Maneuvering"), "signatureRadiusBonus", src.getModifiedItemAttr("eliteBonusCommandDestroyer3"), skill="Command Destroyers")

View File

@@ -1,3 +1,7 @@
# eliteBonusLogisticRemoteArmorRepairCapNeed1
#
# Used by:
# Ship: Oneiros
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "capacitorNeed", src.getModifiedItemAttr("eliteBonusLogistics1"), skill="Logistics Cruisers")

View File

@@ -1,3 +1,7 @@
# eliteBonusLogisticRemoteArmorRepairCapNeed2
#
# Used by:
# Ship: Guardian
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "capacitorNeed", src.getModifiedItemAttr("eliteBonusLogistics2"), skill="Logistics Cruisers")

View File

@@ -1,3 +1,8 @@
# eliteBonusLogisticShieldTransferCapNeed1
#
# Used by:
# Ship: Basilisk
# Ship: Etana
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems"), "capacitorNeed", src.getModifiedItemAttr("eliteBonusLogistics1"), skill="Logistics Cruisers")

View File

@@ -1,3 +1,7 @@
# eliteBonusLogisticShieldTransferCapNeed2
#
# Used by:
# Ship: Scimitar
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems"), "capacitorNeed", src.getModifiedItemAttr("eliteBonusLogistics2"), skill="Logistics Cruisers")

View File

@@ -1,7 +1,4 @@
# energyDestabilizationNew
#
# Used by:
# Drones from group: Energy Neutralizer Drone (3 of 3)
# Not used by any item
from eos.types import State
type = "active", "projected"
def handler(fit, container, context):

View File

@@ -0,0 +1,12 @@
# energyNeutralizerEntity
#
# Used by:
# Drones from group: Energy Neutralizer Drone (3 of 3)
from eos.types import State
type = "active", "projected"
def handler(fit, container, context):
if "projected" in context and ((hasattr(container, "state") \
and container.state >= State.ACTIVE) or hasattr(container, "amountActive")):
amount = container.getModifiedItemAttr("energyDestabilizationAmount")
time = container.getModifiedItemAttr("duration")
fit.addDrain(time, amount, 0)

View File

@@ -1,7 +1,6 @@
# 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

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

View File

@@ -1,7 +1,4 @@
# ewTargetPaint
#
# Used by:
# Drones named like: TP (3 of 3)
# Not used by any item
type = "projected", "active"
def handler(fit, container, context):
if "projected" in context:

View File

@@ -1,3 +1,4 @@
# Not used by any item
"""
Since fighter abilities do not have any sort of item entity in the EVE database, we must derive the abilities from the
effects, and thus this effect file contains some custom information useful only to fighters.

View File

@@ -1,3 +1,4 @@
# Not used by any item
"""
Since fighter abilities do not have any sort of item entity in the EVE database, we must derive the abilities from the
effects, and thus this effect file contains some custom information useful only to fighters.

View File

@@ -1,3 +1,4 @@
# Not used by any item
"""
Since fighter abilities do not have any sort of item entity in the EVE database, we must derive the abilities from the
effects, and thus this effect file contains some custom information useful only to fighters.

View File

@@ -1,3 +1,4 @@
# Not used by any item
"""
Since fighter abilities do not have any sort of item entity in the EVE database, we must derive the abilities from the
effects, and thus this effect file contains some custom information useful only to fighters.

View File

@@ -1,3 +1,4 @@
# Not used by any item
"""
Since fighter abilities do not have any sort of item entity in the EVE database, we must derive the abilities from the
effects, and thus this effect file contains some custom information useful only to fighters.

View File

@@ -1,3 +1,4 @@
# Not used by any item
"""
Since fighter abilities do not have any sort of item entity in the EVE database, we must derive the abilities from the
effects, and thus this effect file contains some custom information useful only to fighters.

View File

@@ -1,3 +1,4 @@
# Not used by any item
"""
Since fighter abilities do not have any sort of item entity in the EVE database, we must derive the abilities from the
effects, and thus this effect file contains some custom information useful only to fighters.

View File

@@ -1,3 +1,4 @@
# Not used by any item
"""
Since fighter abilities do not have any sort of item entity in the EVE database, we must derive the abilities from the
effects, and thus this effect file contains some custom information useful only to fighters.

View File

@@ -1,7 +1,4 @@
# marauderModeEffect26
#
# Used by:
# Module: Bastion Module I
# Not used by any item
type = "active"
runTime = "early"
def handler(fit, module, context):

View File

@@ -1,3 +1,7 @@
# moduleBonusAncillaryRemoteArmorRepairer
#
# Used by:
# Modules from group: Ancillary Remote Armor Repairer (4 of 4)
runTime = "late"
type = "projected", "active"
def handler(fit, module, context):

View File

@@ -1,3 +1,7 @@
# moduleBonusAncillaryRemoteShieldBooster
#
# Used by:
# Modules from group: Ancillary Remote Shield Booster (4 of 4)
runTime = "late"
type = "projected", "active"
def handler(fit, module, context):

View File

@@ -1,9 +1,9 @@
# overloadSelfDamageBonus
#
# Used by:
# Modules from group: Energy Weapon (102 of 209)
# Modules from group: Hybrid Weapon (106 of 221)
# Modules from group: Projectile Weapon (100 of 165)
# Modules from group: Energy Weapon (101 of 209)
# Modules from group: Hybrid Weapon (105 of 221)
# Modules from group: Projectile Weapon (99 of 165)
type = "overheat"
def handler(fit, module, context):
module.boostItemAttr("damageMultiplier", module.getModifiedItemAttr("overloadDamageModifier"))

View File

@@ -1,3 +1,8 @@
# remoteArmorPowerNeedBonusEffect
#
# Used by:
# Ship: Guardian
# Ship: Oneiros
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "power", src.getModifiedItemAttr("remoteArmorPowerNeedBonus"))

View File

@@ -0,0 +1,10 @@
# remoteArmorRepairEntity
#
# Used by:
# Drones named like: Armor Maintenance Bot (6 of 6)
type = "projected", "active"
def handler(fit, container, context):
if "projected" in context:
bonus = container.getModifiedItemAttr("armorDamageAmount")
duration = container.getModifiedItemAttr("duration") / 1000.0
fit.extraAttributes.increase("armorRepair", bonus / duration)

View File

@@ -2,7 +2,6 @@
#
# 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,4 @@
# remoteEcmBurst
#
# Used by:
# Module: ECM Jammer Burst Projector
# Not used by any item
type = 'active'
def handler(fit, module, context):
pass

View File

@@ -1,7 +1,4 @@
# remoteHullRepair
#
# Used by:
# Drones named like: Hull Maintenance Bot (6 of 6)
# Not used by any item
type = "projected", "active"
runTime = "late"
def handler(fit, module, context):

View File

@@ -0,0 +1,11 @@
# remoteHullRepairEntity
#
# Used by:
# 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)

View File

@@ -2,7 +2,6 @@
#
# 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

@@ -0,0 +1,14 @@
# remoteSensorDampEntity
#
# Used by:
# Drones named like: SD (3 of 3)
type= "projected", "active"
def handler(fit, module, context):
if "projected" not in context:
return
fit.ship.boostItemAttr("maxTargetRange", module.getModifiedItemAttr("maxTargetRangeBonus"),
stackingPenalties = True, remoteResists=True)
fit.ship.boostItemAttr("scanResolution", module.getModifiedItemAttr("scanResolutionBonus"),
stackingPenalties = True, remoteResists=True)

View File

@@ -2,16 +2,13 @@
#
# 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:
return
print "in sensor damp projection on ", fit, module.getModifiedItemAttr("maxTargetRangeBonus")
print fit.ship.getModifiedItemAttr('maxTargetRange')
fit.ship.boostItemAttr("maxTargetRange", module.getModifiedItemAttr("maxTargetRangeBonus"),
stackingPenalties = True, remoteResists=True)
print fit.ship.getModifiedItemAttr('maxTargetRange')
fit.ship.boostItemAttr("scanResolution", module.getModifiedItemAttr("scanResolutionBonus"),
stackingPenalties = True, remoteResists=True)

View File

@@ -0,0 +1,10 @@
# remoteShieldTransferEntity
#
# Used by:
# Drones named like: Shield Maintenance Bot (6 of 6)
type = "projected", "active"
def handler(fit, container, context):
if "projected" in context:
bonus = container.getModifiedItemAttr("shieldBonus")
duration = container.getModifiedItemAttr("duration") / 1000.0
fit.extraAttributes.increase("shieldRepair", bonus / duration)

View File

@@ -2,7 +2,6 @@
#
# 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

@@ -0,0 +1,9 @@
# remoteTargetPaintEntity
#
# Used by:
# Drones named like: TP (3 of 3)
type = "projected", "active"
def handler(fit, container, context):
if "projected" in context:
fit.ship.boostItemAttr("signatureRadius", container.getModifiedItemAttr("signatureRadiusBonus"),
stackingPenalties = True, remoteResists=True)

View File

@@ -2,7 +2,6 @@
#
# 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,7 +1,6 @@
# 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

@@ -0,0 +1,16 @@
# remoteWeaponDisruptEntity
#
# Used by:
# Drones named like: TD (3 of 3)
type= "projected", "active"
def handler(fit, module, context):
if "projected" in context:
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gunnery"),
"trackingSpeed", module.getModifiedItemAttr("trackingSpeedBonus"),
stackingPenalties = True, remoteResists=True)
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gunnery"),
"maxRange", module.getModifiedItemAttr("maxRangeBonus"),
stackingPenalties = True, remoteResists=True)
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gunnery"),
"falloff", module.getModifiedItemAttr("falloffBonus"),
stackingPenalties = True, remoteResists=True)

View File

@@ -0,0 +1,9 @@
# remoteWebifierEntity
#
# Used by:
# Drones from group: Stasis Webifying Drone (3 of 3)
type = "active", "projected"
def handler(fit, module, context):
if "projected" not in context: return
fit.ship.boostItemAttr("maxVelocity", module.getModifiedItemAttr("speedFactor"),
stackingPenalties = True, remoteResists=True)

View File

@@ -1,7 +1,6 @@
# 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,3 +1,7 @@
# shieldTransportCpuNeedBonusEffect
#
# Used by:
# Ships from group: Logistics (3 of 5)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems"), "cpu", src.getModifiedItemAttr("shieldTransportCpuNeedBonus"))

View File

@@ -1,7 +1,4 @@
# shipBonusEnergyVampireRangeAD2
#
# Used by:
# Ship: Dragoon
# Not used by any item
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Nosferatu",

View File

@@ -1,3 +1,8 @@
# shipBonusRemoteArmorRepairAmount2AF
#
# Used by:
# Ship: Deacon
# Ship: Inquisitor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "armorDamageAmount", src.getModifiedItemAttr("shipBonus2AF"), skill="Amarr Frigate")

View File

@@ -1,3 +1,7 @@
# shipBonusRemoteArmorRepairAmountAC2
#
# Used by:
# Ship: Augoror
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "armorDamageAmount", src.getModifiedItemAttr("shipBonusAC2"), skill="Amarr Cruiser")

View File

@@ -1,3 +1,7 @@
# shipBonusRemoteArmorRepairAmountGC2
#
# Used by:
# Ship: Exequror
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "armorDamageAmount", src.getModifiedItemAttr("shipBonusGC2"), skill="Gallente Cruiser")

View File

@@ -1,3 +1,7 @@
# shipBonusRemoteArmorRepairAmountGF2
#
# Used by:
# Variations of ship: Navitas (2 of 2)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "armorDamageAmount", src.getModifiedItemAttr("shipBonusGF2"), skill="Gallente Frigate")

View File

@@ -1,3 +1,7 @@
# shipBonusRemoteArmorRepairCapNeedAC1
#
# Used by:
# Ship: Augoror
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "capacitorNeed", src.getModifiedItemAttr("shipBonusAC"), skill="Amarr Cruiser")

View File

@@ -1,3 +1,8 @@
# shipBonusRemoteArmorRepairCapNeedAF
#
# Used by:
# Ship: Deacon
# Ship: Inquisitor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "capacitorNeed", src.getModifiedItemAttr("shipBonusAF"), skill="Amarr Frigate")

View File

@@ -1,3 +1,7 @@
# shipBonusRemoteArmorRepairCapNeedGC1
#
# Used by:
# Ship: Exequror
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "capacitorNeed", src.getModifiedItemAttr("shipBonusGC"), skill="Gallente Cruiser")

View File

@@ -1,3 +1,7 @@
# shipBonusRemoteArmorRepairCapNeedGF
#
# Used by:
# Variations of ship: Navitas (2 of 2)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "capacitorNeed", src.getModifiedItemAttr("shipBonusGF"), skill="Gallente Frigate")

View File

@@ -1,3 +1,7 @@
# shipBonusShieldTransferCapneed1
#
# Used by:
# Ship: Osprey
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems"), "capacitorNeed", src.getModifiedItemAttr("shipBonusCC"), skill="Caldari Cruiser")

View File

@@ -1,7 +1,4 @@
# shipXLProjectileDamageRole
#
# Used by:
# Ship: Naglfar
# Not used by any item
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Projectile Turret"),

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
# skillRemoteHullRepairSystemsCapNeedBonus
# skillRemoteHullRepairSystemsCapNeedBonus
#
# Used by:
# Skill: Remote Hull Repair Systems

View File

@@ -1,7 +1,4 @@
# titanTurretDamageScaling
#
# Used by:
# Ships from group: Titan (4 of 4)
# Not used by any item
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemIncrease(lambda mod: mod.item.requiresSkill("Gunnery"),

View File

@@ -1,7 +1,4 @@
# turretWeaponRangeFalloffTrackingSpeedMultiplyTargetHostile
#
# Used by:
# Drones named like: TD (3 of 3)
# Not used by any item
type = "projected", "active"
def handler(fit, container, context):
if "projected" in context:

View File

@@ -1,9 +1,7 @@
# warpScramble
#
# Used by:
# Variations of module: Heavy Warp Disruptor I (7 of 7)
# Variations of module: Warp Disruptor I (19 of 19)
# Module: Civilian Warp Disruptor
# Modules named like: Warp Disruptor (27 of 27)
type = "projected", "active"
def handler(fit, module, context):
fit.ship.increaseItemAttr("warpScrambleStatus", module.getModifiedItemAttr("warpScrambleStrength"))

View File

@@ -1,8 +1,7 @@
# warpScrambleBlockMWDWithNPCEffect
#
# Used by:
# Variations of module: Heavy Warp Scrambler I (7 of 7)
# Variations of module: Warp Scrambler I (19 of 19)
# Modules named like: Warp Scrambler (26 of 26)
runTime = "early"
type = "projected", "active"

BIN
eve.db

Binary file not shown.