Ticket #3600: mult_operations_simple.patch
File mult_operations_simple.patch, 723 bytes (added by , 8 years ago) |
---|
-
ps/trunk/binaries/data/mods/public/globalscripts/Technologies.js
39 39 40 40 // Nothing is cumulative so that ordering doesn't matter as much as possible 41 41 if (modification.multiply) 42 retValue += (modification.multiply - 1) * propertyValue;42 retValue *= modification.multiply; 43 43 else if (modification.add) 44 44 retValue += modification.add; 45 45 else if (modification.replace !== undefined) // This will depend on ordering because there is no choice