Reference fixed item definitions from game docs

This commit is contained in:
Jan Bader
2026-06-17 22:35:50 +02:00
parent 3975acd87d
commit 0e539e6bc0
2 changed files with 2 additions and 12 deletions
+1 -12
View File
@@ -11,18 +11,7 @@ A build contains:
- 3 pets - 3 pets
- 1 skill base-stat entry - 1 skill base-stat entry
Core item names and base stat types are fixed. Their base values are currently hardcoded from the player's known setup: Core item names, base stat types, and base values are fixed for this optimizer. The canonical definitions live in [`app.js`](app.js) as `FIXED_ITEMS` so the app and documentation do not drift.
| Slot | Item | Base stat |
| --- | --- | ---: |
| Item 1 | Helmet | 1,930,000 health |
| Item 2 | Armor | 1,890,000 health |
| Item 3 | Gloves | 237,000 damage |
| Item 4 | Collar | 237,000 damage |
| Item 5 | Ring | 244,000 damage |
| Item 6 | Weapon | 398,000 damage |
| Item 7 | Boots | 1,850,000 health |
| Item 8 | Belt | 1,150,000 health |
Mounts and pets provide both damage and health base stats. Skill provides damage and health base stats only and has no effects. Mounts and pets provide both damage and health base stats. Skill provides damage and health base stats only and has no effects.
+1
View File
@@ -41,6 +41,7 @@ const PROFILES = {
const STORAGE_KEY = "forgeMasterOptimizer.v1"; const STORAGE_KEY = "forgeMasterOptimizer.v1";
const DRAFT_KEY = "forgeMasterOptimizer.draft.v1"; const DRAFT_KEY = "forgeMasterOptimizer.draft.v1";
const EXPORT_VERSION = 1; const EXPORT_VERSION = 1;
// Canonical fixed core item definitions; GAME.md references this list to avoid duplicated values.
const FIXED_ITEMS = [ const FIXED_ITEMS = [
{ name: "Helmet", baseType: "health", baseValue: 1930000 }, { name: "Helmet", baseType: "health", baseValue: 1930000 },
{ name: "Armor", baseType: "health", baseValue: 1890000 }, { name: "Armor", baseType: "health", baseValue: 1890000 },