wrong index in tuple.
Array looks normally so:
(RunTime, Value, etc., etc.)
("normal", -10, ..., ...)
I guess "RunTime" got added and this is an artifact as it is rarely
called.
Fixes Orca-Mining-Boost onto itself and other ships.
This commit is contained in:
@@ -451,7 +451,7 @@ class Fit(object):
|
|||||||
# (abs is old method, ccp now provides the aggregate function in their data)
|
# (abs is old method, ccp now provides the aggregate function in their data)
|
||||||
print "Add command bonus: ", warfareBuffID, " - value: ", value
|
print "Add command bonus: ", warfareBuffID, " - value: ", value
|
||||||
|
|
||||||
if warfareBuffID not in self.commandBonuses or abs(self.commandBonuses[warfareBuffID][0]) < abs(value):
|
if warfareBuffID not in self.commandBonuses or abs(self.commandBonuses[warfareBuffID][1]) < abs(value):
|
||||||
self.commandBonuses[warfareBuffID] = (runTime, value, module, effect)
|
self.commandBonuses[warfareBuffID] = (runTime, value, module, effect)
|
||||||
|
|
||||||
def __runCommandBoosts(self, runTime="normal"):
|
def __runCommandBoosts(self, runTime="normal"):
|
||||||
|
|||||||
Reference in New Issue
Block a user