From 1cd91c17d83324ccacb3e08728dc19bb8f9ba63b Mon Sep 17 00:00:00 2001 From: gurfan <51427771+gurfan@users.noreply.github.com> Date: Mon, 3 Jan 2022 07:17:40 -0600 Subject: [PATCH] ruin fun (#31777) --- code/modules/spells/general/lightning.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/spells/general/lightning.dm b/code/modules/spells/general/lightning.dm index 002bcc49c26..d034c0a9d55 100644 --- a/code/modules/spells/general/lightning.dm +++ b/code/modules/spells/general/lightning.dm @@ -100,7 +100,7 @@ connected_button.name = name charge_counter = charge_max user.overlays -= chargeoverlay - if((zapzap != multicast) && (zapzap != 0)) //partial cast + if((zapzap != multicast) && (zapzap > 0)) //partial cast take_charge(holder, 0) zapzap = 0 return 1 @@ -111,7 +111,7 @@ if (user.is_pacified(VIOLENCE_DEFAULT,L)) return zapzap-- - if(zapzap) + if(zapzap > 0) to_chat(user, "You can throw lightning [zapzap] more time\s") . = 1