feat(build): add Epic Fight dependency and gradle test setup

- Add Epic Fight via CurseMaven as an implementation dependency and Skill Tree as compile-only
- Pass Epic Fight refmap remapping properties to the run configuration
- Add JUnit 5 test dependencies and enable JUnit platform in the test task
- Ignore reference/ recordings in .gitignore
This commit is contained in:
richard committed 2026-11-29 22:21:26 +01:00
1 parent 018efc206c
commit 3fadf8bd0c
338 files changed
+20222 -1462

No files matched your search

+527
View File
@@ -0,0 +1,527 @@
{
"_comment": "PROPOSAL, not loaded. To activate: copy into src/main/resources/data/resonantcombat/element_resistances/ (or a datapack). Positive = resists, negative = weak. Clamped per enemy class (tags #resonantcombat:enemy_class/*): Common always neutral (so not listed), Elite +-0.10, Overlord/Calamity +-0.30. Every boss: one theme resistance + one weakness (sometimes two), so there is always an element that is good against it, and No Element (Tune Break) is never resisted.",
"entries": [
{
"_why": "Calamity: Ender Dragon, void flyer",
"targets": [
"minecraft:ender_dragon"
],
"resistances": {
"havoc": 0.3,
"spectro": -0.2,
"aero": -0.15
}
},
{
"_why": "Calamity: Wither, undead decay",
"targets": [
"minecraft:wither"
],
"resistances": {
"havoc": 0.3,
"glacio": 0.15,
"spectro": -0.25
}
},
{
"_why": "Calamity: Bahryn'muul, Entombed Watcher (land)",
"targets": [
"ba_bt:land_golem"
],
"resistances": {
"havoc": 0.2,
"aero": -0.2
}
},
{
"_why": "Calamity: Moraizu'un, Idol of the Drowned (ocean)",
"targets": [
"ba_bt:ocean_golem"
],
"resistances": {
"fusion": 0.25,
"electro": -0.25
}
},
{
"_why": "Calamity: Obthu'ryn, God of the Core",
"targets": [
"ba_bt:core_golem"
],
"resistances": {
"spectro": 0.2,
"havoc": -0.2
}
},
{
"_why": "Calamity: Infuur'niir, Blaze King Tyrant (nether)",
"targets": [
"ba_bt:nether_golem"
],
"resistances": {
"fusion": 0.3,
"glacio": -0.25
}
},
{
"_why": "Calamity: Shul'losniir, Warped Guardian (end)",
"targets": [
"ba_bt:end_golem"
],
"resistances": {
"havoc": 0.25,
"spectro": -0.2
}
},
{
"_why": "Calamity: Veyhz'kriin, Sky Goddess",
"targets": [
"ba_bt:sky_golem"
],
"resistances": {
"aero": 0.3,
"electro": -0.2
}
},
{
"_why": "Calamity: TCoR humanoid Ignis (fire)",
"targets": [
"tcr_bosses:ignis_humanoid"
],
"resistances": {
"fusion": 0.3,
"glacio": -0.25
}
},
{
"_why": "Calamity: TCoR humanoid Netherite Monstrosity",
"targets": [
"tcr_bosses:netherite_humanoid"
],
"resistances": {
"fusion": 0.25,
"glacio": -0.2
}
},
{
"_why": "Calamity: TCoR humanoid Ender Guardian",
"targets": [
"tcr_bosses:ender_guardian_humanoid"
],
"resistances": {
"havoc": 0.25,
"spectro": -0.2
}
},
{
"_why": "Calamity: TCoR humanoid Harbinger (wither machine)",
"targets": [
"tcr_bosses:harbinger_humanoid"
],
"resistances": {
"havoc": 0.2,
"electro": -0.25
}
},
{
"_why": "Calamity: TCoR humanoid Leviathan (abyss)",
"targets": [
"tcr_bosses:leviathan_humanoid"
],
"resistances": {
"glacio": 0.2,
"electro": -0.3
}
},
{
"_why": "Calamity: TCoR humanoid Ancient Remnant (desert)",
"targets": [
"tcr_bosses:ancient_remnant_humanoid"
],
"resistances": {
"fusion": 0.2,
"glacio": -0.25
}
},
{
"_why": "Calamity: TCoR humanoid Maledictus (frost wraith)",
"targets": [
"tcr_bosses:maledictus_humanoid"
],
"resistances": {
"glacio": 0.3,
"fusion": -0.25
}
},
{
"_why": "Calamity: TCoR humanoid Scylla (storm sea)",
"targets": [
"tcr_bosses:scylla_humanoid"
],
"resistances": {
"electro": 0.3,
"glacio": -0.2
}
},
{
"_why": "Overlord: Warden, deep dark",
"targets": [
"minecraft:warden"
],
"resistances": {
"havoc": 0.3,
"aero": -0.2
}
},
{
"_why": "Overlord: Ignis (fire)",
"targets": [
"cataclysm:ignis"
],
"resistances": {
"fusion": 0.3,
"glacio": -0.25
}
},
{
"_why": "Overlord: Netherite Monstrosity",
"targets": [
"cataclysm:netherite_monstrosity"
],
"resistances": {
"fusion": 0.25,
"glacio": -0.2
}
},
{
"_why": "Overlord: Ender Guardian",
"targets": [
"cataclysm:ender_guardian"
],
"resistances": {
"havoc": 0.25,
"spectro": -0.2
}
},
{
"_why": "Overlord: The Harbinger (wither machine)",
"targets": [
"cataclysm:the_harbinger"
],
"resistances": {
"havoc": 0.2,
"electro": -0.25
}
},
{
"_why": "Overlord: The Leviathan (abyss)",
"targets": [
"cataclysm:the_leviathan"
],
"resistances": {
"glacio": 0.2,
"electro": -0.3
}
},
{
"_why": "Overlord: Ancient Remnant (desert)",
"targets": [
"cataclysm:ancient_remnant"
],
"resistances": {
"fusion": 0.2,
"glacio": -0.25
}
},
{
"_why": "Overlord: Maledictus (frost wraith)",
"targets": [
"cataclysm:maledictus"
],
"resistances": {
"glacio": 0.3,
"fusion": -0.25
}
},
{
"_why": "Overlord: Scylla (storm sea)",
"targets": [
"cataclysm:scylla"
],
"resistances": {
"electro": 0.3,
"glacio": -0.2
}
},
{
"_why": "Overlord: Ferrous Wroughtnaut (iron)",
"targets": [
"mowziesmobs:ferrous_wroughtnaut"
],
"resistances": {
"aero": 0.2,
"electro": -0.25
}
},
{
"_why": "Overlord: Frostmaw",
"targets": [
"mowziesmobs:frostmaw"
],
"resistances": {
"glacio": 0.3,
"fusion": -0.25
}
},
{
"_why": "Overlord: Umvuthi, the Sunbird",
"targets": [
"mowziesmobs:umvuthi"
],
"resistances": {
"spectro": 0.25,
"havoc": -0.25
}
},
{
"_why": "Overlord: Tongbi, the Sculptor (mountain)",
"targets": [
"mowziesmobs:sculptor"
],
"resistances": {
"aero": 0.25,
"electro": -0.2
}
},
{
"_why": "Overlord: Night Lich",
"targets": [
"bosses_of_mass_destruction:lich"
],
"resistances": {
"glacio": 0.25,
"spectro": -0.25
}
},
{
"_why": "Overlord: Obsidilith",
"targets": [
"bosses_of_mass_destruction:obsidilith"
],
"resistances": {
"havoc": 0.2,
"electro": -0.2
}
},
{
"_why": "Overlord: Nether Gauntlet",
"targets": [
"bosses_of_mass_destruction:gauntlet"
],
"resistances": {
"fusion": 0.25,
"glacio": -0.2
}
},
{
"_why": "Overlord: Void Blossom (plant)",
"targets": [
"bosses_of_mass_destruction:void_blossom"
],
"resistances": {
"havoc": 0.25,
"fusion": -0.25
}
},
{
"_why": "Overlord: Slider (stone)",
"targets": [
"aether:slider"
],
"resistances": {
"havoc": 0.2,
"electro": -0.2
}
},
{
"_why": "Overlord: Valkyrie Queen",
"targets": [
"aether:valkyrie_queen"
],
"resistances": {
"spectro": 0.2,
"havoc": -0.2
}
},
{
"_why": "Overlord: Sun Spirit",
"targets": [
"aether:sun_spirit"
],
"resistances": {
"fusion": 0.3,
"glacio": -0.3
}
},
{
"_why": "Overlord: Aerwhale King",
"targets": [
"lost_aether_content:aerwhale_king"
],
"resistances": {
"aero": 0.3,
"electro": -0.25
}
},
{
"_why": "Overlord: The Dead King",
"targets": [
"irons_spellbooks:dead_king"
],
"resistances": {
"havoc": 0.25,
"spectro": -0.3
}
},
{
"_why": "Overlord: Iron's fire boss",
"targets": [
"irons_spellbooks:fire_boss"
],
"resistances": {
"fusion": 0.3,
"glacio": -0.25
}
},
{
"_why": "Overlord: Arachne (spider queen)",
"targets": [
"epicfight_arachne:arachne"
],
"resistances": {
"havoc": 0.2,
"fusion": -0.25
}
},
{
"_why": "Overlord: Leonidas (warrior king)",
"targets": [
"epicfight_leonidas:leonidas"
],
"resistances": {
"spectro": 0.2,
"havoc": -0.2
}
},
{
"_why": "Overlord: Proteus (mimic)",
"targets": [
"mimic:proteus"
],
"resistances": {
"havoc": 0.2,
"spectro": -0.2
}
},
{
"_why": "Overlord: The Wraithon",
"targets": [
"wraithon:wraithon"
],
"resistances": {
"havoc": 0.3,
"spectro": -0.25
}
},
{
"_why": "Elite: fire",
"targets": [
"minecraft:piglin_brute",
"cataclysm:ignited_revenant",
"cataclysm:ignited_berserker",
"irons_spellbooks:pyromancer"
],
"resistances": {
"fusion": 0.1,
"glacio": -0.1
}
},
{
"_why": "Elite: water",
"targets": [
"minecraft:elder_guardian",
"cataclysm:coral_golem",
"cataclysm:coralssus",
"cataclysm:deepling_brute"
],
"resistances": {
"fusion": 0.1,
"electro": -0.1
}
},
{
"_why": "Elite: dark magic / void",
"targets": [
"minecraft:evoker",
"irons_spellbooks:necromancer",
"irons_spellbooks:archevoker",
"cataclysm:ender_golem"
],
"resistances": {
"havoc": 0.1,
"spectro": -0.1
}
},
{
"_why": "Elite: brutes and armor",
"targets": [
"minecraft:ravager",
"irons_spellbooks:citadel_keeper"
],
"resistances": {
"aero": 0.1,
"electro": -0.1
}
},
{
"_why": "Elite: cold",
"targets": [
"irons_spellbooks:cryomancer"
],
"resistances": {
"glacio": 0.1,
"fusion": -0.1
}
},
{
"_why": "Elite: crystal",
"targets": [
"cataclysm:amethyst_crab"
],
"resistances": {
"spectro": 0.1,
"havoc": -0.1
}
},
{
"_why": "Elite: coastal flyer",
"targets": [
"mowziesmobs:naga"
],
"resistances": {
"aero": 0.1,
"electro": -0.1
}
},
{
"_why": "Elite: sun tribe",
"targets": [
"mowziesmobs:umvuthana_raptor"
],
"resistances": {
"spectro": 0.1,
"havoc": -0.1
}
}
]
}
+51
View File
@@ -0,0 +1,51 @@
# Spectro Liberation: plan for the rework (code: Claude, animation: owner)
Source: `reference/liberation/` (gitignored; owner's frame analysis of a Wuthering Waves ultimate, timing and structure only, nothing copied). Times are seconds from the start of the ultimate, tick = s × 20. "Inferred" = Claude's reading of the sheets, not stated in `timing.md`.
## What the reference shows
| Tick | s | Event | Mod mapping |
|---|---|---|---|
| 0 | 0.00 | Cut into the cinematic: close-up of the hand, glowing ring + glyph (inferred: ring expands 0.05–0.25 s) | Camera: hand close-up shot |
| 11 | 0.55 | Face close-up, glyph on the forearm lights up, eyes open (inferred) | Camera: face close-up |
| 19 | 0.95 | Side view of face and raised arm | Camera: side shot |
| 24 | 1.18 | Cut to the wide third-person shot, player almost still | Camera: behind the player |
| 26 | 1.31 | First golden burst, largest, **centred on the target** | VFX burst at the target |
| 29 | 1.45 | **Hit 1**: every enemy in range (822 each) | Damage hit 1 |
| 30–34 | 1.5–1.7 | A ring expands and fades | VFX ring |
| 35 | 1.73 | HUD fades back in | HUD back |
| 40–43 | 2.00–2.16 | Second flash, camera tilts; inferred: a white/desaturated full-screen flash at ~41, golden at ~43 | Screen flash + camera roll |
| 45 | 2.26 | **Hit 2**, much bigger (2794 / 4191), enemies **launched** | Damage hit 2 + launch |
| 48–66 | 2.4–3.3 | Enemies fly and fall, player idle (inferred: player raises the arm at ~2.2 s, then idle) | Knockdown |
| 66–90 | 3.3–4.5 | Enemies down, player idle | |
| 90 | 4.50 | Player moves again; Liberation icon shows a **20 s cooldown** | Control returns, cooldown starts |
Ratio hit 2 : hit 1 ≈ 3.4–5 : 1 in the recording.
## Planned code changes (tomorrow)
Current Liberation (0.0.1-beta): one detonation 0.6 s after the press, 2.5 blocks ahead, no camera. Change to:
1. **Two hits on every enemy in range**, centred on a target (nearest mob in front, like Tune Break's cone; else a point ahead):
- Hit 1 at tick 29: small share of the damage.
- Hit 2 at tick 45: large share, launches enemies (upward knockback + Epic Fight knockdown stun). The Spectro Frazzle cash-in moves to hit 2.
- Proposed split: hit 1 = 20%, hit 2 = 80% of the current total (3× attack). Starting value, not decided.
2. **Cinematic camera** reusing the Tune Break camera code: three close-ups (hand 0–0.55, face 0.55–0.95, side 0.95–1.18), cut to behind the player at 1.18, HUD and letterbox until tick 35, camera roll + full-screen flash around ticks 40–45.
3. **VFX** (own particles, nothing copied): gold burst at the target (tick 26), expanding ring (30–34), flash (40–43), hit-2 burst (45).
4. **Lock and untouchable** until control returns. Reference: tick 90 (4.5 s). Proposal for Minecraft: tick 66 (3.3 s, launch finished). Owner decides.
5. **Cooldown** after the Liberation (reference: 20 s), in addition to the energy cost. Proposal, config value.
6. All times in `ResonanceConfig.Liberation` so they can follow the animation.
## What the animation needs (owner)
- Path: `src/main/resources/assets/resonantcombat/animmodels/animations/biped/liberation/spectro.json` (registered automatically).
- The reference has almost no body motion in the wide shot; the close-ups need a raised hand/arm pose (hand forward 0–0.55, forearm raised to the face 0.55–1.18, arm raised up around hit 2).
- Tell Claude the final times of: end of the close-ups, hit 1, hit 2, end (control back). The code takes them as config values.
- Last frame back to idle (end-pose check).
## Open (owner)
- Lock until tick 90 or 66?
- 20 s cooldown yes/no?
- Damage split 20/80 ok?
- Does the camera cinematic run for other players nearby, or only the caster? (Tune Break: only the caster.)