Fix divine smites (#90511)

## About The Pull Request

Fixes #90510

I added the overlay when only smites that destroyed the body had the
divine smite flag, then I added the flag to a bunch more things. Oops

## Changelog

🆑 Melbert
fix: Fix divine smites making you glow forever
/🆑
This commit is contained in:
MrMelbert
2025-04-09 23:35:41 -05:00
committed by Shadow-Quill
parent 9146192294
commit fa39318e34
2 changed files with 16 additions and 4 deletions
+5 -2
View File
@@ -16,8 +16,11 @@
/datum/smite/proc/do_effect(client/user, mob/living/target)
if(smite_flags & SMITE_DIVINE)
playsound(target, 'sound/effects/pray.ogg', 50, FALSE, -1)
target.add_overlay(mutable_appearance('icons/mob/effects/genetics.dmi', "servitude", -MUTATIONS_LAYER))
target.apply_status_effect(/datum/status_effect/spotlight_light/divine)
target.apply_status_effect(
/datum/status_effect/spotlight_light/divine,
3 SECONDS,
mutable_appearance('icons/mob/effects/genetics.dmi', "servitude", -MUTATIONS_LAYER),
)
if(smite_flags & SMITE_STUN)
target.Stun(3 SECONDS, ignore_canstun = TRUE)