feat: Implement Hybrid Ability System for Phase 36

HybridAbilitySystem.js (600 LOC) - Player's Alfa abilities

Implemented 4 Alfa abilities:
- Q: Heal Zombies (150px range, +30 HP, 25 energy)
- E: Boost Zombies (+50% speed/efficiency, +30% damage, 10s duration)
- R: Calm Wild Zombies (+50% taming success, 15s peaceful state)
- F: Sense Danger (400px detection, reveals enemies with red outline)

Features:
- Alfa Energy system (100 max, +5/sec regen)
- Cooldown management (8-20s per ability)
- Buff tracking system for zombies
- Visual effects (particles, auras, ripples, pulses)
- Player progression framework (XP from zombie actions)
- Energy bar UI (purple/pink, top-left)

Integration:
- Works with ZombieSystem (buff queries for tasks)
- Adapts MagicSystem architecture for zombie targets
- Separate resource (Alfa Energy vs Mana)
- Unique hotkeys (Q/E/R/F vs X/C/V)

Phase 36 Progress: 50%  70% COMPLETE!

Files:
- src/systems/HybridAbilitySystem.js (NEW - 600 LOC)
- docs/HYBRID_ABILITY_INTEGRATION.md (NEW - comprehensive guide)
- docs/KRVAVA_ZETEV_ROADMAP.md (Phase 36: 70% complete)
- DNEVNIK.md (session log)
This commit is contained in:
2025-12-23 02:10:10 +01:00
parent aa2441da5f
commit 5579dbf672
4 changed files with 1065 additions and 14 deletions

View File

@@ -9,7 +9,7 @@
| Phase | Name | Systems | Coverage | Status |
|-------|------|---------|----------|--------|
| **35** | 🧟 Zombi Delavec | ZombieSystem | ✅ **100%** | ✅ COMPLETE! |
| **36** | 🔮 Hybrid Skill | ZombieSystem (Alfa) | ⚙️ **50%** | Needs dialogue UI |
| **36** | 🔮 Hybrid Skill | ZombieSystem + HybridAbilitySystem | 🔥 **70%** | Needs dialogue UI |
| **37** | 🌾 Micro Farm | Recipe, Progression, Zombie | 🔥 **80%** | Needs Tiled map |
| **38** | 🏗️ Obnova Mesta | Recipe, Progression, Zombie | 🔥 **65%** | Needs NPC system |
| **39** | 🌺 Mesojedke | Recipe (feeding) | ⚙️ **20%** | Needs PlantSystem |
@@ -143,16 +143,16 @@ Igralčeva Hybrid veščina - razumevanje zombijev.
- [x] Večji radius krotenja - alfaRange (150px base, can be upgraded)
- [x] Več zombijev hkrati - Unlimited tamed zombies (barn capacity limit)
- [x] Boljši ukazi (kompleksne naloge) - 4 task types implemented
- [x] Voh Alfe (privlačnost za zombije) - alfaScent system (0-100)
- [ ] **Hybrid Abilities** ⏸️ **NEEDS IMPLEMENTATION**
- [ ] Heal zombije (regeneracija) - Need ability system (can use MagicSystem as base)
- [ ] Boost zombije (začasna moć) - Need buff system
- [ ] Calm divje zombije - alfaScent partially covers this
- [ ] Sense danger (opozorilo) - Need detection system
- [x] Voh Alfe (privlač nost za zombije) - alfaScent system (0-100)
- [x] **Hybrid Abilities** **COMPLETE!** (23.12.2025)
- [x] Heal zombije (regeneracija) - Q key, 25 energy, 150px range
- [x] Boost zombije (začasna moć) - E key, +50% speed/efficiency, +30% damage
- [x] Calm divje zombije - R key, +50% taming success, 15s peaceful state
- [x] Sense danger (opozorilo) - F key, 400px detection radius, reveals enemies
**Status:** ⏸️ **~50% COMPLETE** - Alfa mechanics done, needs dialogue & abilities UI
**Systems Ready:** ZombieSystem (Alfa + taming), MagicSystem (can adapt for abilities)
**Needs:** Dialogue system, Skill tree UI, Player ability hotkeys
**Status:** ⏸️ **~70% COMPLETE** (up from 50%)
**Systems Ready:** ZombieSystem (Alfa + taming), **HybridAbilitySystem (abilities)**
**Needs:** Dialogue system, Skill tree UI, Player level progression UI
---
@@ -386,7 +386,7 @@ Wave defense - End-Game content.
### **HIGH PRIORITY (Začni tukaj):**
1.**Phase 35: Zombi Delavec Sistem** - **100% COMPLETE!** (22.12.2025)
2. ⏸️ **Phase 36: Hybrid Skill** - **50% COMPLETE** (Alfa ✅, needs dialogue & abilities UI)
2. 🔥 **Phase 36: Hybrid Skill** - **70% COMPLETE** (Abilities ✅, needs dialogue UI)
3. 🔥 **Phase 37: Micro Farm & Širitev** - **80% SYSTEMS READY** (needs Tiled map & UI)
4. 📝 **Phase 42: Main Quest - Sestra** - **Needs QuestSystem** (story framework needed)
5. ⚔️ **Phase 43: Zmaj-Volk Boss** - **60% COMBAT READY** (needs sprites & arena map)
@@ -407,7 +407,7 @@ Wave defense - End-Game content.
| Phase | Coverage | Systems Ready | What's Missing |
|-------|----------|---------------|----------------|
| **Phase 35** | ✅ 100% | ZombieSystem | ✅ COMPLETE! |
| **Phase 36** | ⏸️ 50% | ZombieSystem (Alfa) | Dialogue UI, Ability hotkeys |
| **Phase 36** | 🔥 70% | ZombieSystem (Alfa), HybridAbilitySystem | Dialogue UI, Skill tree UI |
| **Phase 37** | 🔥 80% | RecipeSystem, ProgressionSystem, ZombieSystem | Tiled 8x8 map, Tutorial UI |
| **Phase 38** | 🏗️ 65% | RecipeSystem, ProgressionSystem, ZombieSystem | NPC RelationshipSystem, Shop UI |
| **Phase 39** | 🌱 20% | RecipeSystem (feeding) | New PlantSystem, Defense AI |