Fix titan effects and issue in which all warefarebuffs may not get run (range too short). This should also shore up (#897)

This commit is contained in:
blitzman
2016-12-16 20:17:20 -05:00
parent d63627a37b
commit ee0c852ddb
7 changed files with 40 additions and 40 deletions

View File

@@ -10,7 +10,7 @@ which warfareBuffID to run (shouldn't need this right now, but better safe than
type = "active", "gang"
def handler(fit, module, context, **kwargs):
for x in xrange(1, 4):
for x in xrange(1, 5):
if module.getModifiedChargeAttr("warfareBuff{}ID".format(x)):
value = module.getModifiedItemAttr("warfareBuff{}Value".format(x))
id = module.getModifiedChargeAttr("warfareBuff{}ID".format(x))

View File

@@ -1,7 +1,7 @@
type = "active", "gang"
def handler(fit, module, context, **kwargs):
for x in xrange(1, 4):
for x in xrange(1, 5):
if module.getModifiedChargeAttr("warfareBuff{}ID".format(x)):
value = module.getModifiedItemAttr("warfareBuff{}Value".format(x))
id = module.getModifiedChargeAttr("warfareBuff{}ID".format(x))

View File

@@ -1,7 +1,7 @@
type = "active", "gang"
def handler(fit, module, context, **kwargs):
for x in xrange(1, 4):
for x in xrange(1, 5):
if module.getModifiedChargeAttr("warfareBuff{}ID".format(x)):
value = module.getModifiedItemAttr("warfareBuff{}Value".format(x))
id = module.getModifiedChargeAttr("warfareBuff{}ID".format(x))

View File

@@ -1,7 +1,7 @@
type = "active", "gang"
def handler(fit, module, context, **kwargs):
for x in xrange(1, 4):
for x in xrange(1, 5):
if module.getModifiedChargeAttr("warfareBuff{}ID".format(x)):
value = module.getModifiedItemAttr("warfareBuff{}Value".format(x))
id = module.getModifiedChargeAttr("warfareBuff{}ID".format(x))

View File

@@ -1,7 +1,7 @@
type = "active", "gang"
def handler(fit, module, context, **kwargs):
for x in xrange(1, 4):
for x in xrange(1, 5):
if module.getModifiedChargeAttr("warfareBuff{}ID".format(x)):
value = module.getModifiedItemAttr("warfareBuff{}Value".format(x))
id = module.getModifiedChargeAttr("warfareBuff{}ID".format(x))

View File

@@ -1,9 +1,9 @@
type = "active", "gang"
def handler(fit, module, context, **kwargs):
for x in xrange(1, 4):
if module.getModifiedChargeAttr("warfareBuff{}ID".format(x)):
for x in xrange(1, 5):
if module.getModifiedItemAttr("warfareBuff{}ID".format(x)):
value = module.getModifiedItemAttr("warfareBuff{}Value".format(x))
id = module.getModifiedChargeAttr("warfareBuff{}ID".format(x))
id = module.getModifiedItemAttr("warfareBuff{}ID".format(x))
if id:
fit.addCommandBonus(id, value, module, kwargs['effect'])