When a toon starts using the wand it will continue until you cast a spell or move. Anyone know where I should look to find out if wanding is on? I found some old code from WowSharp which indicates that it is a flag, but I tried to do a simple memory search for bit 0x1000 with wands on and off but I didn't find an offset from the player. Is there an Lua function which I can take a look at.
Code:
///
/// Is the player (auto) shooting using a ranged weapon?
///
public bool IsShooting
{
get
{
if( type != WoW_ObjectTypes.Player)
return false;
return ((owner.Memory.ReadInteger( BasePtr + owner.offsets.getOffset("CGPlayer_C__IsShootingFlag")) & 0x1000) != 0);
}
}