Jump to content

Recommended Posts

For anyone having issues with using the Wand Shoot ability, here is a snippet for you:

// Test if player has a wand in the proper equipment slot | In Combat
if (ObjectManager.Me.GetEquipedItemBySlot(wManager.Wow.Enums.InventorySlot.INVSLOT_RANGED) != 0
    && ObjectManager.Me.InCombat
    && !ObjectManager.Me.GetMove)
{
    // Wand Shoot
    if(Lua.LuaDoString<int>("isAutoRepeat = \"\";  isAutoRepeat = 0; local name = GetSpellInfo(5019); if IsAutoRepeatSpell(name) then isAutoRepeat = 1 end", "isAutoRepeat") == 0)
    {
      	// Spammable Shoot Macro
        Lua.RunMacroText("/castsequence !Shoot, !Shoot");
    }
}

 

Link to comment
https://wrobot.eu/forums/topic/6858-wand-use-isautorepeatactionslot/
Share on other sites

  • 2 years later...
  • 3 years later...

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