Barge, freighter and phoenix changes
This commit is contained in:
6
eos/effects/dreadnoughtshipbonusshieldresistancesc2.py
Normal file
6
eos/effects/dreadnoughtshipbonusshieldresistancesc2.py
Normal file
@@ -0,0 +1,6 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Caldari Dreadnought").level
|
||||
for damageType in ("em", "thermal", "explosive", "kinetic"):
|
||||
fit.ship.boostItemAttr("shield{}DamageResonance".format(damageType.capitalize()),
|
||||
ship.getModifiedItemAttr("dreadnoughtShipBonusC2") * level)
|
||||
5
eos/effects/elitebargebonusminingdurationbarge2.py
Normal file
5
eos/effects/elitebargebonusminingdurationbarge2.py
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Exhumers").level
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining"),
|
||||
"duration", ship.getModifiedItemAttr("eliteBonusBarge2") * level)
|
||||
6
eos/effects/elitebargeshieldresistance1.py
Normal file
6
eos/effects/elitebargeshieldresistance1.py
Normal file
@@ -0,0 +1,6 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Exhumers").level
|
||||
for damageType in ("em", "thermal", "explosive", "kinetic"):
|
||||
fit.ship.boostItemAttr("shield{}DamageResonance".format(damageType.capitalize()),
|
||||
ship.getModifiedItemAttr("eliteBonusBarge1") * level)
|
||||
4
eos/effects/rolebonusbulkheadcpu.py
Normal file
4
eos/effects/rolebonusbulkheadcpu.py
Normal file
@@ -0,0 +1,4 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Reinforced Bulkhead",
|
||||
"cpu", ship.getModifiedItemAttr("cpuNeedBonus"))
|
||||
5
eos/effects/shipbonusminingdurationore3.py
Normal file
5
eos/effects/shipbonusminingdurationore3.py
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Mining Barge").level
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining"),
|
||||
"duration", ship.getModifiedItemAttr("shipBonusORE3") * level)
|
||||
5
eos/effects/shipbonusminingiceharvestingrangeore2.py
Normal file
5
eos/effects/shipbonusminingiceharvestingrangeore2.py
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "passive"
|
||||
def handler(fit, ship, context):
|
||||
level = fit.character.getSkill("Mining Barge").level
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining") or mod.item.requiresSkill("Ice Harvesting"),
|
||||
"maxRange", ship.getModifiedItemAttr("shipBonusORE2") * level)
|
||||
Reference in New Issue
Block a user