Skip to content

Commit

Permalink
Updated 'Laserbot' damage
Browse files Browse the repository at this point in the history
  • Loading branch information
neki-dev committed Nov 3, 2023
1 parent 83dffaf commit 874f003
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/game/scenes/world/entities/npc/variants/assistant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { DIFFICULTY } from '~const/world/difficulty';
import { ASSISTANT_PATH_BREAKPOINT, ASSISTANT_TILE_SIZE, ASSISTANT_WEAPON } from '~const/world/entities/assistant';
import { NPC } from '~entity/npc';
import { ShotBallFire } from '~entity/shot/ball/variants/fire';
import { ShotLazer } from '~entity/shot/lazer';
import { Assets } from '~lib/assets';
import { getClosestByIsometricDistance, getIsometricDistance } from '~lib/dimension';
import { progressionQuadratic } from '~lib/progression';
Expand Down Expand Up @@ -182,7 +183,7 @@ export class Assistant extends NPC implements IAssistant {
damage:
this.shotDefaultParams.damage
&& progressionQuadratic({
defaultValue: this.shotDefaultParams.damage,
defaultValue: this.shotDefaultParams.damage * (this.shot instanceof ShotLazer ? 1.5 : 1.0),
scale: DIFFICULTY.ASSISTANT_ATTACK_DAMAGE_GROWTH,
level: this.owner.upgradeLevel[PlayerSkill.ATTACK_DAMAGE],
}),
Expand Down

0 comments on commit 874f003

Please sign in to comment.