From 18b3bf79856c782493856b7b8ca40210937d0f72 Mon Sep 17 00:00:00 2001 From: Etienne Samson Date: Sat, 2 Dec 2023 01:53:14 +0100 Subject: [PATCH] Update invader core-related constants to their actual values The only one that's breaking is `INVADER_CORE_EXPAND_TIME` which is keyed by the core's level now. --- dist/index.d.ts | 23 ++++++++++++++++++----- src/constants.ts | 23 ++++++++++++++++++----- 2 files changed, 36 insertions(+), 10 deletions(-) diff --git a/dist/index.d.ts b/dist/index.d.ts index 9115637..b532efa 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -843,7 +843,7 @@ declare const PWR_OPERATE_FACTORY: PWR_OPERATE_FACTORY; declare const EFFECT_INVULNERABILITY: EFFECT_INVULNERABILITY; declare const EFFECT_COLLAPSE_TIMER: EFFECT_COLLAPSE_TIMER; -declare const INVADER_CORE_HITS: 1000000; +declare const INVADER_CORE_HITS: 100000; declare const INVADER_CORE_CREEP_SPAWN_TIME: { 0: 0; 1: 0; @@ -852,11 +852,24 @@ declare const INVADER_CORE_CREEP_SPAWN_TIME: { 4: 2; 5: 1; }; -declare const INVADER_CORE_EXPAND_TIME: 15000; -declare const INVADER_CORE_CONTROLLER_POWER: 100; +declare const INVADER_CORE_EXPAND_TIME: { + 1: 4000; + 2: 3500; + 3: 3000; + 4: 2500; + 5: 2000; +}; +declare const INVADER_CORE_CONTROLLER_POWER: 2; declare const INVADER_CORE_CONTROLLER_DOWNGRADE: 5000; -declare const STRONGHOLD_RAMPART_HITS: { 0: 0; 1: 50000; 2: 200000; 3: 500000; 4: 1000000; 5: 2000000 }; -declare const STRONGHOLD_DECAY_TICKS: 150000; +declare const STRONGHOLD_RAMPART_HITS: { + 0: 0; + 1: 100000; + 2: 200000; + 3: 500000; + 4: 1000000; + 5: 2000000; +}; +declare const STRONGHOLD_DECAY_TICKS: 75000; declare const POWER_INFO: { [powerID: number]: { diff --git a/src/constants.ts b/src/constants.ts index aff931c..edfe468 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -828,7 +828,7 @@ declare const PWR_OPERATE_FACTORY: PWR_OPERATE_FACTORY; declare const EFFECT_INVULNERABILITY: EFFECT_INVULNERABILITY; declare const EFFECT_COLLAPSE_TIMER: EFFECT_COLLAPSE_TIMER; -declare const INVADER_CORE_HITS: 1000000; +declare const INVADER_CORE_HITS: 100000; declare const INVADER_CORE_CREEP_SPAWN_TIME: { 0: 0; 1: 0; @@ -837,11 +837,24 @@ declare const INVADER_CORE_CREEP_SPAWN_TIME: { 4: 2; 5: 1; }; -declare const INVADER_CORE_EXPAND_TIME: 15000; -declare const INVADER_CORE_CONTROLLER_POWER: 100; +declare const INVADER_CORE_EXPAND_TIME: { + 1: 4000; + 2: 3500; + 3: 3000; + 4: 2500; + 5: 2000; +}; +declare const INVADER_CORE_CONTROLLER_POWER: 2; declare const INVADER_CORE_CONTROLLER_DOWNGRADE: 5000; -declare const STRONGHOLD_RAMPART_HITS: { 0: 0; 1: 50000; 2: 200000; 3: 500000; 4: 1000000; 5: 2000000 }; -declare const STRONGHOLD_DECAY_TICKS: 150000; +declare const STRONGHOLD_RAMPART_HITS: { + 0: 0; + 1: 100000; + 2: 200000; + 3: 500000; + 4: 1000000; + 5: 2000000; +}; +declare const STRONGHOLD_DECAY_TICKS: 75000; declare const POWER_INFO: { [powerID: number]: {