Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Druid shapeshift

Featured Replies

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.

  • 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.

  • 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.

  • 1 month later...

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.

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.
 

  • 6 years later...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.