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.

Warrior Stances and Weapon Enhancements

Featured Replies

these are mostly for my own reference but also for anyone who is looking to do the same things that I was trying to do.

these properties and methods assist in swapping warrior stances and checking for weapon enhancements such as poisons/oils/shaman enhancements etcetcetc

        public static Task<bool> HasBattleStance =>
            Task.FromResult(Lua.LuaDoString<int>("_,_,isActive,_ = GetShapeshiftFormInfo(1);", "isActive") == 1);

        public static Task CastBattleStanceAsync()
        {
            Lua.LuaDoString("CastSpellByName('Battle Stance')");
            return Task.CompletedTask;
        }

        public static Task<bool> HasDefensiveStance =>
            Task.FromResult(Lua.LuaDoString<int>("_,_,isActive,_ = GetShapeshiftFormInfo(2);", "isActive") == 1);

        public static Task CastDefensiveStanceAsync()
        {
            Lua.LuaDoString("CastSpellByName('Defensive Stance')");
            return Task.CompletedTask;
        }

        public static Task<bool> HasBerserkerStance =>
            Task.FromResult(Lua.LuaDoString<int>("_,_,isActive,_ = GetShapeshiftFormInfo(3);", "isActive") == 1);

        public static Task CastBerserkerStanceAsync()
        {
            Lua.LuaDoString("CastSpellByName('Berserker Stance')");
            return Task.CompletedTask;
        }

        public static Task<bool> HasMainHandEnhancement =>
            Task.FromResult(Lua.LuaDoString<int>("result = GetWeaponEnchantInfo()", "result") == 1);

        public static Task<bool> HasOffHandEnhancement =>
            Task.FromResult(Lua.LuaDoString<int>("_, _, _, result = GetWeaponEnchantInfo()", "result") == 1);

 

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.