mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 17:45:02 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user