CleverRaven / CleverRaven/Cataclysm-DDA

[XE] Triggering Last Breath's Mist in torpor has crippling bugged consequences.

Open
#83,159 0 comments 0 reactions 0 assignees View on GitHub
(S2 - Confirmed) Mods: Xedra Evolved
Dominant language
C++
Stars
13.2k
Forks
4.6k
Avg merge
2d 1h
Merged PRs (30d)
205

Description

### Describe the bug

When surviving through the vampiric power Last Breath's Mist while in torpor, the player is now permanently blinded and walking becomes extremely time-consuming, which is clearly a bug.

### Attach save file

[Jenifer-trimmed.tar.gz](https://github.com/user-attachments/files/22672603/Jenifer-trimmed.tar.gz)

### Steps to reproduce

1. Load the save.
2. Enter torpor through the power menu.
3. Let the hulks that are just outside of the light radius kill you.
4. See that you are blinded and each step takes an ingame minute even if you cancel mist form.

### Expected behavior

I intend that triggering LBM fully cancels being in torpor and wakes up the player.

I first tried to fix it, but I have no idea about what could cause that. Making LBM cancel activities and remove the torpor effect through the LBM EOC gave no result.

### Screenshots

_No response_

### Versions and configuration

- OS: Windows
- OS Version: 10.0.26100.6584 (24H2)
- Game Version: cdda-experimental-2025-10-02-1836 [64-bit]
- Graphics Version: Tiles
- Game Language: English [en]
- Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Portal Storms Ignore NPCs [personal_portal_storms],
Xedra Evolved [xedra_evolved]
]

### Additional context

This might also trigger on other death-preventions, but vampires will most likely trigger this one if dying.

Contributor guide

Open the contributing guide

Research direction

Begin with the attached save file and reproduce the torpor death-prevention sequence using Last Breath's Mist. Trace the torpor and mist handling to identify why blindness and one-minute movement persist after activation; done means the player wakes fully and neither symptom remains.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.