glados123123123123

Untitled

Dec 21st, 2023
937
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.41 KB | None | 0 0
  1. [HarmonyPatch(typeof(ForestGiantAI))]
  2.     internal class ForestGiantPatch
  3.     {
  4.         [HarmonyPatch("Start")]
  5.         [HarmonyPostfix]
  6.         static void ForestGiantSpeedPatch(ref ForestGiantAI __instance)
  7.         {
  8.             TombsMadnessModBase.mls.LogInfo("setting da settings!");
  9.             __instance.agent.speed = 5000;
  10.             __instance.enemyType.isDaytimeEnemy = true;
  11.         }
  12.  
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment