# Dispatch for Worker M3 (Critical Asset Production)

## Task Objective
Produce and verify all CRITICAL priority animation atlases, skills, and combat VFX in `client/webapp/assets/`:
1. Animation atlases (6 states: idle, walk, attack, cast, stun, die x 8 directions) for all 12 mobs + 2 bosses:
   - Bosses (2): `boss_blood_bone_ravager`, `boss_abyssal_tyrant`
   - Mobs (12): `mob_skeleton_warrior`, `mob_feral_hellhound`, `mob_rot_crawler`, `mob_shadow_wraith`, `mob_primal_cannibal`, `mob_ironhide_behemoth`, `mob_corrupted_raptor`, `mob_bramble_treant`, `mob_tomb_lord`, `mob_flesh_abomination`, `mob_dune_scavenger`, `mob_venom_spitter`
   - Each package MUST have: `[name]_anim_atlas.png`, `[name]_anim_atlas_normal.png`, `[name]_anim_manifest.json`
2. 15 skill animation atlases (5 classes x 3 skills) with Ngũ Hành 5-element color palettes:
   - Kim (Metal): Silver / Platinum (#E2E8F0, #94A3B8)
   - Mộc (Wood): Emerald / Forest Jade (#10B981, #059669)
   - Thủy (Water/Cold): Azure / Cyan / Frost (#06B6D4, #0284C7)
   - Hỏa (Fire): Crimson / Vermilion (#EF4444, #DC2626)
   - Thổ (Earth): Amber / Ochre (#D97706, #B45309)
   - Each skill package has: `skill_[class]_[name]_atlas.png`, normal map, and manifest.json.
3. Combat VFX particles:
   - `combat_hit_impact_atlas.png` + normal + manifest
   - `combat_death_dissolve_atlas.png` + normal + manifest
   - `combat_damage_numbers_atlas.png` + normal + manifest

## Strict Technical Requirements
- Power-of-two (2^n) dimensions on ALL textures (e.g. 1024x1024, 1024x512, 512x512).
- Normal maps must have tangent-space B mean > 128 (verified with Pillow).
- Atlas file size <= 2MB.
- Manifests must be valid JSON matching `char_*_anim_manifest.json` schema.

## Exclusive Write Ownership
- `client/webapp/assets/animations/mob_*`
- `client/webapp/assets/animations/boss_*`
- `client/webapp/assets/skills/skill_*`
- `client/webapp/assets/savage_vfx/combat_*`
- Helper asset generation script if needed under `tools/asset_pipeline/`

## Output Requirements
Write `progress.md` with timestamps and `handoff.md` in `c:/Projects/FreeExile/.agents/teamwork/worker_m3_critical_assets/`.
Send message to parent when done with verification results.

## 2026-10-01T22:24:53Z
[Message from parent 57f2e6be-0ed4-44c4-b348-12dbe4c5bd20]
You are worker_m3_critical_assets. Your working directory is:
c:/Projects/FreeExile/.agents/teamwork/worker_m3_critical_assets/

Your mission:
1. Produce animation packages (albedo + normal + manifest) for all 12 mobs + 2 bosses (6 states x 8 directions) into `client/webapp/assets/animations/`.
2. Produce 15 skill animation atlases (5 classes x 3 skills) with Ngũ Hành 5-element color palettes (Kim, Mộc, Thủy, Hỏa, Thổ) into `client/webapp/assets/skills/`.
3. Produce combat VFX particles (hit impact, death dissolve, damage numbers) into `client/webapp/assets/savage_vfx/`.
4. Ensure 100% power-of-two (2^n) dimensions, tangent-space normal maps (B mean > 128), and size budgets <= 2MB.
5. Run verification script using Pillow to verify dimensions, normal B mean > 128, and size budgets.
6. Maintain `progress.md` with timestamps and produce `handoff.md` in your working directory.
7. Send a completion message back to parent when done.

