Merge remote-tracking branch 'origin/master' into citadel
Conflicts: config.py
This commit is contained in:
8
eos/effects/armorrepairamountbonussubcap.py
Normal file
8
eos/effects/armorrepairamountbonussubcap.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# armorRepairAmountBonusSubcap
|
||||
#
|
||||
# Used by:
|
||||
# Implants named like: Grade Asklepian (15 of 16)
|
||||
type = "passive"
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"),
|
||||
"armorDamageAmount", src.getModifiedItemAttr("armorRepairBonus"))
|
||||
10
eos/effects/setbonusasklepian.py
Normal file
10
eos/effects/setbonusasklepian.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# setBonusAsklepian
|
||||
#
|
||||
# Used by:
|
||||
# Implants named like: Asklepian Omega (3 of 3)
|
||||
# Implants named like: Grade Asklepian (16 of 16)
|
||||
runTime = "early"
|
||||
type = "passive"
|
||||
def handler(fit, src, context):
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Cybernetics"),
|
||||
"armorRepairBonus", src.getModifiedItemAttr("implantSetSerpentis2"))
|
||||
@@ -5,5 +5,5 @@
|
||||
runTime = "early"
|
||||
type = "passive"
|
||||
def handler(fit, implant, context):
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Cyberimplant",
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Special Edition Implant",
|
||||
"agilityBonus", implant.getModifiedItemAttr("implantSetChristmas"))
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
runTime = "early"
|
||||
type = "passive"
|
||||
def handler(fit, implant, context):
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Cyberimplant",
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Special Edition Implant",
|
||||
"armorHpBonus2", implant.getModifiedItemAttr("implantSetChristmas"))
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
runTime = "early"
|
||||
type = "passive"
|
||||
def handler(fit, implant, context):
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Cyberimplant",
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Special Edition Implant",
|
||||
"implantBonusVelocity", implant.getModifiedItemAttr("implantSetChristmas"))
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
runTime = "early"
|
||||
type = "passive"
|
||||
def handler(fit, implant, context):
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Cyberimplant",
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Special Edition Implant",
|
||||
"capacitorCapacityBonus", implant.getModifiedItemAttr("implantSetChristmas"))
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
runTime = "early"
|
||||
type = "passive"
|
||||
def handler(fit, implant, context):
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Cyberimplant",
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Special Edition Implant",
|
||||
"capRechargeBonus", implant.getModifiedItemAttr("implantSetChristmas"))
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
runTime = "early"
|
||||
type = "passive"
|
||||
def handler(fit, implant, context):
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Cyberimplant",
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Special Edition Implant",
|
||||
"cpuOutputBonus2", implant.getModifiedItemAttr("implantSetChristmas"))
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
runTime = "early"
|
||||
type = "passive"
|
||||
def handler(fit, implant, context):
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Cyberimplant",
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Special Edition Implant",
|
||||
"powerEngineeringOutputBonus", implant.getModifiedItemAttr("implantSetChristmas"))
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
runTime = "early"
|
||||
type = "passive"
|
||||
def handler(fit, implant, context):
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Cyberimplant",
|
||||
fit.appliedImplants.filteredItemMultiply(lambda mod: mod.item.group.name == "Special Edition Implant",
|
||||
"shieldCapacityBonus", implant.getModifiedItemAttr("implantSetChristmas"))
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
runTime = "early"
|
||||
type = ("projected", "passive")
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Remote Armor Repairer",
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"),
|
||||
"armorDamageAmount", module.getModifiedItemAttr("armorDamageAmountMultiplierRemote"),
|
||||
stackingPenalties=True)
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
runTime = "early"
|
||||
type = ("projected", "passive")
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Armor Repair Unit",
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Repair Systems")
|
||||
or mod.item.requiresSkill("Capital Repair Systems"),
|
||||
"armorDamageAmount", module.getModifiedItemAttr("armorDamageAmountMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
runTime = "early"
|
||||
type = ("projected", "passive")
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Remote Shield Booster",
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Shield Emission Systems"),
|
||||
"shieldBonus", module.getModifiedItemAttr("shieldBonusMultiplierRemote"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
runTime = "early"
|
||||
type = ("projected", "passive")
|
||||
def handler(fit, module, context):
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Shield Operation") or mod.item.requiresSkill("Capital Shield Operation"),
|
||||
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Shield Operation")
|
||||
or mod.item.requiresSkill("Capital Shield Operation"),
|
||||
"shieldBonus", module.getModifiedItemAttr("shieldBonusMultiplier"),
|
||||
stackingPenalties=True, penaltyGroup="postMul")
|
||||
|
||||
@@ -104,3 +104,8 @@ class Implant(HandledItem, ItemAttrShortcut):
|
||||
copy = Implant(self.item)
|
||||
copy.active = self.active
|
||||
return copy
|
||||
|
||||
def __repr__(self):
|
||||
return "Implant(ID={}, name={}) at {}".format(
|
||||
self.item.ID, self.item.name, hex(id(self))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user