feature: add new composite and exotic mana types (ticket #202)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 17s

This commit is contained in:
2026-05-29 21:51:45 +02:00
parent 7bd28e2085
commit e3ce18c601
31 changed files with 1279 additions and 170 deletions
+46 -17
View File
@@ -106,15 +106,23 @@ Raw Mana (Base Resource)
├──▶ Utility Element (1) ───────────────────────────────────┤
│ Transference (Enchanter attunement — UNLOCKED at start)│
│ │
├──▶ Composite Elements (3) ── Created from 2 base ────────┤
├──▶ Composite Elements (8) ── Created from 2 base ────────┤
│ Metal = Fire + Earth │
│ Sand = Earth + Water │
│ Lightning = Fire + Air │
│ Frost = Air + Water │
│ BlackFlame = Dark + Fire │
│ Radiant Flames = Light + Fire │
│ Miasma = Air + Death │
│ Shadow Glass = Earth + Dark │
│ │
└──▶ Exotic Elements (3) ── Created from advanced recipes ──┤
└──▶ Exotic Elements (6) ── Created from advanced recipes ──┤
Crystal = Sand + Sand + Light │
Stellar = Fire + Fire + Light
Stellar = Plasma + Light + Fire
Void = Dark + Dark + Death │
Soul = Light + Dark + Transference │
Time = Soul + Sand + Transference │
Plasma = Lightning + Fire + Transference │
```
Only **Transference** is unlocked at start. All other elements must be unlocked through guardian pacts.
@@ -291,8 +299,10 @@ damage *= (1 - effectiveArmor)
**Element Opposites:**
```
Fire ↔ Water Air ↔ Earth Light ↔ Dark
Lightning → Earth (grounding)
Fire ↔ Water Air ↔ Earth Light ↔ Dark
Fire ↔ Frost Lightning → Earth (grounding)
BlackFlame ↔ Water Radiant Flames ↔ Dark
Miasma ↔ Light Shadow Glass ↔ Light
```
### Spell Tiers
@@ -303,12 +313,13 @@ Lightning → Earth (grounding)
| 1 | Basic Elemental | Fireball, Water Jet, Gust, Stone Bullet, Light Lance, Shadow Bolt, Drain |
| 1 | Lightning | Spark, Lightning Bolt, Chain Lightning, Storm Call |
| 1 | Compound | Metal Shard, Iron Fist, Sand Blast, Sandstorm |
| 1 | Compound+ | Frost Bolt, BlackFlame Bolt, Cursed Flame, Toxic Cloud, Shadow Spike |
| 1 | AOE | Fireball AOE, Frost Nova, Meteor Shower, Blizzard |
| 1 | Utility | Transfer Strike, Mana Rip, Essence Drain |
| 2 | Advanced | Inferno, Tidal Wave, Earthquake, Hurricane |
| 3 | Master | Pyroclasm, Tsunami, Meteor Strike, Heaven Light, Oblivion |
| 3 | Compound Master | Furnace Blast, Dune Collapse |
| 4 | Legendary | Stellar Nova, Void Collapse, Crystal Shatter |
| 4 | Legendary | Stellar Nova, Void Collapse, Crystal Shatter, Soul Rend, Time Warp, Plasma Cannon |
### Spell Effects
- `burn`: Damage over time
@@ -337,23 +348,33 @@ Lightning → Earth (grounding)
| 70 | Mors Ultima | death | 25% | 3.0× | 25,000 | 14h |
| 80 | Vinculum Arcana | transference | 20% | 3.25× | 35,000 | 16h |
#### Tier 2 — Composite Elements (Floors 90110)
#### Tier 2 — Composite Elements (Floors 90160)
| Floor | Element | Armor | Pact Mult | Pact Cost | Pact Time |
|-------|---------|-------|-----------|-----------|-----------|
| 90 | metal | 30% | 3.5× | 60,000 | 18h |
| 100 | sand | 25% | 3.75× | 80,000 | 20h |
| 110 | lightning | 22% | 4.0× | 100,000 | 22h |
| 120 | frost | 28% | 4.25× | 125,000 | 24h |
| 130 | blackflame | 32% | 4.5× | 140,000 | 26h |
| 140 | radiantflames | 25% | 4.75× | 160,000 | 28h |
| 150 | miasma | 28% | 5.0× | 180,000 | 30h |
| 160 | shadowglass | 33% | 5.25× | 200,000 | 32h |
#### Tier 3 — Exotic Elements (Floors 120140)
#### Tier 3 — Exotic Elements (Floors 170240)
| Floor | Element | Armor | Pact Mult | Pact Cost | Pact Time |
|-------|---------|-------|-----------|-----------|-----------|
| 120 | crystal | 35% | 4.5× | 150,000 | 26h |
| 130 | stellar | 30% | 5.0× | 200,000 | 30h |
| 140 | void | 35% | 5.5× | 300,000 | 34h |
| 170 | crystal | 35% | 5.5× | 220,000 | 37h |
| 180 | stellar | 30% | 6.0× | 250,000 | 38h |
| 190 | void | 35% | 6.5× | 300,000 | 39h |
| 200 | soul | 30% | 7.0× | 330,000 | 40h |
| 210 | time | 32% | 7.5× | 370,000 | 41h |
| 220 | plasma | 28% | 8.0× | 400,000 | 42h |
| 230 | crystal+stellar+void | 40% | 8.5× | 430,000 | 43h |
| 240 | soul+time+plasma | 42% | 9.0× | 460,000 | 44h |
Floors 90140 have procedurally generated names via `generateGuardianName()`.
Floors 90240 have procedurally generated names via `generateGuardianName()`.
#### Tier 4 — Combination Bosses (Floor 150+)
@@ -406,6 +427,14 @@ HP(floor) = floor(5000 × (floor/10) ^ (1.1 + floor/200))
| crystal | reflect (0.15) |
| stellar | night_bonus (0.3) |
| void | resist_ignore (0.4) |
| frost | freeze (0.2) |
| blackflame | curse+burn (0.15+0.15) |
| radiantflames | blind+burn (0.15+0.1) |
| miasma | corrosion+poison (0.2+0.15) |
| shadowglass | armor_pierce+pierce (0.3+0.25) |
| soul | defense_pierce (0.5), mana_drain (0.2) |
| time | slow (0.3), temporal_snap (0.15) |
| plasma | chain (3), burn (0.1) |
### Guardian Boons (on pact)
@@ -523,14 +552,14 @@ Players start with 1 active discipline slot. As total XP across all disciplines
| `capped` | Grants stacking bonus tiers; each tier requires another `interval` XP beyond `threshold` |
| `infinite` | Repeating bonus — a new stack every `interval` XP past `threshold` (no cap) |
### Discipline Pools (34 Total)
### Discipline Pools (50 Total)
| Pool | File | Count | Requires |
|------|------|-------|----------|
| Base | `base.ts` | 1 | None |
| Elemental Attunement | `elemental.ts` | 7 | None |
| Elemental Attunement | `elemental.ts` | 15 | None |
| Elemental Regen | `elemental-regen.ts` | 8 | None |
| Advanced Regen | `elemental-regen-advanced.ts` | 6 | Mana type unlocked |
| Advanced Regen | `elemental-regen-advanced.ts` | 14 | Mana type unlocked |
| Enchanter Core | `enchanter.ts` | 4 | Enchanter attunement |
| Enchanter Utility | `enchanter-utility.ts` | 2 | Enchanter attunement |
| Enchanter Spells | `enchanter-spells.ts` | 3 | Enchanter attunement |
@@ -911,8 +940,8 @@ getElementalBonus(spellElement, floorElement):
1. **Early Game (Floors 110):** Mana gathering and regen, base disciplines, starting equipment
2. **Mid Game (Floors 1040):** First guardian pacts, attunement unlocking, attunement discipline pools, equipment enchanting, Golemancy
3. **Late Game (Floors 40140):** Compound/exotic elements, hybrid golems, advanced discipline perks, advanced enchantments, all guardian tiers
4. **End Game (Floors 150+):** Combination bosses with dual elements, indefinite scaling
3. **Late Game (Floors 40240):** All 8 composite elements, all 6 exotic elements, hybrid golems, advanced discipline perks, advanced enchantments, all guardian tiers
4. **End Game (Floors 250+):** Procedural combination bosses with dual/multi elements, indefinite scaling
---
+1 -1
View File
@@ -1,4 +1,4 @@
# Circular Dependencies
Generated: 2026-05-29T15:18:18.868Z
Generated: 2026-05-29T16:18:06.183Z
No circular dependencies found. ✅
+2 -1
View File
@@ -1,6 +1,6 @@
{
"_meta": {
"generated": "2026-05-29T15:18:17.066Z",
"generated": "2026-05-29T16:18:04.496Z",
"description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.",
"usage": "To find what a file affects, search for its path in the VALUES. To find what a file depends on, look at its KEY entry."
},
@@ -474,6 +474,7 @@
"types.ts"
],
"stores/combatStore.ts": [
"data/guardian-encounters.ts",
"stores/combat-actions.ts",
"stores/combat-state.types.ts",
"types.ts",
+14
View File
@@ -234,12 +234,20 @@ Mana-Loop/
│ │ │ │ │ ├── advanced-spells.ts
│ │ │ │ │ ├── aoe-spells.ts
│ │ │ │ │ ├── basic-elemental-spells.ts
│ │ │ │ │ ├── blackflame-spells.ts
│ │ │ │ │ ├── compound-spells.ts
│ │ │ │ │ ├── enchantment-spells.ts
│ │ │ │ │ ├── frost-spells.ts
│ │ │ │ │ ├── legendary-spells.ts
│ │ │ │ │ ├── lightning-spells.ts
│ │ │ │ │ ├── master-spells.ts
│ │ │ │ │ ├── miasma-spells.ts
│ │ │ │ │ ├── plasma-spells.ts
│ │ │ │ │ ├── radiantflames-spells.ts
│ │ │ │ │ ├── raw-spells.ts
│ │ │ │ │ ├── shadowglass-spells.ts
│ │ │ │ │ ├── soul-spells.ts
│ │ │ │ │ ├── time-spells.ts
│ │ │ │ │ └── utility-spells.ts
│ │ │ │ ├── core.ts
│ │ │ │ ├── elements.ts
@@ -273,11 +281,17 @@ Mana-Loop/
│ │ │ │ ├── enchantments/
│ │ │ │ │ ├── spell-effects/
│ │ │ │ │ │ ├── basic-spells.ts
│ │ │ │ │ │ ├── blackflame-spells.ts
│ │ │ │ │ │ ├── exotic-new-spells.ts
│ │ │ │ │ │ ├── frost-spells.ts
│ │ │ │ │ │ ├── index.ts
│ │ │ │ │ │ ├── legendary-spells.ts
│ │ │ │ │ │ ├── lightning-spells.ts
│ │ │ │ │ │ ├── metal-spells.ts
│ │ │ │ │ │ ├── miasma-spells.ts
│ │ │ │ │ │ ├── radiantflames-spells.ts
│ │ │ │ │ │ ├── sand-spells.ts
│ │ │ │ │ │ ├── shadowglass-spells.ts
│ │ │ │ │ │ ├── tier2-spells.ts
│ │ │ │ │ │ ├── tier3-spells.ts
│ │ │ │ │ │ └── types.ts