Exemplo n.º 1
0
                    public static float GetRecoverTime()
                    {
                        var LocalPlayer_ = (IntPtr)WorldChrManPtr.GetPlayerSuperArmorPtr();

                        LocalPlayer_ = IntPtr.Add(LocalPlayer_, 0x34);

                        return(Memory.ReadFloat(LocalPlayer_));
                    }
Exemplo n.º 2
0
                    public static void SetRecoverTime(float RecoverVal)
                    {
                        var LocalPlayer_ = (IntPtr)WorldChrManPtr.GetPlayerSuperArmorPtr();

                        Memory.WriteFloat(LocalPlayer_ + 0x34, RecoverVal);
                    }
Exemplo n.º 3
0
                    public static void SetEventSuperArmor(bool state)
                    {
                        var LocalPlayer_ = (IntPtr)WorldChrManPtr.GetPlayerSuperArmorPtr();

                        Memory.WriteBoolean(LocalPlayer_ + 0x10, state);
                    }