From: <gi...@cr...> - 2025-07-28 06:20:09
|
via ec60261d0a04724e0fc73b2ba127d202725ca099 (commit) from f537972d3b6967dc86d525633f080bb4ffaeb8ab (commit) ----------------------------------------------------------------------- commit ec60261d0a04724e0fc73b2ba127d202725ca099 Author: hellmonk <nld...@gm...> Date: Mon Jul 28 01:12:43 2025 -0500 Let gods protect neutrals from bog (yrdzrfxndfvh) Notably, you could kill TRJ with Jiyva using this method. Closes #4289. ----------------------------------------------------------------------- Summary of changes: crawl-ref/source/spl-damage.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crawl-ref/source/spl-damage.cc b/crawl-ref/source/spl-damage.cc index c7fb9ecbf3..eee81ae2d6 100644 --- a/crawl-ref/source/spl-damage.cc +++ b/crawl-ref/source/spl-damage.cc @@ -4421,6 +4421,9 @@ void actor_apply_toxic_bog(actor * act) } } + if (never_harm_monster(oppressor, act->as_monster())) + return; + const int base_damage = toxic_bog_damage().roll(); const int damage = resist_adjust_damage(act, BEAM_POISON_ARROW, base_damage); const int resist = base_damage - damage; -- Dungeon Crawl Stone Soup |