Apply command burst skills to the bursts and charges. Handle renamed items.

This commit is contained in:
blitzman
2016-10-23 02:34:29 -04:00
parent 50911c7fc8
commit 34c95bea5d
69 changed files with 144 additions and 78 deletions

View File

@@ -1,9 +1,9 @@
# informationSquadronCommandHidden
#
# Used by:
# Skill: Information Warfare Specialist
# Skill: Information Command Specialist
runTime = "early"
type = "passive"
def handler(fit, skill, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Warfare Specialist"),
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command Specialist"),
"commandBonusHidden", skill.getModifiedItemAttr("squadronCommandBonus") * skill.level)