hydraontopp_void/Void/Modules/PhaseDown.cs
#region

using Void.ClientBase;
using Void.Modules.vModuleExtra;

#endregion

namespace Void.Modules
{
    internal class PhaseDown : Module
    {
        public PhaseDown() : base("PhaseDown", (char)0x07, "Flies")
        {
            addBypass(new BypassBox(new string[] { "Default", "Fast", "Super Fast" }));
        } // Not defined

        public override void OnTick()
        {
            Game.velocity = Base.Vec3();

            var newPos = Game.position;
            if (bypasses[0].curIndex == 0)
                newPos.y -= 0.01f;
            if (bypasses[0].curIndex == 1)
                newPos.y -= 0.01f;
            if (bypasses[0].curIndex == 2)
                newPos.y -= 0.1f;
            Game.position = newPos;
        }
    }
}