From 6d8724b2ae51dd5f3ec7b280b19a3cb175fb00f7 Mon Sep 17 00:00:00 2001 From: NovaBot <154629622+NovaBot13@users.noreply.github.com> Date: Thu, 8 Feb 2024 09:29:23 -0500 Subject: [PATCH] [MIRROR] Adds a suicide_act() to the smite spell (#838) * Adds a suicide_act() to the smite spell (#81252) ## About The Pull Request What it says on the tin ## Why It's Good For The Game https://youtu.be/cvfLHTyDv9o?t=4 ## Changelog :cl: Wallem add: Adds a new suicide_act() to the smite spell /:cl: * Adds a suicide_act() to the smite spell --------- Co-authored-by: Wallem <66052067+Wallemations@users.noreply.github.com> --- code/modules/spells/spell_types/touch/smite.dm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/code/modules/spells/spell_types/touch/smite.dm b/code/modules/spells/spell_types/touch/smite.dm index f02ea8247dd..7bef97c8a65 100644 --- a/code/modules/spells/spell_types/touch/smite.dm +++ b/code/modules/spells/spell_types/touch/smite.dm @@ -57,3 +57,13 @@ icon = 'icons/obj/weapons/hand.dmi' icon_state = "disintegrate" inhand_icon_state = "disintegrate" + +/obj/item/melee/touch_attack/smite/suicide_act(mob/living/user) + + user.visible_message(span_suicide("[user] spreads [user.p_their()] arms apart, lightning arcing between them! It looks like [user.p_theyre()] going out with a bang!")) + user.say("SHIA KAZING!!", forced = "smite suicide") + do_sparks(4, FALSE, get_turf(user)) + explosion(user, heavy_impact_range = 2, explosion_cause = src) //Cheap explosion imitation because putting detonate() here causes runtimes + user.gib(DROP_BODYPARTS) + qdel(src) + return MANUAL_SUICIDE