Should be all the Rorq and Orca effects.
This commit is contained in:
@@ -13,6 +13,6 @@ def handler(fit, ship, context):
|
||||
"Command Burst",
|
||||
),
|
||||
"maxGroupOnline",
|
||||
ship.getModifiedItemAttr("shipBonusICS2"),
|
||||
ship.getModifiedItemAttr("maxGangModules"),
|
||||
)
|
||||
# TODO: test
|
||||
|
||||
@@ -8,3 +8,17 @@ def handler(fit, module, context):
|
||||
fit.extraAttributes["siege"] = True
|
||||
fit.ship.boostItemAttr("maxVelocity", module.getModifiedItemAttr("speedFactor"))
|
||||
fit.ship.multiplyItemAttr("mass", module.getModifiedItemAttr("siegeMassMultiplier"))
|
||||
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Shield Command",
|
||||
),
|
||||
"warfareBuff4Value",
|
||||
src.getModifiedItemAttr("shipBonusORECapital3"),
|
||||
skill="Capital Industrial Ships",
|
||||
)
|
||||
|
||||
@@ -6,25 +6,69 @@ 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",
|
||||
)
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Mining Foreman",
|
||||
),
|
||||
"buffDuration",
|
||||
src.getModifiedItemAttr("shipBonusICS2"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Mining Foreman",
|
||||
),
|
||||
"warfareBuff1Value",
|
||||
src.getModifiedItemAttr("shipBonusICS2"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Mining Foreman",
|
||||
),
|
||||
"warfareBuff2Value",
|
||||
src.getModifiedItemAttr("shipBonusICS2"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Mining Foreman",
|
||||
),
|
||||
"warfareBuff3Value",
|
||||
src.getModifiedItemAttr("shipBonusICS2"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Mining Foreman",
|
||||
),
|
||||
"warfareBuff4Value",
|
||||
src.getModifiedItemAttr("shipBonusICS2"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
|
||||
# TODO: test
|
||||
|
||||
70
eos/effects/miningforemanburstbonusorecapital2.py
Normal file
70
eos/effects/miningforemanburstbonusorecapital2.py
Normal file
@@ -0,0 +1,70 @@
|
||||
# Mining Command Boost
|
||||
#
|
||||
# Used by:
|
||||
# Orca
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Mining Foreman",
|
||||
),
|
||||
"buffDuration",
|
||||
src.getModifiedItemAttr("shipBonusORECapital2"),
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Mining Foreman",
|
||||
),
|
||||
"warfareBuff1Value",
|
||||
src.getModifiedItemAttr("shipBonusORECapital2"),
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Mining Foreman",
|
||||
),
|
||||
"warfareBuff2Value",
|
||||
src.getModifiedItemAttr("shipBonusORECapital2"),
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Mining Foreman",
|
||||
),
|
||||
"warfareBuff3Value",
|
||||
src.getModifiedItemAttr("shipBonusORECapital2"),
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Mining Foreman",
|
||||
),
|
||||
"warfareBuff4Value",
|
||||
src.getModifiedItemAttr("shipBonusORECapital2"),
|
||||
skill="Capital Industrial Ships",
|
||||
)
|
||||
|
||||
# TODO: test
|
||||
@@ -1,30 +1,70 @@
|
||||
# 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",
|
||||
)
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Shield Command",
|
||||
),
|
||||
"buffDuration",
|
||||
src.getModifiedItemAttr("shipBonusICS3"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Shield Command",
|
||||
),
|
||||
"warfareBuff1Value",
|
||||
src.getModifiedItemAttr("shipBonusICS3"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Shield Command",
|
||||
),
|
||||
"warfareBuff2Value",
|
||||
src.getModifiedItemAttr("shipBonusICS3"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Shield Command",
|
||||
),
|
||||
"warfareBuff3Value",
|
||||
src.getModifiedItemAttr("shipBonusICS3"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Shield Command"
|
||||
),
|
||||
"warfareBuff4Value",
|
||||
src.getModifiedItemAttr("shipBonusICS3"),
|
||||
skill="Industrial Command Ships",
|
||||
)
|
||||
|
||||
# TODO: test
|
||||
|
||||
70
eos/effects/shieldcommandburstbonusorecapital3.py
Normal file
70
eos/effects/shieldcommandburstbonusorecapital3.py
Normal file
@@ -0,0 +1,70 @@
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, src, context):
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Shield Command",
|
||||
),
|
||||
"buffDuration",
|
||||
src.getModifiedItemAttr("shipBonusORECapital3"),
|
||||
skill="Capital Industrial Ships",
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Shield Command",
|
||||
),
|
||||
"warfareBuff1Value",
|
||||
src.getModifiedItemAttr("shipBonusORECapital3"),
|
||||
skill="Capital Industrial Ships",
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Shield Command",
|
||||
),
|
||||
"warfareBuff2Value",
|
||||
src.getModifiedItemAttr("shipBonusORECapital3"),
|
||||
skill="Capital Industrial Ships",
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Shield Command",
|
||||
),
|
||||
"warfareBuff3Value",
|
||||
src.getModifiedItemAttr("shipBonusORECapital3"),
|
||||
skill="Capital Industrial Ships",
|
||||
)
|
||||
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
|
||||
(
|
||||
"Command Burst",
|
||||
) and
|
||||
mod.item.requiresSkill in
|
||||
(
|
||||
"Shield Command",
|
||||
),
|
||||
"warfareBuff4Value",
|
||||
src.getModifiedItemAttr("shipBonusORECapital3"),
|
||||
skill="Capital Industrial Ships",
|
||||
)
|
||||
|
||||
# TODO: test
|
||||
39
eos/effects/shipbonusdronehpdamageminingorecapital4.py
Normal file
39
eos/effects/shipbonusdronehpdamageminingorecapital4.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("shipBonusORECapital4"),
|
||||
skill="Capital Industrial Ships"
|
||||
)
|
||||
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),
|
||||
"shieldCapacity",
|
||||
src.getModifiedItemAttr("shipBonusORECapital4"),
|
||||
skill="Capital Industrial Ships"
|
||||
)
|
||||
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),
|
||||
"armorHP",
|
||||
src.getModifiedItemAttr("shipBonusORECapital4"),
|
||||
skill="Capital Industrial Ships"
|
||||
)
|
||||
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),
|
||||
"hp",
|
||||
src.getModifiedItemAttr("shipBonusORECapital4"),
|
||||
skill="Capital Industrial Ships"
|
||||
)
|
||||
|
||||
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Mining Drone Operation"),
|
||||
"miningAmount",
|
||||
src.getModifiedItemAttr("shipBonusORECapital4"),
|
||||
skill="Capital Industrial Ships"
|
||||
)
|
||||
|
||||
# TODO: test
|
||||
15
eos/effects/shipbonusdroneiceharvestingorecapital5.py
Normal file
15
eos/effects/shipbonusdroneiceharvestingorecapital5.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("shipBonusORECapital5"),
|
||||
skill="Capital Industrial Ships"
|
||||
)
|
||||
|
||||
# TODO: test
|
||||
Reference in New Issue
Block a user