From d2e04f254127da72ff47507ddab8c752de293ff2 Mon Sep 17 00:00:00 2001
From: matttheficus <57759731+matttheficus@users.noreply.github.com>
Date: Sat, 22 Apr 2023 03:44:13 -0400
Subject: [PATCH] i cast: conceal sound (#20858)
---
code/game/gamemodes/cult/blood_magic.dm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/code/game/gamemodes/cult/blood_magic.dm b/code/game/gamemodes/cult/blood_magic.dm
index ceba8679620..8f3285653a9 100644
--- a/code/game/gamemodes/cult/blood_magic.dm
+++ b/code/game/gamemodes/cult/blood_magic.dm
@@ -318,7 +318,7 @@
owner.visible_message("Thin grey dust falls from [owner]'s hand!", \
"You invoke the veiling spell, hiding nearby runes and cult structures.")
charges--
- playsound(owner, 'sound/magic/smoke.ogg', 25, TRUE)
+ playsound(owner, 'sound/magic/smoke.ogg', 25, TRUE, -13) // 4 tile range.
owner.whisper(invocation)
for(var/obj/O in range(4, owner))
O.cult_conceal()
@@ -331,7 +331,7 @@
"You invoke the counterspell, revealing nearby runes and cult structures.")
charges--
owner.whisper(invocation)
- playsound(owner, 'sound/misc/enter_blood.ogg', 25, TRUE)
+ playsound(owner, 'sound/misc/enter_blood.ogg', 25, TRUE, -10) // 7 tile range.
for(var/obj/O in range(5, owner)) // Slightly higher in case we arent in the exact same spot
O.cult_reveal()
revealing = FALSE // Switch on use