comparison Constants.lua @ 351:e7cbe43d8418 WoD

Fixed bugs with timber loot recording and restricted its recording to only one object for each tree size.
author MMOSimca <MMOSimca@gmail.com>
date Sun, 05 Oct 2014 17:35:53 -0400
parents fb1d08480f67
children 06b53a3d2b4a
comparison
equal deleted inserted replaced
350:37c27a7509c4 351:e7cbe43d8418
15 ----------------------------------------------------------------------- 15 -----------------------------------------------------------------------
16 -- Game Data Constants. 16 -- Game Data Constants.
17 ----------------------------------------------------------------------- 17 -----------------------------------------------------------------------
18 -- Map of Alliance Logging NPC Summon spells to all possible Timber objectIDs of the proper tree size 18 -- Map of Alliance Logging NPC Summon spells to all possible Timber objectIDs of the proper tree size
19 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP = { 19 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP = {
20 [167902] = { 233604, 233922, 234021, 234080, 234097, 234109, 234110, 234122, 234126, 234193, 234197, 237727, }, 20 [167902] = 234021, --{ 233604, 233922, , 234080, 234097, 234109, 234110, 234122, 234126, 234193, 234197, 237727, },
21 [167969] = { 233634, 234000, 234022, 234098, 234111, 234119, 234123, 234127, 234194, 234196, 234198, }, 21 [167969] = 234022, --{ 233634, 234000, , 234098, 234111, 234119, 234123, 234127, 234194, 234196, 234198, },
22 [168201] = { 233625, 234007, 234023, 234099, 234120, 234124, 234128, 234195, 234199, }, 22 [168201] = 234023, --{ 233625, 234007, , 234099, 234120, 234124, 234128, 234195, 234199, },
23 } 23 }
24 -- Account for Horde spell IDs 24 -- Account for Horde spell IDs
25 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[167961] = private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[167902] 25 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[167961] = private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[167902]
26 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[168043] = private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[167969] 26 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[168043] = private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[167969]
27 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[168200] = private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[168201] 27 private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[168200] = private.LOGGING_SPELL_ID_TO_OBJECT_ID_MAP[168201]