Skip to content

Commit

Permalink
Refactor: Replaced hardcoded map IDs for Darkmoon Island
Browse files Browse the repository at this point in the history
Now that there's a shared constant, might as well use it.
  • Loading branch information
rdw-software committed Sep 9, 2023
1 parent eae296c commit f38b33f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DB/Pets/HolidayEvents.lua
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ local holidayEventPets = {
chance = 17,
creatureId = 72160,
holidayTexture = CONSTANTS.HOLIDAY_TEXTURES.DARKMOON_FAIRE,
coords = { { m = 407, x = 39.8, y = 44.4, n = L["Moonfang"] } },
coords = { { m = CONSTANTS.UIMAPIDS.DARKMOON_ISLAND, x = 39.8, y = 44.4, n = L["Moonfang"] } },
},
["Red Helper Box"] = {
cat = CONSTANTS.ITEM_CATEGORIES.HOLIDAY,
Expand Down
4 changes: 2 additions & 2 deletions DB/Toys/HolidayEvents.lua
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ local holidayEventToys = {
npcs = { 71992 },
chance = 5,
holidayTexture = CONSTANTS.HOLIDAY_TEXTURES.DARKMOON_FAIRE,
coords = { { m = 407, x = 39.8, y = 44.4 } },
coords = { { m = CONSTANTS.UIMAPIDS.DARKMOON_ISLAND, x = 39.8, y = 44.4 } },
},
["Moonfang's Paw"] = {
cat = CONSTANTS.ITEM_CATEGORIES.HOLIDAY,
Expand All @@ -226,7 +226,7 @@ local holidayEventToys = {
npcs = { 71992 },
chance = 5,
holidayTexture = CONSTANTS.HOLIDAY_TEXTURES.DARKMOON_FAIRE,
coords = { { m = 407, x = 39.8, y = 44.4 } },
coords = { { m = CONSTANTS.UIMAPIDS.DARKMOON_ISLAND, x = 39.8, y = 44.4 } },
},
["Pineapple Lounge Cushion"] = {
cat = CONSTANTS.ITEM_CATEGORIES.HOLIDAY,
Expand Down

0 comments on commit f38b33f

Please sign in to comment.