Jump to content

Recommended Posts

  • 2 weeks later...

@Jensen- Hello, this should work (not tested) if you want to go underwater and grab a object. it should work.

run this code as a overridepulseCsharp

if (Quest.HasQuest(QuestID) && !(ObjectManager.Me.Position.DistanceTo2D(new Vector3(y, x, z)) < 10) && !(wManager.Wow.ObjectManager.ObjectManager.Me.IsSwimming))
{
wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(x, y, z));
}
else 
if (wManager.Wow.ObjectManager.ObjectManager.Me.IsSwimming && !(ObjectManager.Me.HaveBuff(BuffID)))
{
wManager.Wow.Helpers.Lua.RunMacroText("/equip Aquatic Form");
System.Threading.Thread.Sleep(500);
}
else
if (wManager.Wow.ObjectManager.ObjectManager.Me.IsSwimming && ObjectManager.Me.HaveBuff(BuffID) && wManager.Wow.ObjectManager.ObjectManager.Me.IsSwimming)
{
wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(x, y, z));
wManager.Wow.Helpers.Interact.InteractGameObject(ObjectManager.GetWoWGameObjectByEntry(Object ID).FirstOrDefault().GetBaseAddress);
}
return true;

or if you are using a fightclass, add this to you're fight class as a CSharp and make sure to add it as a buff in the options.

if (wManager.Wow.ObjectManager.ObjectManager.Me.IsSwimming && !(ObjectManager.Me.HaveBuff(BuffID)))
{
wManager.Wow.Helpers.Lua.RunMacroText("/equip Aquatic Form");
}

If there is any problem, contact me via message and ill try to help debug them. 

i am sorry for interupting this fourm post, i am trying to be helpful. ?

Link to comment
https://wrobot.eu/forums/topic/10974-aquatic-form/#findComment-52901
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...