Esempio n. 1
0
        private static void DebugDraw()
        {
            if (DebugMenu.GetBoolean("debug.checkBattlerites"))
            {
                var pos = new Vector2(150f, 100f);
                Drawing.DrawString(pos, "Tenacious Demon: " + HasTenaciousDemon, UnityEngine.Color.cyan, ViewSpace.ScreenSpacePixels);
                var pos2 = new Vector2(150f, 120f);
                Drawing.DrawString(pos2, "Nether Blade: " + HasNetherBlade, UnityEngine.Color.cyan, ViewSpace.ScreenSpacePixels);
            }

            if (DebugMenu.GetBoolean("debug.trueERange"))
            {
                var pos = new Vector2(150f, 140f);
                Drawing.DrawString(pos, "True E Range: " + TrueERange, UnityEngine.Color.yellow, ViewSpace.ScreenSpacePixels);
            }

            if (DebugMenu.GetBoolean("debug.ultiStatus"))
            {
                var pos = new Vector2(150f, 160f);
                Drawing.DrawString(pos, "Ulti mode: " + IsInUltimate, UnityEngine.Color.cyan, ViewSpace.ScreenSpacePixels);
            }

            if (DebugMenu.GetBoolean("debug.isCasting"))
            {
                var pos          = new Vector2(150f, 180f);
                var isCasting    = KaanHero.AbilitySystem.IsCasting;
                var isChanneling = KaanHero.IsChanneling;
                Drawing.DrawString(pos, "Is Casting: " + isCasting + " - Is Channeling: " + isChanneling, UnityEngine.Color.yellow, ViewSpace.ScreenSpacePixels);
            }
        }
Esempio n. 2
0
 private static void DebugUpdate()
 {
     if (DebugMenu.GetBoolean("debug.updateBattlerites"))
     {
         GetBattlerites();
         DebugMenu.SetBoolean("debug.updateBattlerites", false);
     }
 }