Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using HarmonyLib;
- using GameNetcodeStuff;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using UnityEngine.AI;
- namespace TombsMadnessMod.Patches
- {
- [HarmonyPatch(typeof(ForestGiantAI))]
- internal class ForestGiantPatch
- {
- [HarmonyPatch("Start")]
- [HarmonyPostfix]
- static void ForestGiantSpeedPatch(ref NavMeshAgent ___agent, ref bool ___isDaytimeEnemy)
- {
- TombsMadnessModBase.mls.LogInfo("setting da settings!");
- ___agent.speed = 5000;
- ___isDaytimeEnemy = true;
- TombsMadnessModBase.mls.LogInfo("done with da settings!");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement