Reformatting all effect files for readability and better PEP8 compliance
This commit is contained in:
@@ -3,10 +3,12 @@
|
||||
# Used by:
|
||||
# Module: Command Processor I
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, module, context):
|
||||
#Note: we increase maxGroupActive by two.
|
||||
#If we only increased it by one, we'd get the number to stay equal
|
||||
#As Comman Processors use one themselves too
|
||||
# Note: we increase maxGroupActive by two.
|
||||
# If we only increased it by one, we'd get the number to stay equal
|
||||
# As Comman Processors use one themselves too
|
||||
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator" and \
|
||||
"maxGroupActive" in mod.itemModifiedAttributes,
|
||||
"maxGroupActive" in mod.itemModifiedAttributes,
|
||||
"maxGroupActive", 1)
|
||||
|
||||
Reference in New Issue
Block a user