diff --git a/package-lock.json b/package-lock.json index 0494d19d..9f773e18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "izowave", - "version": "1.18.4", + "version": "1.18.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "izowave", - "version": "1.18.4", + "version": "1.18.5", "license": "GNU", "dependencies": { "events": "3.3.0", diff --git a/package.json b/package.json index f4680577..3283640c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "izowave", "description": "Isometric game. Build and defense in open world", - "version": "1.18.4", + "version": "1.18.5", "keywords": [ "game", "isometric", diff --git a/src/const/world/difficulty.ts b/src/const/world/difficulty.ts index d0d13589..37e012f1 100644 --- a/src/const/world/difficulty.ts +++ b/src/const/world/difficulty.ts @@ -111,7 +111,7 @@ export const DIFFICULTY = { BUILDING_UPGRADE_EXPERIENCE_GROWTH: 0.75, // Experience growth by level (Linear) BUILDING_UPGRADE_COST_MULTIPLIER: 0.5, // Upgrade cost multiplier BUILDING_REPAIR_COST_MULTIPLIER: 0.75, // Repair cost multiplier - BUILDING_LIMITED_BOUND: 8, // Max bound for limited buildngs + BUILDING_LIMITED_BOUND: 7, // Max bound for limited buildngs BUILDING_TILE_COST_MULTIPLIER: 0.0013, // Tile cost multiplier by max health /** diff --git a/src/game/scenes/world/entities/npc/variants/enemy/variants/adherent.ts b/src/game/scenes/world/entities/npc/variants/enemy/variants/adherent.ts index 69dcd918..45acd1c1 100644 --- a/src/game/scenes/world/entities/npc/variants/enemy/variants/adherent.ts +++ b/src/game/scenes/world/entities/npc/variants/enemy/variants/adherent.ts @@ -9,8 +9,8 @@ export class EnemyAdherent extends Enemy { ...data, texture: EnemyTexture.ADHERENT, multipliers: { - health: 0.6, - damage: 0.2, + health: 0.7, + damage: 0.3, speed: 0.9, might: 0.5, }, diff --git a/src/lib/__tests__/progression.test.ts b/src/lib/__tests__/progression.test.ts index 85e02713..be520c97 100644 --- a/src/lib/__tests__/progression.test.ts +++ b/src/lib/__tests__/progression.test.ts @@ -11,15 +11,21 @@ describe('lib / progression', () => { expect(progressionQuadratic({ defaultValue: 90, scale: 0.3, level: 15, })).toEqual(3543); + expect(progressionQuadratic({ + defaultValue: 90, scale: 0.3, level: 14, retardationLevel: 15, + })).toEqual(2725); expect(progressionQuadratic({ defaultValue: 90, scale: 0.3, level: 15, retardationLevel: 15, })).toEqual(3543); + expect(progressionQuadratic({ + defaultValue: 90, scale: 0.3, level: 16, retardationLevel: 15, + })).toEqual(4605); expect(progressionQuadratic({ defaultValue: 90, scale: 0.3, level: 20, })).toEqual(13157); expect(progressionQuadratic({ defaultValue: 90, scale: 0.3, level: 20, retardationLevel: 15, - })).toEqual(6200); + })).toEqual(8857); }); it('should return correct negative value growth', () => { diff --git a/src/lib/progression.ts b/src/lib/progression.ts index f722b791..b1bd4a0c 100644 --- a/src/lib/progression.ts +++ b/src/lib/progression.ts @@ -75,7 +75,6 @@ export function progressionQuadratic(params: { return progressionLinear({ ...params, - scale: params.scale / 2, defaultValue: point, level: params.level - params.retardationLevel + 1, });