more fixes
This commit is contained in:
@@ -1,17 +1,3 @@
|
||||
# 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
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Leadership"), "maxRange", src.getModifiedItemAttr("roleBonusCommandBurstAoERange"), stackingPenalties=True)
|
||||
|
||||
@@ -4,7 +4,5 @@
|
||||
# Ship: Orca
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.ship.boostItemAttr("capacity", ship.getModifiedItemAttr("shipOrcaCargoBonusOrca1"),
|
||||
skill="Industrial Command Ships")
|
||||
pass
|
||||
|
||||
@@ -6,6 +6,4 @@ type = "passive"
|
||||
|
||||
|
||||
def handler(fit, ship, context):
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining Director"),
|
||||
"commandBonus", ship.getModifiedItemAttr("shipOrcaForemanBonus"),
|
||||
skill="Industrial Command Ships")
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user