August 18, 20178 yr Good day. Got a couple questions about druid shapeshifting 1) Is there any inbuid function to cancel shapshift? Or should i use custom one like this? Spoiler internal void CancelShift() { if (ObjectManager.Me.HaveBuff("Cat Form")) { CatForm.Launch(); } else if (ObjectManager.Me.HaveBuff("Bear Form")) { BearForm.Launch(); } else if (ObjectManager.Me.HaveBuff("Dire Bear Form")) { DireBearForm.Launch(); } else if (ObjectManager.Me.HaveBuff("Travel Form")) { TravelForm.Launch(); } else if (ObjectManager.Me.HaveBuff("Aquatic Form")) { AquaticForm.Launch(); } } 2) When bot needs to drink, and he is shifted, he does not cancel shapeshift by its own, he just standing and spamming water item. ANd recivind the message "Can't use items while shapeshifted" How do i fix that? Is there any state (like RegenerationInProgress) to check it and cancel my form in fightclass? Thank you in advance.
August 19, 20178 yr Author 3) Almost forgot, how do i cancel shapesift when i'm going to interact with vendor? There is the same problem, no auto cancel shift, maybe we need a condition like "SellingInProgress", when you are already at the nps, not when you are running to him. Thank you for any advices.
August 19, 20178 yr Author Any way to chek something like "Are we standing still 10 seconds already?" i've tried use "!ObjectManager.Me.GetMove" but it's sometimes =true even while move.
October 5, 20178 yr Can we please get some answers on this man's questions? They are the exact same issues I'm having with my feral druid too for a vanilla server.
October 5, 20178 yr Is this XML or C#? C#: public void Initialize() // When product started, initialize and launch Fightclass { WatchForEvents(); } public class Main: ICustomClass { internal void WatchForEvents() { EventsLuaWithArgs.OnEventsLuaWithArgs += (LuaEventsId id, List<string> args) => { if (id == LuaEventsId.PLAYER_REGEN_ENABLED && ObjectManager.Me.HealthPercent <= wManager.wManagerSetting.CurrentSetting.FoodPercent) { Lua.RunMacroText("/cancelaura [stance:1] Dire Bear Form; [stance:2] Aquatic Form; [stance:3] Cat Form; [stance:4] Travel Form; [stance:5] Moonkin Form"); } }; } } This has not been tested, and I am not sure if Vanilla WoW uses the same LuaEventID. This is just an idea.
October 10, 20178 yr Thank you for the response! I'm not sure how to input these into my current fight class though, so I can't test it yet.
Create an account or sign in to comment