From: <gi...@cr...> - 2025-07-22 02:45:14
|
via d36b845a409c0b4b6bab2859d4ba2eac18682136 (commit) from 525eb422377a87c00ea1131aecb8aae12b634b47 (commit) ----------------------------------------------------------------------- commit d36b845a409c0b4b6bab2859d4ba2eac18682136 Author: hellmonk <nld...@gm...> Date: Mon Jul 21 21:40:33 2025 -0500 Fix ally cloud death attribution (RypoFalem) Using a slightly different attribution message. Closes #4671. ----------------------------------------------------------------------- Summary of changes: crawl-ref/source/hiscores.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc index 64976d20a7..0bebba0fb1 100644 --- a/crawl-ref/source/hiscores.cc +++ b/crawl-ref/source/hiscores.cc @@ -1423,6 +1423,9 @@ void scorefile_entry::init_death_cause(int dam, mid_t dsrc, if (mons->mid == MID_YOU_FAULTLESS) death_source_name = "themself"; + if (mons->mid == MID_ANON_FRIEND) + death_source_name = "an ally"; + if (mons->has_ench(ENCH_SHAPESHIFTER)) death_source_name += " (shapeshifter)"; else if (mons->has_ench(ENCH_GLOWING_SHAPESHIFTER)) -- Dungeon Crawl Stone Soup |