Add support for unshackled upgrades (#1086)

This commit is contained in:
domoddball
2022-06-03 06:19:06 -04:00
committed by GitHub
parent 9bfb8a44f9
commit fdcbbd7ab2
10 changed files with 19 additions and 11 deletions

View File

@@ -1,8 +1,7 @@
import SimAuraMult from './SimAuraMult';
/**
* This function calculates the sell multiplier based on current "sim data"
* It is called by CM.Sim.BuildingSell()
* This functions creates functions similarly to Game.getSellMultiplier but checks Sim Data instead of Game Data
* @returns {number} giveBack The multiplier
*/
export default function SimGetSellMultiplier() {