BUG: Disciplines deactivate when mana drain exceeds available mana #244

Closed
opened 2026-06-01 10:48:05 +02:00 by Anexim · 2 comments
Owner

Bug Description

When a discipline is active and the player's mana drops below the discipline's drain cost, the discipline deactivates. This is expected behavior, but the issue is that with all disciplines unlocked and only 1 concurrent slot, the player cannot maintain any discipline long enough to make meaningful progress because:

  1. Raw Mana Mastery drains 9.2/sec at 65 XP
  2. With 111 max mana, the discipline depletes mana in ~12 seconds
  3. The discipline then deactivates and must be manually reactivated

Steps to Reproduce

  1. Unlock all attunements and elements via debug
  2. Activate Raw Mana Mastery discipline
  3. Wait ~12 seconds
  4. Observe: discipline deactivates automatically (Active: 0 / 1)
  5. Mana drops to 0 and discipline shows "Paused"

Expected Behavior

The game should either:

  • Not drain mana the player doesn't have (clamp drain to available mana)
  • Or clearly communicate that disciplines auto-pause when mana is insufficient
  • Or provide a way to auto-reactivate disciplines when mana is available

Impact

  • Poor user experience — disciplines constantly deactivate
  • Player must manually reactivate disciplines repeatedly
  • Makes testing and gameplay tedious

Note

This may be intentional design (disciplines pause when unaffordable), but the UX could be improved with better feedback.

## Bug Description When a discipline is active and the player's mana drops below the discipline's drain cost, the discipline deactivates. This is expected behavior, but the issue is that with all disciplines unlocked and only 1 concurrent slot, the player cannot maintain any discipline long enough to make meaningful progress because: 1. Raw Mana Mastery drains 9.2/sec at 65 XP 2. With 111 max mana, the discipline depletes mana in ~12 seconds 3. The discipline then deactivates and must be manually reactivated ## Steps to Reproduce 1. Unlock all attunements and elements via debug 2. Activate Raw Mana Mastery discipline 3. Wait ~12 seconds 4. Observe: discipline deactivates automatically (Active: 0 / 1) 5. Mana drops to 0 and discipline shows "Paused" ## Expected Behavior The game should either: - Not drain mana the player doesn't have (clamp drain to available mana) - Or clearly communicate that disciplines auto-pause when mana is insufficient - Or provide a way to auto-reactivate disciplines when mana is available ## Impact - Poor user experience — disciplines constantly deactivate - Player must manually reactivate disciplines repeatedly - Makes testing and gameplay tedious ## Note This may be intentional design (disciplines pause when unaffordable), but the UX could be improved with better feedback.
Anexim added the ai:todo label 2026-06-01 10:48:05 +02:00
n8n-gitea was assigned by Anexim 2026-06-01 10:48:05 +02:00
Author
Owner

This is intentional behavior, so improve the UX with better feedback

This is intentional behavior, so improve the UX with better feedback
Anexim added this to the (deleted) project 2026-06-01 11:45:48 +02:00
Author
Owner

Improved discipline auto-pause UX:

  • Added autoPaused field to DisciplineState type
  • discipline-slice.ts now marks disciplines as autoPaused when drained due to insufficient mana
  • Added log message "⏸️ Auto-paused (insufficient mana): [names]" in gameStore.ts when disciplines auto-pause
  • DisciplineCard now shows visual amber banner "⏸️ Auto-paused — insufficient [mana] mana to continue practicing" when a discipline was auto-paused
  • Clear autoPaused flag when manually reactivating a discipline
✅ Improved discipline auto-pause UX: - Added `autoPaused` field to DisciplineState type - discipline-slice.ts now marks disciplines as autoPaused when drained due to insufficient mana - Added log message "⏸️ Auto-paused (insufficient mana): [names]" in gameStore.ts when disciplines auto-pause - DisciplineCard now shows visual amber banner "⏸️ Auto-paused — insufficient [mana] mana to continue practicing" when a discipline was auto-paused - Clear autoPaused flag when manually reactivating a discipline
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Anexim/Mana-Loop#244