Browse Source

Update ui.js

Frills bonus was supposed to be 5% not 5x. This change makes it more in line with its price to buy.
pull/3/head
Zott820 11 years ago
parent
commit
5b0a60815c
  1. 2
      js/ui.js

2
js/ui.js

@ -958,7 +958,7 @@ function MarketItem( gameState, name, x, y, cost, mouseOutImg, mouseOverImg, mou
// if we bought a clock, enable it! // if we bought a clock, enable it!
if( that.name.indexOf("Alarm") != -1 ) gameState.alarmBought = true; if( that.name.indexOf("Alarm") != -1 ) gameState.alarmBought = true;
if( that.name.indexOf("Frills") != -1 ) gameState.frillsModifier = 5; if( that.name.indexOf("Frills") != -1 ) gameState.frillsModifier = 1.05;
if( that.name.indexOf("Exquisite") != -1 ){ gameState.stuffingTypeModifier = gameState.stuffingTypeModifier > 1.08 ? gameState.stuffingTypeModifier : 1.08; } if( that.name.indexOf("Exquisite") != -1 ){ gameState.stuffingTypeModifier = gameState.stuffingTypeModifier > 1.08 ? gameState.stuffingTypeModifier : 1.08; }
if( that.name.indexOf("Special") != -1 ){ gameState.stuffingTypeModifier = gameState.stuffingTypeModifier > 1.17 ? gameState.stuffingTypeModifier : 1.17; } if( that.name.indexOf("Special") != -1 ){ gameState.stuffingTypeModifier = gameState.stuffingTypeModifier > 1.17 ? gameState.stuffingTypeModifier : 1.17; }

Loading…
Cancel
Save