Skip to content

Commit

Permalink
Updated game balance
Browse files Browse the repository at this point in the history
  • Loading branch information
neki-dev committed Oct 11, 2023
1 parent e5e474c commit 24c7eba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/const/world/difficulty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,6 @@ export const DIFFICULTY = {
BUILDING_BOOSTER_HEALTH: 300, // Health
BUILDING_BOOSTER_RADIUS: 80, // Increase radius
BUILDING_BOOSTER_RADIUS_GROWTH: 0.2, // Radius growth by level (Linear)
BUILDING_BOOSTER_POWER: 15, // Power multiplier
BUILDING_BOOSTER_POWER: 10, // Power multiplier
BUILDING_BOOSTER_POWER_GROWTH: 1.0, // Multiplier growth by level (Linear)
};
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ export class EnemyExplosive extends Enemy {
const distance = getIsometricDistance(position, target.getPositionOnGround());

if (distance < radius) {
const damageByDistance = this.damage * (1 - (distance / radius));

target.live.damage(damageByDistance);
target.live.damage(this.damage);
}
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class EnemyTermer extends Enemy {
...data,
texture: EnemyTexture.TERMER,
multipliers: {
health: 1.5,
health: 1.7,
damage: 1.1,
speed: 0.8,
},
Expand Down

0 comments on commit 24c7eba

Please sign in to comment.