Skip to content

Commit

Permalink
fixed cash generation
Browse files Browse the repository at this point in the history
  • Loading branch information
GrimReaper2654 committed Feb 29, 2024
1 parent b3dbfbc commit 474c2c7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions game.js
Original file line number Diff line number Diff line change
Expand Up @@ -2258,7 +2258,7 @@ const data = {
type: 'tank',
unitType: 'jetSkibidiToilet',
hp: 8,
value: 100,
value: 1000,
alive: true,
hitbox: [
{
Expand Down Expand Up @@ -2948,7 +2948,7 @@ const data = {
type: 'tank',
unitType: 'laserSkibidiToilet',
hp: 3,
value: 100,
value: 300,
alive: true,
hitbox: [
{
Expand Down Expand Up @@ -3458,7 +3458,7 @@ const data = {
type: 'tank',
unitType: 'mgSkibidiToilet',
hp: 3,
value: 100,
value: 500,
alive: true,
hitbox: [
{
Expand Down Expand Up @@ -4137,7 +4137,7 @@ const data = {
},
template: {
player: {
money: 100000,
money: 0,
upgrades: [
{
display: 'Error Handling ',
Expand Down Expand Up @@ -6388,6 +6388,8 @@ function physics() {
entities[i].parts = handleShields(entities[i], entities[i].parts);
if (entities[i].alive) {
newEntities.push(entities[i]);
} else {
player.money += entities[i].value;
}
}
entities = newEntities;
Expand Down

0 comments on commit 474c2c7

Please sign in to comment.