Skip to content

Commit

Permalink
Balance drop chance
Browse files Browse the repository at this point in the history
  • Loading branch information
Casmo committed Aug 21, 2015
1 parent f8534ae commit 460c930
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/BreakOut.Brick.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ BreakOut.Brick = function (settings) {
* Drop chance in percent
* @type {number}
*/
this.dropChance = 12;
this.dropChance = 5;
};

BreakOut.Brick.prototype = Object.create(BreakOut.Element.prototype);
Expand Down
1 change: 1 addition & 0 deletions src/BreakOut.BrickColorOrange.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ BreakOut.BrickColorOrange = function (settings) {
'brick-color-orange.png'
];
this.score = 20;
this.dropChance = 100;
};

BreakOut.BrickColorOrange.prototype = Object.create(BreakOut.Brick.prototype);
1 change: 1 addition & 0 deletions src/BreakOut.BrickColorPurple.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ BreakOut.BrickColorPurple = function (settings) {
'brick-color-purple.png'
];
this.score = 20;
this.dropChance = 100;
};

BreakOut.BrickColorPurple.prototype = Object.create(BreakOut.Brick.prototype);
1 change: 1 addition & 0 deletions src/BreakOut.BrickColorRed.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ BreakOut.BrickColorRed = function (settings) {
'brick-color-red.png'
];
this.score = 20;
this.dropChance = 100;
};

BreakOut.BrickColorRed.prototype = Object.create(BreakOut.Brick.prototype);

0 comments on commit 460c930

Please sign in to comment.