Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

Monsters that cast spells on death have two death entries in the log.

Open Inglonias opened this issue 2 years ago • 3 comments

Describe the bug

Any monster that casts a spell when it dies will die twice, at least according to the message log.

Steps to reproduce

  1. Spawn or locate a zombie that casts a spell on death. Zombie children are a great example
  2. Kill them
  3. "The zombie child dies x2!"

Expected behavior

Only one entry in the log per death.

Screenshots

image

Versions and configuration

  • OS: Windows
    • OS Version: 10.0.19044.1826 (21H2)
  • Game Version: d6a1777 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [ Dark Days Ahead [dda], Disable NPC Needs [no_npc_food], No Fungal Growth [no_fungal_growth], Bionic Professions [package_bionic_professions], No Rail Stations [No_Rail_Stations], No Vault [No_Vault], ASCIITiles overmap color fix [colors_fix_asciitiles] ]

Additional context

Discovered while trying to fix #59054. This is a separate and unrelated issue.

Inglonias avatar Jul 17 '22 18:07 Inglonias

/confirmed

I've see it myself all the time, and the discussion in the referenced PR makes it clear others consider it to be an existing behavior as well.

PatrikLundell avatar Jul 18 '22 08:07 PatrikLundell

Seems like it's a known problem: https://github.com/CleverRaven/Cataclysm-DDA/blob/ae2ff5c29769bf5d281ea36f83ede876ec378871/src/mondeath.cpp#L69-L70

Night-Pryanik avatar Jul 20 '22 07:07 Night-Pryanik

This bug is present in near-latest experimental: image

DragonWizard23 avatar May 12 '24 21:05 DragonWizard23