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 Nov 3, 2023
1 parent b718711 commit b9e714f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/const/world/difficulty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export const DIFFICULTY = {
BUILDING_TOWER_FIRE_RADIUS: 150, // Attack radius
BUILDING_TOWER_FIRE_RADIUS_GROWTH: 0.15, // Radius growth by level (Linear)
BUILDING_TOWER_FIRE_DELAY: 1400, // Pause between attacks
BUILDING_TOWER_FIRE_DELAY_GROWTH: -0.12, // Pause growth by level (Linear)
BUILDING_TOWER_FIRE_DELAY_GROWTH: -0.11, // Pause growth by level (Linear)
BUILDING_TOWER_FIRE_DAMAGE: 45, // Attack damage
BUILDING_TOWER_FIRE_SHOT_SPEED: 300, // Shot speed

Expand All @@ -152,7 +152,7 @@ export const DIFFICULTY = {
BUILDING_TOWER_FROZEN_RADIUS: 130, // Freeze radius
BUILDING_TOWER_FROZEN_RADIUS_GROWTH: 0.15, // Radius growth by level (Linear)
BUILDING_TOWER_FROZEN_DELAY: 1400, // Pause between freezes
BUILDING_TOWER_FROZEN_DELAY_GROWTH: -0.12, // Pause growth by level (Linear)
BUILDING_TOWER_FROZEN_DELAY_GROWTH: -0.11, // Pause growth by level (Linear)
BUILDING_TOWER_FROZEN_FREEZE_DURATION: 800, // Freeze duration
BUILDING_TOWER_FROZEN_SHOT_SPEED: 300, // Shot speed

Expand Down
2 changes: 1 addition & 1 deletion src/game/scenes/world/entities/shot/ball/ball.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class ShotBall extends Phaser.Physics.Arcade.Image implements IShotBall {
}

public shoot(target: IEnemy, params?: ShotParams) {
if (!this.initiator) {
if (!this.initiator || this.active) {
return;
}

Expand Down

0 comments on commit b9e714f

Please sign in to comment.