comparison Constants.lua @ 18:86f02232a9e5

Make looting work under MoP. Added preliminary code for faction-change detection.
author James D. Callahan III <jcallahan@curse.com>
date Mon, 07 May 2012 14:35:14 -0500
parents 94bc939c2ca6
children 2ff0171bddae
comparison
equal deleted inserted replaced
17:632623625cd1 18:86f02232a9e5
15 15
16 16
17 ----------------------------------------------------------------------- 17 -----------------------------------------------------------------------
18 -- Constants. 18 -- Constants.
19 ----------------------------------------------------------------------- 19 -----------------------------------------------------------------------
20 private.wow_version, private.build_num = _G.GetBuildInfo()
21
20 private.UNIT_TYPES = { 22 private.UNIT_TYPES = {
21 PLAYER = 0, 23 PLAYER = 0,
22 OBJECT = 1, 24 OBJECT = 1,
23 UNKNOWN = 2, 25 UNKNOWN = 2,
24 NPC = 3, 26 NPC = 3,