Skip to content

Commit

Permalink
Update effect headers
Browse files Browse the repository at this point in the history
  • Loading branch information
blitzmann committed Jul 3, 2016
1 parent 7020f4b commit 7831999
Show file tree
Hide file tree
Showing 41 changed files with 101 additions and 24 deletions.
2 changes: 1 addition & 1 deletion eos/effects/boosterarmorhppenalty.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# boosterArmorHpPenalty
#
# Used by:
# Implants from group: Booster (12 of 42)
# Implants from group: Booster (12 of 45)
type = "boosterSideEffect"
def handler(fit, booster, context):
fit.ship.boostItemAttr("armorHP", booster.getModifiedItemAttr("boosterArmorHPPenalty"))
4 changes: 3 additions & 1 deletion eos/effects/boosterarmorrepairamountpenalty.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# boosterArmorRepairAmountPenalty
#
# Used by:
# Implants from group: Booster (9 of 42)
# Implants named like: Drop Booster (3 of 4)
# Implants named like: Mindflood Booster (3 of 4)
# Implants named like: Sooth Sayer Booster (3 of 4)
type = "boosterSideEffect"
def handler(fit, booster, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Unit",
Expand Down
2 changes: 1 addition & 1 deletion eos/effects/boostermaxvelocitypenalty.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# boosterMaxVelocityPenalty
#
# Used by:
# Implants from group: Booster (12 of 42)
# Implants from group: Booster (12 of 45)
type = "boosterSideEffect"
def handler(fit, booster, context):
fit.ship.boostItemAttr("maxVelocity", booster.getModifiedItemAttr("boosterMaxVelocityPenalty"))
2 changes: 1 addition & 1 deletion eos/effects/boostershieldcapacitypenalty.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# boosterShieldCapacityPenalty
#
# Used by:
# Implants from group: Booster (12 of 42)
# Implants from group: Booster (12 of 45)
type = "boosterSideEffect"
def handler(fit, booster, context):
fit.ship.boostItemAttr("shieldCapacity", booster.getModifiedItemAttr("boosterShieldCapacityPenalty"))
4 changes: 3 additions & 1 deletion eos/effects/boosterturretoptimalrangepenalty.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# boosterTurretOptimalRangePenalty
#
# Used by:
# Implants from group: Booster (9 of 42)
# Implants named like: Blue Pill Booster (3 of 5)
# Implants named like: Mindflood Booster (3 of 4)
# Implants named like: Sooth Sayer Booster (3 of 4)
type = "boosterSideEffect"
def handler(fit, booster, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gunnery"),
Expand Down
2 changes: 1 addition & 1 deletion eos/effects/dohacking.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# doHacking
#
# Used by:
# Modules from group: Data Miners (13 of 14)
# Modules from group: Data Miners (15 of 16)
# Module: QA Cross Protocol Analyzer
type = "active"
def handler(fit, module, context):
Expand Down
4 changes: 4 additions & 0 deletions eos/effects/entityecmfalloff.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# entityECMFalloff
#
# Used by:
# Drones named like: EC (3 of 3)
type = "projected", "active"
def handler(fit, module, context):
if "projected" in context:
Expand Down
4 changes: 2 additions & 2 deletions eos/effects/entityenergyneutralizerfalloff.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# energyNeutralizerFalloff
# entityEnergyNeutralizerFalloff
#
# Used by:
# Modules from group: Energy Neutralizer (51 of 51)
# Drones from group: Energy Neutralizer Drone (3 of 3)
from eos.types import State
type = "active", "projected"
def handler(fit, container, context):
Expand Down
8 changes: 6 additions & 2 deletions eos/effects/entosisdurationmultiply.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# entosisDurationMultiply
#
# Used by:
# Ships from group: Supercarrier (5 of 5)
# Items from market group: Ships > Capital Ships (22 of 32)
# Ships from group: Carrier (4 of 4)
# Ships from group: Dreadnought (5 of 5)
# Ships from group: Force Auxiliary (4 of 4)
# Ships from group: Supercarrier (6 of 6)
# Ships from group: Titan (5 of 5)
# Ship: Rorqual
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Infomorph Psychology"),
Expand Down
5 changes: 1 addition & 4 deletions eos/effects/rigdrawbackbonuseffect.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# rigDrawbackBonusEffect
#
# Used by:
# Skills from group: Rigging (9 of 10)
# Not used by any item
type = "passive"
def handler(fit, skill, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill(skill),
Expand Down
4 changes: 4 additions & 0 deletions eos/effects/rigdrawbackreductionarmor.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# rigDrawbackReductionArmor
#
# Used by:
# Skill: Armor Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level
Expand Down
4 changes: 4 additions & 0 deletions eos/effects/rigdrawbackreductionastronautics.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# rigDrawbackReductionAstronautics
#
# Used by:
# Skill: Astronautics Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level
Expand Down
4 changes: 4 additions & 0 deletions eos/effects/rigdrawbackreductiondrones.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# rigDrawbackReductionDrones
#
# Used by:
# Skill: Drones Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level
Expand Down
4 changes: 4 additions & 0 deletions eos/effects/rigdrawbackreductionelectronic.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# rigDrawbackReductionElectronic
#
# Used by:
# Skill: Electronic Superiority Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level
Expand Down
4 changes: 4 additions & 0 deletions eos/effects/rigdrawbackreductionenergyweapon.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# rigDrawbackReductionEnergyWeapon
#
# Used by:
# Skill: Energy Weapon Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level
Expand Down
4 changes: 4 additions & 0 deletions eos/effects/rigdrawbackreductionhybrid.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# rigDrawbackReductionHybrid
#
# Used by:
# Skill: Hybrid Weapon Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level
Expand Down
4 changes: 4 additions & 0 deletions eos/effects/rigdrawbackreductionlauncher.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# rigDrawbackReductionLauncher
#
# Used by:
# Skill: Launcher Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level
Expand Down
4 changes: 4 additions & 0 deletions eos/effects/rigdrawbackreductionprojectile.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# rigDrawbackReductionProjectile
#
# Used by:
# Skill: Projectile Weapon Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level
Expand Down
4 changes: 4 additions & 0 deletions eos/effects/rigdrawbackreductionshield.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# rigDrawbackReductionShield
#
# Used by:
# Skill: Shield Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level
Expand Down
2 changes: 1 addition & 1 deletion eos/effects/scanstrengthbonuspercentpassive.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# scanStrengthBonusPercentPassive
#
# Used by:
# Implants named like: High grade (20 of 60)
# Implants named like: High grade (20 of 61)
type = "passive"
def handler(fit, implant, context):
for type in ("Gravimetric", "Magnetometric", "Radar", "Ladar"):
Expand Down
2 changes: 1 addition & 1 deletion eos/effects/shieldcapacitybonusonline.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# shieldCapacityBonusOnline
#
# Used by:
# Modules from group: Shield Resistance Amplifier (88 of 88)
# Modules from group: Shield Extender (33 of 33)
# Modules from group: Shield Resistance Amplifier (88 of 88)
type = "passive"
def handler(fit, module, context):
fit.ship.increaseItemAttr("shieldCapacity", module.getModifiedItemAttr("capacityBonus"))
4 changes: 3 additions & 1 deletion eos/effects/shipadvancedspaceshipcommandagilitybonus.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# shipAdvancedSpaceshipCommandAgilityBonus
#
# Used by:
# Items from market group: Ships > Capital Ships (31 of 32)
# Ships from group: Dreadnought (5 of 5)
# Ships from group: Titan (5 of 5)
# Items from market group: Ships > Capital Ships (32 of 33)
type = "passive"
def handler(fit, ship, context):
skillName = "Advanced Spaceship Command"
Expand Down
1 change: 1 addition & 0 deletions eos/effects/shipbonusdreadnoughtg2rofbonus.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Ship: Moros
# Ship: Vehement
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"), "speed", src.getModifiedItemAttr("shipBonusDreadnoughtG2"), skill="Gallente Dreadnought")
4 changes: 4 additions & 0 deletions eos/effects/shipbonusdreadnoughtm1webbonus.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# shipBonusDreadnoughtM1WebBonus
#
# Used by:
# Ship: Vehement
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web", "speedFactor", src.getModifiedItemAttr("shipBonusDreadnoughtM1"), skill="Minmatar Dreadnought")
2 changes: 1 addition & 1 deletion eos/effects/shipbonusdreadnoughtrole1damagebonus.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# shipBonusDreadnoughtRole1DamageBonus
#
# Used by:
# Ship: Vehement (used to be used by Naglfar)
# Ship: Vehement
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"),
Expand Down
1 change: 1 addition & 0 deletions eos/effects/shipbonussupercarrierg1fighterdamage.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Ship: Nyx
# Ship: Vendetta
type = "passive"
def handler(fit, src, context):
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "fighterAbilityAttackTurretDamageMultiplier", src.getModifiedItemAttr("shipBonusSupercarrierG1"), skill="Gallente Carrier")
Expand Down
1 change: 1 addition & 0 deletions eos/effects/shipbonussupercarrierg2fighterhitpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Ship: Nyx
# Ship: Vendetta
type = "passive"
def handler(fit, src, context):
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "shieldCapacity", src.getModifiedItemAttr("shipBonusSupercarrierG2"), skill="Gallente Carrier")
1 change: 1 addition & 0 deletions eos/effects/shipbonussupercarrierg3warpstrength.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Ship: Nyx
# Ship: Vendetta
type = "passive"
def handler(fit, src, context):
fit.ship.increaseItemAttr("warpScrambleStatus", src.getModifiedItemAttr("shipBonusSupercarrierG3"), skill="Gallente Carrier")
5 changes: 5 additions & 0 deletions eos/effects/shipbonussupercarrierm1burstprojectorwebbonus.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# shipBonusSupercarrierM1BurstProjectorWebBonus
#
# Used by:
# Ship: Hel
# Ship: Vendetta
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Burst Projector Operation"), "speedFactor", src.getModifiedItemAttr("shipBonusSupercarrierM1"), skill="Minmatar Carrier")
1 change: 1 addition & 0 deletions eos/effects/shipbonussupercarrierm2fightervelocity.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Ship: Hel
# Ship: Vendetta
type = "passive"
def handler(fit, src, context):
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "maxVelocity", src.getModifiedItemAttr("shipBonusSupercarrierM2"), skill="Minmatar Carrier")
1 change: 1 addition & 0 deletions eos/effects/shipbonussupercarrierm3warpstrength.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Ship: Hel
# Ship: Vendetta
type = "passive"
def handler(fit, src, context):
fit.ship.increaseItemAttr("warpScrambleStatus", src.getModifiedItemAttr("shipBonusSupercarrierM3"), skill="Minmatar Carrier")
2 changes: 1 addition & 1 deletion eos/effects/shipbonussupercarrierrole1numwarfarelinks.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# shipBonusSupercarrierRole1NumWarfareLinks
#
# Used by:
# Ships from group: Supercarrier (5 of 5)
# Ships from group: Supercarrier (6 of 6)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemIncrease(lambda mod: mod.item.requiresSkill("Leadership"), "maxGroupActive", src.getModifiedItemAttr("shipBonusRole1"))
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# shipBonusSupercarrierRole2ArmorShieldModuleBonus
#
# Used by:
# Ships from group: Supercarrier (5 of 5)
# Ships from group: Supercarrier (6 of 6)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Hull Upgrades"), "armorHPBonusAdd", src.getModifiedItemAttr("shipBonusRole2"))
Expand Down
1 change: 1 addition & 0 deletions eos/effects/shipbonustitang2rofbonus.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Ship: Erebus
# Ship: Vanquisher
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"), "speed", src.getModifiedItemAttr("shipBonusTitanG2"), skill="Gallente Titan")
1 change: 1 addition & 0 deletions eos/effects/shipbonustitang3warpstrength.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Ship: Erebus
# Ship: Vanquisher
type = "passive"
def handler(fit, src, context):
fit.ship.increaseItemAttr("warpScrambleStatus", src.getModifiedItemAttr("shipBonusTitanG3"), skill="Gallente Titan")
4 changes: 4 additions & 0 deletions eos/effects/shipbonustitanm1webbonus.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# shipBonusTitanM1WebBonus
#
# Used by:
# Ship: Vanquisher
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web", "speedFactor", src.getModifiedItemAttr("shipBonusTitanM1"), skill="Minmatar Titan")
1 change: 1 addition & 0 deletions eos/effects/shipbonustitanm3warpstrength.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Used by:
# Ship: Ragnarok
# Ship: Vanquisher
type = "passive"
def handler(fit, src, context):
fit.ship.increaseItemAttr("warpScrambleStatus", src.getModifiedItemAttr("shipBonusTitanM3"), skill="Minmatar Titan")
2 changes: 1 addition & 1 deletion eos/effects/shipbonustitanrole1numwarfarelinks.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# shipBonusTitanRole1NumWarfareLinks
#
# Used by:
# Ships from group: Titan (4 of 4)
# Ships from group: Titan (5 of 5)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemIncrease(lambda mod: mod.item.requiresSkill("Leadership"), "maxGroupActive", src.getModifiedItemAttr("shipBonusRole1"))
2 changes: 1 addition & 1 deletion eos/effects/shipbonustitanrole2armorshieldmodulebonus.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# shipBonusTitanRole2ArmorShieldModuleBonus
#
# Used by:
# Ships from group: Titan (4 of 4)
# Ships from group: Titan (5 of 5)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Hull Upgrades"), "armorHPBonusAdd", src.getModifiedItemAttr("shipBonusRole2"))
Expand Down
4 changes: 4 additions & 0 deletions eos/effects/shipbonustitanrole3damagebonus.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# shipBonusTitanRole3DamageBonus
#
# Used by:
# Ship: Vanquisher
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"), "damageMultiplier", src.getModifiedItemAttr("shipBonusRole3"))
8 changes: 6 additions & 2 deletions eos/effects/shipcapitalagilitybonus.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# shipCapitalAgilityBonus
#
# Used by:
# Ships from group: Supercarrier (5 of 5)
# Items from market group: Ships > Capital Ships (22 of 32)
# Ships from group: Carrier (4 of 4)
# Ships from group: Dreadnought (5 of 5)
# Ships from group: Force Auxiliary (4 of 4)
# Ships from group: Supercarrier (6 of 6)
# Ships from group: Titan (5 of 5)
# Ship: Rorqual
type = "passive"
def handler(fit, src, context):
fit.ship.multiplyItemAttr("agility", src.getModifiedItemAttr("advancedCapitalAgility"), stackingPenalties=True)

0 comments on commit 7831999

Please sign in to comment.