From 5e1dba8672c01767b573d9234dcedc6f0fba8bac Mon Sep 17 00:00:00 2001 From: Alifia Rahmah <13520122@std.stei.itb.ac.id> Date: Sat, 15 Apr 2023 14:20:13 +0700 Subject: [PATCH] fix(pet): re-add sfx --- Assets/Prefabs/PetCultist.prefab | 6 +++--- Assets/Prefabs/PetRabbit.prefab | 6 +++--- Assets/Prefabs/PetSparrow.prefab | 13 ++++++++----- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/Assets/Prefabs/PetCultist.prefab b/Assets/Prefabs/PetCultist.prefab index 7f65c8c7..90dfd24e 100644 --- a/Assets/Prefabs/PetCultist.prefab +++ b/Assets/Prefabs/PetCultist.prefab @@ -5514,7 +5514,7 @@ AudioSource: m_Enabled: 1 serializedVersion: 4 OutputAudioMixerGroup: {fileID: 0} - m_audioClip: {fileID: 8300000, guid: 09176acc9bf91d6439bc3245068619f3, type: 3} + m_audioClip: {fileID: 8300000, guid: adc8ea6b0358ae74e8a2251ba127b349, type: 3} m_PlayOnAwake: 0 m_Volume: 1 m_Pitch: 1 @@ -5615,8 +5615,8 @@ MonoBehaviour: startingHealth: 100 currentHealth: 0 sinkSpeed: 2.5 - spawnClip: {fileID: 8300000, guid: a84dffcbace45f64993ed5f8ec4dba37, type: 3} - deathClip: {fileID: 8300000, guid: a84dffcbace45f64993ed5f8ec4dba37, type: 3} + spawnClip: {fileID: 8300000, guid: 9daac5a098522574880cca017f84edd7, type: 3} + deathClip: {fileID: 8300000, guid: 9daac5a098522574880cca017f84edd7, type: 3} --- !u!114 &8732158265285773929 MonoBehaviour: m_ObjectHideFlags: 0 diff --git a/Assets/Prefabs/PetRabbit.prefab b/Assets/Prefabs/PetRabbit.prefab index dd9226ec..7886a211 100644 --- a/Assets/Prefabs/PetRabbit.prefab +++ b/Assets/Prefabs/PetRabbit.prefab @@ -377,8 +377,8 @@ MonoBehaviour: startingHealth: 100 currentHealth: 0 sinkSpeed: 2.5 - spawnClip: {fileID: 8300000, guid: a468574e748250643b5839fec12fe08d, type: 3} - deathClip: {fileID: 8300000, guid: 6985f863f1e10a947bf0225e49345c76, type: 3} + spawnClip: {fileID: 8300000, guid: a8b050eed1db14341be082c9083d17cf, type: 3} + deathClip: {fileID: 8300000, guid: fe1e48f5c7d234b44ba6fda1ba0c19d9, type: 3} --- !u!82 &8595269273856966073 AudioSource: m_ObjectHideFlags: 0 @@ -389,7 +389,7 @@ AudioSource: m_Enabled: 1 serializedVersion: 4 OutputAudioMixerGroup: {fileID: 0} - m_audioClip: {fileID: 8300000, guid: ebcff791de344034fbb8e7b398134da5, type: 3} + m_audioClip: {fileID: 8300000, guid: a18ec795cb3354543a3a4a80762f9f3c, type: 3} m_PlayOnAwake: 0 m_Volume: 1 m_Pitch: 1 diff --git a/Assets/Prefabs/PetSparrow.prefab b/Assets/Prefabs/PetSparrow.prefab index 3b4c6a1f..e4d4fb04 100644 --- a/Assets/Prefabs/PetSparrow.prefab +++ b/Assets/Prefabs/PetSparrow.prefab @@ -5177,7 +5177,7 @@ AudioSource: m_Enabled: 1 serializedVersion: 4 OutputAudioMixerGroup: {fileID: 0} - m_audioClip: {fileID: 8300000, guid: 029cdcf307c84e544abc3f3ef027536b, type: 3} + m_audioClip: {fileID: 8300000, guid: 4031a79121f17e4499abc880da109433, type: 3} m_PlayOnAwake: 0 m_Volume: 1 m_Pitch: 1 @@ -5321,8 +5321,8 @@ MonoBehaviour: startingHealth: 100 currentHealth: 0 sinkSpeed: 2.5 - spawnClip: {fileID: 8300000, guid: 7cc82443bebe5eb4098ee825e607ee1a, type: 3} - deathClip: {fileID: 8300000, guid: 60cc90360f82f7449ba5c170e9e5b24a, type: 3} + spawnClip: {fileID: 8300000, guid: 0ee44057b9ac14b43a7213edf26545f2, type: 3} + deathClip: {fileID: 8300000, guid: 8a8f0e3944844434ea6407b1f43ba0b8, type: 3} --- !u!114 &8956976848956587111 MonoBehaviour: m_ObjectHideFlags: 0 @@ -5337,8 +5337,9 @@ MonoBehaviour: m_EditorClassIdentifier: target: {fileID: 0} rotationSpeed: 10 - maxDistance: 2 - radius: 10 + detectRadius: 4 + range: 4 + maxDistanceToEnemy: 2 --- !u!114 &-27303636289950640 MonoBehaviour: m_ObjectHideFlags: 0 @@ -5353,6 +5354,8 @@ MonoBehaviour: m_EditorClassIdentifier: damage: 10 timeBetweenAttack: 10 + range: 2 + detectRadius: 2 --- !u!1 &8956976849023729708 GameObject: m_ObjectHideFlags: 0 -- GitLab