Skip to content

Commit

Permalink
Merge pull request #570 from Nnoggie/dfSeason4
Browse files Browse the repository at this point in the history
Df season4
  • Loading branch information
Nnoggie committed Apr 22, 2024
2 parents dbc3bc2 + 7a1b83f commit 8564cd9
Show file tree
Hide file tree
Showing 1,220 changed files with 13,608 additions and 11,048 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- v4.4.0.0 (2024-04-01)
- Season 4 Dungeon update
- v4.3.5.1 (2024-03-21)
- Patch 10.2.6 update
- v4.3.5.0 (2024-03-15)
Expand Down
18 changes: 10 additions & 8 deletions Developer/DataCollection.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ local MDT = MDT

-- CHANGE HERE TO DEFINE WHICH DUNGEONS TO TRACK FOR DATA COLLECTION
local dungeonsToTrack = {
[1] = 100,
[2] = 101,
[3] = 102,
[4] = 103,
[5] = 15,
[6] = 104,
[7] = 4,
[8] = 105,
[1] = 42,
[2] = 43,
[3] = 44,
[4] = 45,
[5] = 49,
[6] = 48,
[7] = 51,
[8] = 50,
}

MDT.DataCollection = {}
Expand Down Expand Up @@ -556,7 +556,9 @@ function DC:InitHealthTrack()
print("MDT HPTRACK: Processed "..numEnemyHealthChanged.." enemies")
end
end
end

do
function MDT:CompleteCharacteristics()
local dungeonIdx = MDT:GetDB().currentDungeonIdx

Expand Down
16 changes: 15 additions & 1 deletion Developer/Devpanel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -309,12 +309,26 @@ function MDT:CreateDevPanel(frame)
end,
},
[11] = {
text = "Brackenhide Cage",
func = function()
if not MDT.mapPOIs[db.currentDungeonIdx] then MDT.mapPOIs[db.currentDungeonIdx] = {} end
if not MDT.mapPOIs[db.currentDungeonIdx][MDT:GetCurrentSubLevel()] then
MDT.mapPOIs[db.currentDungeonIdx][MDT:GetCurrentSubLevel()] = {}
end
local pois = MDT.mapPOIs[db.currentDungeonIdx][MDT:GetCurrentSubLevel()]
local cageIndex = tonumber(option1:GetText())
local posx, posy = 400, -250
tinsert(pois, { x = posx, y = posy, template = "MapLinkPinTemplate", type = "brackenhideCage", cageIndex = cageIndex })
MDT:POI_UpdateAll()
end,
},
[12] = {
text = "Export Zoom Settings",
func = function()
MDT:ExportCurrentZoomPanSettings()
end,
},
[12] = {
[13] = {
text = "Export to LUA",
func = function()
local export = MDT:ExportLuaTable(MDT.mapPOIs[db.currentDungeonIdx], MDT:GetSchema("pois"))
Expand Down
8 changes: 8 additions & 0 deletions Developer/Schema.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ local schemas = {
name = "botTypeIndex",
type = "number"
},
{
name = "cageIndex",
type = "number"
},
{
name = "chainIndex",
type = "number"
},
{
name = "textAnchor",
type = "string"
Expand Down

0 comments on commit 8564cd9

Please sign in to comment.