|
@@ -1,29 +0,0 @@
|
|
|
-using GadgetCore;
|
|
|
|
|
-using GadgetCore.API;
|
|
|
|
|
-using HarmonyLib;
|
|
|
|
|
-using System;
|
|
|
|
|
-using System.Reflection;
|
|
|
|
|
-using UnityEngine;
|
|
|
|
|
-
|
|
|
|
|
-namespace AncientReassembler.Patches
|
|
|
|
|
-{
|
|
|
|
|
-
|
|
|
|
|
- [HarmonyPatch(typeof(GameScript))]
|
|
|
|
|
- [HarmonyPatch("HoverCombatChip")]
|
|
|
|
|
- [HarmonyGadget("AncientReassembler")]
|
|
|
|
|
- public static class Patch_GameScript_HoverCombatChip
|
|
|
|
|
- {
|
|
|
|
|
- [HarmonyPrefix]
|
|
|
|
|
- public static void Prefix(GameScript __instance, int slot , int[] ___combatChips)
|
|
|
|
|
- {
|
|
|
|
|
- try
|
|
|
|
|
- {
|
|
|
|
|
- if (slot <= 5)
|
|
|
|
|
- {
|
|
|
|
|
- //Core.itemStore.UpdateText(___combatChips[slot]);
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- catch { }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|