diff --git a/Assets/Resources/Games/sneakySpirits.prefab b/Assets/Resources/Games/sneakySpirits.prefab index 21129aac..9644b9c9 100644 --- a/Assets/Resources/Games/sneakySpirits.prefab +++ b/Assets/Resources/Games/sneakySpirits.prefab @@ -1140,7 +1140,7 @@ ParticleSystem: m_PostInfinity: 2 m_RotationOrder: 4 randomizeRotationDirection: 0 - maxNumParticles: 100 + maxNumParticles: 40 size3D: 0 rotation3D: 0 gravityModifier: @@ -16975,6 +16975,8 @@ MonoBehaviour: - {fileID: 5346254735527655265} - {fileID: 4295673444852022141} - {fileID: 9019885175047260189} + normalRain: {fileID: 2010818742874192372} + slowRain: {fileID: 7630866677535136957} --- !u!1 &7556994794361785014 GameObject: m_ObjectHideFlags: 0 @@ -17073,7 +17075,7 @@ ParticleSystem: m_GameObject: {fileID: 7630866677535136957} serializedVersion: 7 lengthInSec: 5 - simulationSpeed: 0.002 + simulationSpeed: 0.008 stopAction: 0 cullingMode: 0 ringBufferMode: 0 diff --git a/Assets/Scripts/Games/SneakySpirits/SneakySpirits.cs b/Assets/Scripts/Games/SneakySpirits/SneakySpirits.cs index 1b623384..a437cfbd 100644 --- a/Assets/Scripts/Games/SneakySpirits/SneakySpirits.cs +++ b/Assets/Scripts/Games/SneakySpirits/SneakySpirits.cs @@ -71,6 +71,8 @@ namespace HeavenStudio.Games [SerializeField] GameObject arrowMissPrefab; [SerializeField] GameObject ghostMissPrefab; [SerializeField] List ghostPositions = new List(); + [SerializeField] GameObject normalRain; + [SerializeField] GameObject slowRain; [Header("Variables")] private static List queuedGhosts = new List(); private bool hasArrowLoaded; @@ -301,7 +303,13 @@ namespace HeavenStudio.Games spawnedDeath.gameObject.SetActive(true); Jukebox.PlayOneShotGame("sneakySpirits/hit"); bowAnim.DoScaledAnimationAsync("BowRecoil", 0.25f); - if (slowDown) Conductor.instance.SetMinigamePitch(0.25f); + if (slowDown) + { + slowRain.SetActive(true); + normalRain.SetActive(false); + Conductor.instance.SetMinigamePitch(0.25f); + } + doorAnim.DoScaledAnimationAsync("DoorOpen", 0.5f); BeatAction.New(instance.gameObject, new List() { @@ -309,6 +317,8 @@ namespace HeavenStudio.Games { if (slowDown) Conductor.instance.SetMinigamePitch(1f); doorAnim.DoScaledAnimationAsync("DoorClose", 0.5f); + slowRain.SetActive(false); + normalRain.SetActive(true); }) }); }