public static float GetRecoverTime() { var LocalPlayer_ = (IntPtr)WorldChrManPtr.GetPlayerSuperArmorPtr(); LocalPlayer_ = IntPtr.Add(LocalPlayer_, 0x34); return(Memory.ReadFloat(LocalPlayer_)); }
public static void SetRecoverTime(float RecoverVal) { var LocalPlayer_ = (IntPtr)WorldChrManPtr.GetPlayerSuperArmorPtr(); Memory.WriteFloat(LocalPlayer_ + 0x34, RecoverVal); }
public static void SetEventSuperArmor(bool state) { var LocalPlayer_ = (IntPtr)WorldChrManPtr.GetPlayerSuperArmorPtr(); Memory.WriteBoolean(LocalPlayer_ + 0x10, state); }