Skip to content

Commit

Permalink
Update effect files
Browse files Browse the repository at this point in the history
  • Loading branch information
blitzmann committed Dec 8, 2015
1 parent fbf67c1 commit 81963a6
Show file tree
Hide file tree
Showing 206 changed files with 544 additions and 327 deletions.
2 changes: 1 addition & 1 deletion eos/effects/ammoinfluencecapneed.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ammoInfluenceCapNeed
#
# Used by:
# Items from category: Charge (458 of 831)
# Items from category: Charge (458 of 833)
type = "passive"
def handler(fit, module, context):
# Dirty hack to work around cap charges setting cap booster
Expand Down
2 changes: 1 addition & 1 deletion eos/effects/ammoinfluencerange.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ammoInfluenceRange
#
# Used by:
# Items from category: Charge (559 of 831)
# Items from category: Charge (559 of 833)
type = "passive"
def handler(fit, module, context):
module.multiplyItemAttr("maxRange", module.getModifiedChargeAttr("weaponRangeMultiplier"))
8 changes: 8 additions & 0 deletions eos/effects/armorrepairprojectorfalloffbonus.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# armorRepairProjectorFalloffBonus
#
# Used by:
# Variations of ship: Navitas (2 of 2)
# Ship: Augoror
# Ship: Deacon
# Ship: Exequror
# Ship: Inquisitor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer", "falloffEffectiveness", src.getModifiedItemAttr("falloffBonus"))
3 changes: 2 additions & 1 deletion eos/effects/armorrepairprojectormaxrangebonus.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# armorRepairProjectorMaxRangeBonus
#
# Used by:
# Variations of ship: Navitas (2 of 2)
# Ship: Augoror
# Ship: Deacon
# Ship: Exequror
# Ship: Inquisitor
# Ship: Navitas
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
Expand Down
3 changes: 2 additions & 1 deletion eos/effects/caldarishipewcapacitorneedcf2.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# caldariShipEwCapacitorNeedCF2
#
# Used by:
# Variations of ship: Griffin (2 of 2)
# Ship: Griffin
# Ship: Kitsune
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
Expand Down
2 changes: 0 additions & 2 deletions eos/effects/capacitorcapacitymultiply.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
# Modules from group: Power Diagnostic System (23 of 23)
# Modules from group: Propulsion Module (114 of 114)
# Modules from group: Reactor Control Unit (22 of 22)
# Modules from group: Shield Flux Coil (11 of 11)
# Modules from group: Shield Power Relay (11 of 11)
type = "passive"
def handler(fit, module, context):
fit.ship.multiplyItemAttr("capacitorCapacity", module.getModifiedItemAttr("capacitorCapacityMultiplier"))
5 changes: 5 additions & 0 deletions eos/effects/carrieramarrarmortransferfalloff3.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# carrierAmarrArmorTransferFalloff3
#
# Used by:
# Ship: Aeon
# Ship: Archon
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"), "falloffEffectiveness", src.getModifiedItemAttr("carrierAmarrBonus3"), skill="Amarr Carrier")
6 changes: 6 additions & 0 deletions eos/effects/carriercaldarishieldtransferfalloff3.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# carrierCaldariShieldTransferFalloff3
#
# Used by:
# Ship: Chimera
# Ship: Revenant
# Ship: Wyvern
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"), "falloffEffectiveness", src.getModifiedItemAttr("carrierCaldariBonus3"), skill="Caldari Carrier")
5 changes: 5 additions & 0 deletions eos/effects/carriergallentearmorshieldtransferfalloff3.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# carrierGallenteArmor&ShieldTransferFalloff3
#
# Used by:
# Ship: Nyx
# Ship: Thanatos
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems") or mod.item.requiresSkill("Capital Remote Armor Repair Systems"), "falloffEffectiveness", src.getModifiedItemAttr("carrierGallenteBonus3"), skill="Gallente Carrier")
5 changes: 5 additions & 0 deletions eos/effects/carrierminmatararmorshieldtransferfalloff3.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# carrierMinmatarArmor&ShieldTransferFalloff3
#
# Used by:
# Ship: Hel
# Ship: Nidhoggur
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems") or mod.item.requiresSkill("Capital Remote Armor Repair Systems"), "falloffEffectiveness", src.getModifiedItemAttr("carrierMinmatarBonus3"), skill="Minmatar Carrier")
2 changes: 1 addition & 1 deletion eos/effects/covertopsandreconopscloakmoduledelaybonus.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
# Ships from group: Black Ops (4 of 4)
# Ships from group: Blockade Runner (4 of 4)
# Ships from group: Covert Ops (5 of 5)
# Ships from group: Expedition Frigate (2 of 2)
# Ships from group: Force Recon Ship (6 of 6)
# Ships from group: Stealth Bomber (4 of 4)
# Ships named like: Stratios (2 of 2)
# Subsystems named like: Offensive Covert Reconfiguration (4 of 4)
# Ship: Astero
# Ship: Prospect
type = "passive"
def handler(fit, container, context):
fit.modules.filteredItemForce(lambda mod: mod.item.requiresSkill("Cloaking"),
Expand Down
1 change: 1 addition & 0 deletions eos/effects/covertopsstealthbombertargettingdelaybonus.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Ships from group: Black Ops (4 of 4)
# Ships from group: Stealth Bomber (4 of 4)
# Ship: Chremoas
# Ship: Endurance
# Ship: Etana
type = "passive"
def handler(fit, ship, context):
Expand Down
3 changes: 1 addition & 2 deletions eos/effects/dronearmordamagebonuseffect.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# droneArmorDamageBonusEffect
#
# Used by:
# Ships from group: Logistics (5 of 5)
# Ship: Exequror
# Ship: Guardian
# Ship: Oneiros
# Ship: Scythe
type = "passive"
def handler(fit, ship, context):
Expand Down
6 changes: 6 additions & 0 deletions eos/effects/dronehullrepairbonuseffect.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# droneHullRepairBonusEffect
#
# Used by:
# Ships from group: Logistics (5 of 5)
# Ship: Exequror
# Ship: Scythe
type = "passive"
def handler(fit, src, context):
fit.drones.filteredItemBoost(lambda drone: drone.item.group.name == "Logistic Drone", "structureDamageAmount", src.getModifiedItemAttr("droneArmorDamageAmountBonus"))
2 changes: 1 addition & 1 deletion eos/effects/droneshieldbonusbonuseffect.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# droneShieldBonusBonusEffect
#
# Used by:
# Ships from group: Logistics (3 of 5)
# Ships from group: Logistics (5 of 5)
# Ship: Exequror
# Ship: Scythe
type = "passive"
Expand Down
5 changes: 5 additions & 0 deletions eos/effects/elitebonuscommanddestroyerarmored1.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# eliteBonusCommandDestroyerArmored1
#
# Used by:
# Ship: Magus
# Ship: Pontifex
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Warfare Specialist"), "commandBonus", src.getModifiedItemAttr("eliteBonusCommandDestroyer1"), skill="Command Destroyers")
5 changes: 5 additions & 0 deletions eos/effects/elitebonuscommanddestroyerinfo1.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# eliteBonusCommandDestroyerInfo1
#
# Used by:
# Ship: Pontifex
# Ship: Stork
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Warfare Specialist"), "commandBonus", src.getModifiedItemAttr("eliteBonusCommandDestroyer1"), skill="Command Destroyers")
5 changes: 5 additions & 0 deletions eos/effects/elitebonuscommanddestroyerinfohidden1.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# eliteBonusCommandDestroyerInfoHidden1
#
# Used by:
# Ship: Pontifex
# Ship: Stork
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Warfare Specialist"), "commandBonusHidden", src.getModifiedItemAttr("eliteBonusCommandDestroyer1"), skill="Command Destroyers")
4 changes: 4 additions & 0 deletions eos/effects/elitebonuscommanddestroyermjfgspool2.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# eliteBonusCommandDestroyerMJFGspool2
#
# Used by:
# Ships from group: Command Destroyers (4 of 4)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Micro Jump Drive Operation"), "duration", src.getModifiedItemAttr("eliteBonusCommandDestroyer2"), skill="Command Destroyers")
4 changes: 4 additions & 0 deletions eos/effects/elitebonuscommanddestroyermwdsigradius3.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# eliteBonusCommandDestroyerMWDSigRadius3
#
# Used by:
# Ships from group: Command Destroyers (4 of 4)
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")
5 changes: 5 additions & 0 deletions eos/effects/elitebonuscommanddestroyersiege1.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# eliteBonusCommandDestroyerSiege1
#
# Used by:
# Ship: Bifrost
# Ship: Stork
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Siege Warfare Specialist"), "commandBonus", src.getModifiedItemAttr("eliteBonusCommandDestroyer1"), skill="Command Destroyers")
5 changes: 5 additions & 0 deletions eos/effects/elitebonuscommanddestroyerskirmish1.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# eliteBonusCommandDestroyerSkirmish1
#
# Used by:
# Ship: Bifrost
# Ship: Magus
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Warfare Specialist"), "commandBonus", src.getModifiedItemAttr("eliteBonusCommandDestroyer1"), skill="Command Destroyers")
8 changes: 0 additions & 8 deletions eos/effects/elitebonuselectronicattackshipenergyneutrange1.py

This file was deleted.

This file was deleted.

4 changes: 4 additions & 0 deletions eos/effects/elitebonuslogifrigarmorhp2.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# eliteBonusLogiFrigArmorHP2
#
# Used by:
# Ship: Deacon
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("armorHP", src.getModifiedItemAttr("eliteBonusLogiFrig2"), skill="Logistics Frigates")
5 changes: 5 additions & 0 deletions eos/effects/elitebonuslogifrigarmorrepspeedcap1.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# eliteBonusLogiFrigArmorRepSpeedCap1
#
# Used by:
# Ship: Deacon
# Ship: Thalia
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "capacitorNeed", src.getModifiedItemAttr("eliteBonusLogiFrig1"), skill="Logistics Frigates")
Expand Down
4 changes: 4 additions & 0 deletions eos/effects/elitebonuslogifrigshieldhp2.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# eliteBonusLogiFrigShieldHP2
#
# Used by:
# Ship: Kirin
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("shieldCapacity", src.getModifiedItemAttr("eliteBonusLogiFrig2"), skill="Logistics Frigates")
5 changes: 5 additions & 0 deletions eos/effects/elitebonuslogifrigshieldrepspeedcap1.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# eliteBonusLogiFrigShieldRepSpeedCap1
#
# Used by:
# Ship: Kirin
# Ship: Scalpel
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems"), "duration", src.getModifiedItemAttr("eliteBonusLogiFrig1"), skill="Logistics Frigates")
Expand Down
5 changes: 5 additions & 0 deletions eos/effects/elitebonuslogifrigsignature2.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# eliteBonusLogiFrigSignature2
#
# Used by:
# Ship: Scalpel
# Ship: Thalia
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("signatureRadius", src.getModifiedItemAttr("eliteBonusLogiFrig2"), skill="Logistics Frigates")
8 changes: 0 additions & 8 deletions eos/effects/elitereconbonusenergyneutrange1.py

