add: infinite mirors in Manor
This commit is contained in:
@@ -46,6 +46,7 @@ namespace DevourClient
|
|||||||
public static bool exp_modifier = false;
|
public static bool exp_modifier = false;
|
||||||
public static float exp = 1000f;
|
public static float exp = 1000f;
|
||||||
public static bool _walkInLobby = false;
|
public static bool _walkInLobby = false;
|
||||||
|
public static bool infinite_mirors = false;
|
||||||
static bool player_esp = false;
|
static bool player_esp = false;
|
||||||
static bool player_skel_esp = false;
|
static bool player_skel_esp = false;
|
||||||
static bool player_snapline = false;
|
static bool player_snapline = false;
|
||||||
@@ -859,6 +860,8 @@ namespace DevourClient
|
|||||||
|
|
||||||
nb.locomotion.SetPosition(pos, false);
|
nb.locomotion.SetPosition(pos, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
infinite_mirors = GUI.Toggle(new Rect(Settings.Settings.x + 370, Settings.Settings.y + 150, 150, 20), infinite_mirors, "Infinite mirors");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using HarmonyLib;
|
using HarmonyLib;
|
||||||
|
using Il2Cpp;
|
||||||
|
|
||||||
namespace DevourClient.Hooks
|
namespace DevourClient.Hooks
|
||||||
{
|
{
|
||||||
@@ -116,5 +117,16 @@ namespace DevourClient.Hooks
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[HarmonyPatch(typeof(ManorMirrorController))]
|
||||||
|
[HarmonyPatch(nameof(ManorMirrorController.IsBroken))] //annotation boiler plate to tell Harmony what to patch. Refer to docs.
|
||||||
|
static class ManorMirrorController_IsBroken
|
||||||
|
{
|
||||||
|
static void Postfix(ref bool __result)
|
||||||
|
{
|
||||||
|
if (ClientMain.infinite_mirors)
|
||||||
|
__result = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,6 +48,8 @@ Everything about spoofing ehre (steam name, server name, level...) will persist
|
|||||||
* Change the player's speed
|
* Change the player's speed
|
||||||
* Fullbright
|
* Fullbright
|
||||||
* Create a lobby with no player limit
|
* Create a lobby with no player limit
|
||||||
|
* Infinite mirors (Manor update)
|
||||||
|
* Switch between realms (Manor update)
|
||||||
|
|
||||||
## English Installation Tutorial
|
## English Installation Tutorial
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user