Skip to content

Commit

Permalink
Fix: Update invader core-related constants to their actual values (#249)
Browse files Browse the repository at this point in the history
The only one that's breaking is `INVADER_CORE_EXPAND_TIME` which is
keyed by the core's level now.
  • Loading branch information
tiennou authored Dec 2, 2023
1 parent 2f426c0 commit 1e39c4f
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 10 deletions.
23 changes: 18 additions & 5 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]: {
Expand Down
23 changes: 18 additions & 5 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]: {
Expand Down

0 comments on commit 1e39c4f

Please sign in to comment.