This file was deleted.

8 changes: 0 additions & 8 deletions eos/effects/elitereconbonusneutrange3.py

This file was deleted.

8 changes: 0 additions & 8 deletions eos/effects/elitereconbonusvamprange3.py

This file was deleted.

8 changes: 0 additions & 8 deletions eos/effects/elitereconenergyvampirerangebonus1.py

This file was deleted.

1 change: 0 additions & 1 deletion eos/effects/energydestabilizationnew.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#
# Used by:
# Drones from group: Cap Drain Drone (3 of 3)
# Modules from group: Energy Destabilizer (41 of 41)
from eos.types import State
type = "active", "projected"
def handler(fit, container, context):
Expand Down
4 changes: 4 additions & 0 deletions eos/effects/energyneutralizerfalloff.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# energyNeutralizerFalloff
#
# Used by:
# Modules from group: Energy Neutralizer (45 of 45)
from eos.types import State
type = "active", "projected"
def handler(fit, container, context):
Expand Down
4 changes: 4 additions & 0 deletions eos/effects/energynosferatufalloff.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# energyNosferatuFalloff
#
# Used by:
# Modules from group: Energy Nosferatu (45 of 45)
type = "active", "projected"
runTime = "late"
def handler(fit, module, context):
Expand Down
2 changes: 1 addition & 1 deletion eos/effects/entosiscpuaddition.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# entosisCPUAddition
#
# Used by:
# Modules from group: Entosis Link (2 of 2)
# Modules from group: Entosis Link (6 of 6)
type = "passive"
def handler(fit, module, context):
module.increaseItemAttr("cpu", module.getModifiedItemAttr("entosisCPUAdd"))
Expand Down
2 changes: 1 addition & 1 deletion eos/effects/entosislink.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# entosisLink
#
# Used by:
# Modules from group: Entosis Link (2 of 2)
# Modules from group: Entosis Link (6 of 6)
type = "active"
def handler(fit, module, context):
fit.ship.forceItemAttr("disallowAssistance", module.getModifiedItemAttr("disallowAssistance"))
5 changes: 5 additions & 0 deletions eos/effects/ewskillguidancedisruptionbonus.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# ewSkillGuidanceDisruptionBonus
#
# Used by:
# Modules named like: Tracking Diagnostic Subroutines (8 of 8)
# Skill: Weapon Destabilization
type = "passive"
def handler(fit, src, context):
level = src.level if "skill" in context else 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Used by:
# Modules named like: Tracking Diagnostic Subroutines (8 of 8)
# Skill: Turret Destabilization
# Skill: Weapon Destabilization
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1
Expand Down
2 changes: 1 addition & 1 deletion eos/effects/ewskilltrackingdisruptiontrackingspeedbonus.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Used by:
# Modules named like: Tracking Diagnostic Subroutines (8 of 8)
# Skill: Turret Destabilization
# Skill: Weapon Destabilization
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1
Expand Down
4 changes: 4 additions & 0 deletions eos/effects/expeditionfrigatebonusiceharvestingcycletime2.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# expeditionFrigateBonusIceHarvestingCycleTime2
#
# Used by:
# Ship: Endurance
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Ice Harvesting"), "duration", src.getModifiedItemAttr("eliteBonusExpedition2"), skill="Expedition Frigates")
4 changes: 4 additions & 0 deletions eos/effects/expeditionfrigateshieldresistance1.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# expeditionFrigateShieldResistance1
#
# Used by:
# Ship: Endurance
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("shieldThermalDamageResonance", src.getModifiedItemAttr("eliteBonusExpedition1"), skill="Expedition Frigates")
Expand Down
Loading

0 comments on commit 81963a6

Please sign in to comment.