Effects used by Orca
first pass
This commit is contained in:
15
eos/effects/cargoandoreholdcapacitybonusics1.py
Normal file
15
eos/effects/cargoandoreholdcapacitybonusics1.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# cargoCapacityMultiply
|
||||
#
|
||||
# Used by:
|
||||
# Orca
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.ship.boostItemAttr("specialOreHoldCapacity",
|
||||
src.getModifiedItemAttr("shipBonusICS1"),
|
||||
skill="Industrial Command Ships")
|
||||
|
||||
fit.ship.boostItemAttr("capacity",
|
||||
src.getModifiedItemAttr("shipBonusICS1"),
|
||||
skill="Industrial Command Ships")
|
||||
17
eos/effects/commandburstaoerolebonus.py
Normal file
17
eos/effects/commandburstaoerolebonus.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# Command Burst AOE Bonus
|
||||
#
|
||||
# Used by:
|
||||
# Orca
|
||||
type = "passive"
|
||||
|
||||
|
||||
# TODO: this isn't applying correctly :(
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
),
|
||||
"maxRange",
|
||||
src.getModifiedItemAttr("roleBonusCommandBurstAoERange"),
|
||||
)
|
||||
# TODO: test
|
||||
@@ -5,6 +5,14 @@
|
||||
# Ship: Orca
|
||||
# Ship: Rorqual
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator",
|
||||
"maxGroupActive", ship.getModifiedItemAttr("maxGangModules"))
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
),
|
||||
"maxGroupOnline",
|
||||
ship.getModifiedItemAttr("shipBonusICS2"),
|
||||
)
|
||||
# TODO: test
|
||||
|
||||
14
eos/effects/industrialbonusdronedamage.py
Normal file
14
eos/effects/industrialbonusdronedamage.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# Drone damage bonus
|
||||
#
|
||||
# Used by:
|
||||
# Orca
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),
|
||||
"damageMultiplier",
|
||||
src.getModifiedItemAttr("industrialBonusDroneDamage"),
|
||||
)
|
||||
|
||||
# TODO: test
|
||||
30
eos/effects/miningforemanburstbonusics2.py
Normal file
30
eos/effects/miningforemanburstbonusics2.py
Normal file
@@ -0,0 +1,30 @@
|
||||
# Mining Command Boost
|
||||
#
|
||||
# Used by:
|
||||
# Orca
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.ship.boostItemAttr("buffDuration",
|
||||
src.getModifiedItemAttr("shipBonusICS2"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
fit.ship.boostItemAttr("warfareBuff1Value",
|
||||
src.getModifiedItemAttr("shipBonusICS2"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
fit.ship.boostItemAttr("warfareBuff2Value",
|
||||
src.getModifiedItemAttr("shipBonusICS2"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
fit.ship.boostItemAttr("warfareBuff3Value",
|
||||
src.getModifiedItemAttr("shipBonusICS2"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
fit.ship.boostItemAttr("warfareBuff4Value",
|
||||
src.getModifiedItemAttr("shipBonusICS2"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
|
||||
# TODO: test
|
||||
30
eos/effects/shieldcommandburstbonusics3.py
Normal file
30
eos/effects/shieldcommandburstbonusics3.py
Normal file
@@ -0,0 +1,30 @@
|
||||
# Shield Command Boost
|
||||
#
|
||||
# Used by:
|
||||
# Orca
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.ship.boostItemAttr("buffDuration",
|
||||
src.getModifiedItemAttr("shipBonusICS3"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
fit.ship.boostItemAttr("warfareBuff1Value",
|
||||
src.getModifiedItemAttr("shipBonusICS3"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
fit.ship.boostItemAttr("warfareBuff2Value",
|
||||
src.getModifiedItemAttr("shipBonusICS3"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
fit.ship.boostItemAttr("warfareBuff3Value",
|
||||
src.getModifiedItemAttr("shipBonusICS3"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
fit.ship.boostItemAttr("warfareBuff4Value",
|
||||
src.getModifiedItemAttr("shipBonusICS3"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
|
||||
# TODO: test
|
||||
39
eos/effects/shipbonusdronehpdamageminingics4.py
Normal file
39
eos/effects/shipbonusdronehpdamageminingics4.py
Normal file
@@ -0,0 +1,39 @@
|
||||
# Drone hitpoints, damage, and mining yield
|
||||
#
|
||||
# Used by:
|
||||
# Orca
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),
|
||||
"damageMultiplier",
|
||||
src.getModifiedItemAttr("shipBonusICS4"),
|
||||
skill="Industrial Command Ships"
|
||||
)
|
||||
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),
|
||||
"shieldCapacity",
|
||||
src.getModifiedItemAttr("shipBonusICS4"),
|
||||
skill="Industrial Command Ships"
|
||||
)
|
||||
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),
|
||||
"armorHP",
|
||||
src.getModifiedItemAttr("shipBonusICS4"),
|
||||
skill="Industrial Command Ships"
|
||||
)
|
||||
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),
|
||||
"hp",
|
||||
src.getModifiedItemAttr("shipBonusICS4"),
|
||||
skill="Industrial Command Ships"
|
||||
)
|
||||
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Mining Drone Operation"),
|
||||
"miningAmount",
|
||||
src.getModifiedItemAttr("shipBonusICS4"),
|
||||
skill="Industrial Command Ships"
|
||||
)
|
||||
|
||||
# TODO: test
|
||||
15
eos/effects/shipbonusdroneiceharvestingics5.py
Normal file
15
eos/effects/shipbonusdroneiceharvestingics5.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# Ice Harvesting Drone Duration
|
||||
#
|
||||
# Used by:
|
||||
# Orca
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Ice Harvesting Drone Operation"),
|
||||
"duration",
|
||||
src.getModifiedItemAttr("shipBonusICS5"),
|
||||
skill="Industrial Command Ships"
|
||||
)
|
||||
|
||||
# TODO: test
|
||||
14
eos/effects/shipbonusdroneiceharvestingrole.py
Normal file
14
eos/effects/shipbonusdroneiceharvestingrole.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# Ice Harvesting Drone Duration
|
||||
#
|
||||
# Used by:
|
||||
# Orca
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Ice Harvesting Drone Operation"),
|
||||
"duration",
|
||||
src.getModifiedItemAttr("roleBonusDroneIceHarvestingSpeed")
|
||||
)
|
||||
|
||||
# TODO: test
|
||||
14
eos/effects/shipbonusdroneminingamountrole.py
Normal file
14
eos/effects/shipbonusdroneminingamountrole.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# Drone hitpoints, damage, and mining yield
|
||||
#
|
||||
# Used by:
|
||||
# Orca
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Mining Drone Operation"),
|
||||
"miningAmount",
|
||||
src.getModifiedItemAttr("roleBonusDroneMiningYield"),
|
||||
)
|
||||
|
||||
# TODO: test
|
||||
Reference in New Issue
Block a user