What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Jump When In Water Plugin

BIRDIE13

Member
Joined
Sep 10, 2011
Messages
42
Reaction score
0
Looking for a plugin that spam jump while on the surface of the water. After the 4.3 release, you get your 200% mountspeed while above the water if you jump.
 
Code:
using System;
using Styx;
using Styx.WoWInternals;
using Styx.Plugins.PluginClass;
using Styx.Helpers;

namespace PluginSwimJump
{


    public class SwimJump : HBPlugin
    {
        public override string Name { get { return "Jump when swimming"; } }
        public override string Author { get { return "Craftiestelk"; } }
        public override Version Version { get { return _version; } }
        private readonly Version _version = new Version(1, 0, 0, 0);
        
        public override void Pulse()
        {
			if (ObjectManager.Me.IsSwimming)
			{
				WoWMovement.Move(WoWMovement.MovementDirection.JumpAscend);
			}
		}
	}
}

My first try at a plugin, so be kind. It works for me, and all it you have to do is enable it then it will constantly jump when you are considered swimming.
Also, if anyone with more skills at plugins see any bad practices or anything, please do tell :)
 

Attachments

Back
Top