diff --git a/Assets/GameManager.cs b/Assets/GameManager.cs index c65a2df0d64f97b2639ac7e2e5dd848f1dc8c812..e94b7c8bb6f87bf127069896a89e9191cc89ecca 100644 --- a/Assets/GameManager.cs +++ b/Assets/GameManager.cs @@ -27,6 +27,7 @@ public class GameManager : MonoBehaviour public void WinLevel() { + player.GetComponent<PlayerMoney>().AddMoney(500); StartCoroutine(StartCounter()); } diff --git a/Assets/Scenes/Level_01.unity b/Assets/Scenes/Level_01.unity index f2a654ecc8d4d60cfd5c95c021edc037ffd85671..c6f82ad10bee7fada0a9984bcfa183496cf7b608 100644 --- a/Assets/Scenes/Level_01.unity +++ b/Assets/Scenes/Level_01.unity @@ -25278,23 +25278,6 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 0.12, y: 0.5, z: 0.12} m_Center: {x: 0, y: 0, z: 0} ---- !u!1 &1096261168 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 4674471357469637176, guid: 22631eaeabd21f54e8a9feb8cc6fc7b2, type: 3} - m_PrefabInstance: {fileID: 951586642} - m_PrefabAsset: {fileID: 0} ---- !u!114 &1096261172 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1096261168} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: ee302440764eda940a231128500a53ff, type: 3} - m_Name: - m_EditorClassIdentifier: --- !u!1 &1102024337 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/Shop/Pet.json b/Assets/Scripts/Shop/Pet.json index 0ce7755c17fdd68c8195ec4957d4a4378524ec6c..1c3c1185f34a8424d7040764a2a856a3d8d7b786 100644 --- a/Assets/Scripts/Shop/Pet.json +++ b/Assets/Scripts/Shop/Pet.json @@ -3,21 +3,21 @@ "name": "Kiana", "type": "Attacker", "desc": "Menyerang musuh dan mengejar musuh. Dapat terkena damage oleh musuh apabila terlalu dekat. Tipe serangan yang dilakukan adalah jarak jauh.", - "price": 1000, + "price": 700, "prefab": "" }, "item2": { "name": "Yun", "type": "Healer", "desc": "Memberikan <color=green>heal</color> setiap <color=red>10</color> detik kepada pemain. Pet akan berusaha menghindari musuh", - "price": 1500, + "price": 800, "prefab": "" }, "item3": { "name": "Tuna", "type": "Supporter", "desc": "Memberikan Pemain <color=red>Aura Buff</color> yang meningkatkan <color=red>damage</color> pemain. Pet akan berusaha menghindari musuh", - "price": 1250, + "price": 500, "prefab": "" } } \ No newline at end of file