CleverRaven/Cataclysm-DDA

(Magiclysm) attempting to cast a hp-based spell with insufficient hp in each limb softlock the game

Open

#48,139 opened on Mar 19, 2021

View on GitHub
 (3 comments) (1 reaction) (0 assignees)C++ (3,991 forks)batch import
(P3 - Medium)(S2 - Confirmed)<Bug>Help WantedInfo / User InterfaceMods: Magiclysm[C++]

Repository metrics

Stars
 (9,264 stars)
PR merge metrics
 (Avg merge 6d 5h) (292 merged PRs in 30d)

Description

Describe the bug

You can’t escape the menu asking for which limb to draw blood from.

You can’t draw blood from a limb with insufficient hp.

Together they can softlock the game as you can’t escape the spell blood-drawing menu without killing the game

Steps To Reproduce

  1. Start as novice necromancer
  2. Set all your limbs’ hp to 1
  3. Try to summon a zombie
  4. You can’t escape the menu

Expected behavior

Being able to cancel the spell in the blood-drawing interface

Versions and configuration

  • OS: Windows 10
  • Game Version: 0.E-9280-g9dde4db-dirty
  • Graphics version: Tiles
  • Ingame language: English
  • Mods loaded: dda, no_npc_food, package_bionic_professions, magiclysm

Contributor guide