From 6ba56208df73a16277e29874fec4a778a7b6e37f Mon Sep 17 00:00:00 2001
From: Salomo309 <109785084+Salomo309@users.noreply.github.com>
Date: Fri, 10 May 2024 14:13:35 +0700
Subject: [PATCH] feat: add cheats

---
 Assets/Scripts/Cheat/DebugController.cs | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/Assets/Scripts/Cheat/DebugController.cs b/Assets/Scripts/Cheat/DebugController.cs
index 56ec93e..90a5bc6 100644
--- a/Assets/Scripts/Cheat/DebugController.cs
+++ b/Assets/Scripts/Cheat/DebugController.cs
@@ -1,3 +1,4 @@
+//using Nightmare;
 //using System.Collections.Generic;
 //using Unity.VisualScripting;
 //using UnityEngine;
@@ -36,42 +37,42 @@
 //    {
 //        NO_DAMAGE = new DebugCommand("no_damage", "Player Has No Damage.", "no_damage", () =>
 //        {
-
+//            FindObjectOfType<PlayerHealth>().CheatNoDamage();
 //        });
 
 //        ONE_HIT_KILL = new DebugCommand("one_hit_kill", "Player Can Kill Enemy with One Hit.", "one_hit_kill", () =>
 //        {
-
+//            FindObjectOfType<PlayerShooting>().CheatOneHitKill();
 //        });
 
 //        MOTHERLODE = new DebugCommand("motherlode", "Gain Resources.", "motherlode", () =>
 //        {
-
+//            FindObjectOfType<PlayerGold>().CheatMotherlode();
 //        });
 
 //        DOUBLE_SPEED = new DebugCommand("double_speed", "Double Player Speed.", "double_speed", () =>
 //        {
-
+//            FindObjectOfType<PlayerMovement>().CheatDoubleSpeed();
 //        });
 
 //        PET_FULL_HP = new DebugCommand("pet_full_hp", "Restore Pet's Health to Full.", "pet_full_hp", () =>
 //        {
-
+//            FindObjectOfType<PetHeatlh>().CheatPetFullHP();
 //        });
 
 //        KILL_PET = new DebugCommand("kill_pet", "Kill Pet.", "kill_pet", () =>
 //        {
-
+//            FindObjectOfType<PlayerShooting>().CheatKillPet();
 //        });
 
 //        ORB = new DebugCommand("orb", "Spawn Orb.", "orb", () =>
 //        {
-
+//            FindObjectOfType<PlayerShooting>().CheatOrb();
 //        });
 
 //        SKIP_LEVEL = new DebugCommand("skip_level", "Skip Current Level.", "skip_level", () =>
 //        {
-
+//            FindObjectOfType<PlayerShooting>().CheatSkipLevel();
 //        });
 
 
-- 
GitLab