Hello!
I'm using this code snippet to see if an unit is lootable or not:
Ripped off BabBot, but it doesn't seem to work. It's always returning true even if the mob cannot be looted.Code:public bool IsLootable { get { return Convert.ToBoolean(Memory.Instance.MemoryReader.Read<uint>(new IntPtr( m_ObjectDescriptor + Offsets.UNIT_DYNAMIC_FLAGS)) & 0x0D); } }
Any ideas ? Thanks for everything.![]()