using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Unity.IL2CPP;
using GTFO.API;
using GameData;
using UnityEngine;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
[assembly: AssemblyCompany("HelRev")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("HelRev")]
[assembly: AssemblyTitle("HelRev")]
[assembly: AssemblyVersion("1.0.0.0")]
[BepInPlugin("HellRevolver", "HellRevolver", "0.0.1")]
internal class Loader : BasePlugin
{
public override void Load()
{
((BasePlugin)this).AddComponent<recoil>();
EventAPI.OnAssetsLoaded += recoil.Initialize;
}
}
internal class recoil : MonoBehaviour
{
public static void Initialize()
{
RecoilDataBlock block = GameDataBlockBase<RecoilDataBlock>.GetBlock(22u);
block.power.Min = 3f;
block.power.Max = 4f;
block.recoilAimingWeight = 0.5f;
}
}