Mercurial > wow > wowdb-profiler
comparison Main.lua @ 339:e4abf4f04db3 WoD
Accounted for GUID delimiter change in latest WoD build and added a new psuedoloot item.
| author | MMOSimca <MMOSimca@gmail.com> |
|---|---|
| date | Thu, 18 Sep 2014 04:38:51 -0400 |
| parents | 9b683a560ed3 |
| children | d708222fe96b |
comparison
equal
deleted
inserted
replaced
| 338:9b683a560ed3 | 339:e4abf4f04db3 |
|---|---|
| 485 if not guid then | 485 if not guid then |
| 486 return | 486 return |
| 487 end | 487 end |
| 488 | 488 |
| 489 -- We might want to use some of this new information later, but leaving the returns alone for now | 489 -- We might want to use some of this new information later, but leaving the returns alone for now |
| 490 local unit_type_name, unk_id1, server_id, instance_id, unk_id2, unit_idnum, spawn_id = (":"):split(guid) | 490 local unit_type_name, unk_id1, server_id, instance_id, unk_id2, unit_idnum, spawn_id = ("-"):split(guid) |
| 491 | 491 |
| 492 local unit_type = MatchUnitTypes(unit_type_name) | 492 local unit_type = MatchUnitTypes(unit_type_name) |
| 493 if unit_type ~= UNIT_TYPES.PLAYER and unit_type ~= UNIT_TYPES.PET and unit_type ~= UNIT_TYPES.ITEM then | 493 if unit_type ~= UNIT_TYPES.PLAYER and unit_type ~= UNIT_TYPES.PET and unit_type ~= UNIT_TYPES.ITEM then |
| 494 | 494 |
| 495 local id_mapping = NPC_ID_MAPPING[unit_idnum] | 495 local id_mapping = NPC_ID_MAPPING[unit_idnum] |
