Skip to content

Commit ba8a790

Browse files
committed
Add mists durations, fix library versioning. add mists toc.
1 parent a2a08e1 commit ba8a790

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

.github/workflows/toc-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: actions/checkout@v4.1.1
1313

1414
- name: Update TOC Interface version
15-
uses: p3lim/toc-interface-updater@v3
15+
uses: p3lim/toc-interface-updater@v4
1616
with:
1717
base: retail # this is default
1818

MagicComm.toc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
## Interface-Classic: 11403
33
## Interface-BCC: 20504
44
## Interface-Cata: 40400
5+
## Interface-Mists: 50500
56
## X-Curse-Project-ID: 14360
67
## LoadOnDemand: 1
78
## Title: Lib: MagicComm-1.0
89
## Notes: Library handling communcation for Magic* addons
9-
## Version: 1.0.@project-revision@
10+
## Version: 1.0.@project-date-integer@
1011
## Author: NeoTron
1112
## X-eMail: neotron@gmail.com
1213
## X-Category: Library

MagicComm/CCSpellIDsCata.lua

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@ Used for auto-learning which abilities can be used to CC a mob
2424
**********************************************************************
2525
]]
2626

27-
if WOW_PROJECT_ID == WOW_PROJECT_MAINLINE then return end
27+
if WOW_PROJECT_ID ~= WOW_PROJECT_CLASSIC then return end
28+
29+
local version = select(1, GetBuildInfo())
30+
if not version or not version:match("^4%.") then return end
2831

29-
if WOW_PROJECT_ID ~= WOW_PROJECT_WRATH_CLASSIC or
30-
LE_EXPANSION_LEVEL_CURRENT ~= LE_EXPANSION_CATACLYSM then
31-
return
32-
end
3332

3433
local comm = LibStub("MagicComm-1.0")
3534
if comm.upgradeDone then

MagicComm/MagicComm.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ License:
2727
2828
]]
2929

30-
local MAJOR, MINOR = "MagicComm-1.0", 20240724
30+
local MAJOR = "MagicComm-1.0"
31+
local MINOR = tonumber("@project-date-integer@") or tonumber(date("%Y%m%d%H%M%S"))
32+
3133

3234
local MagicComm = LibStub:NewLibrary(MAJOR, MINOR)
3335

MagicComm/lib.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
<Script file="CCSpellIDsClassic.lua"/>
66
<Script file="CCSpellIDsWrath.lua"/>
77
<Script file="CCSpellIDsCata.lua"/>
8+
<Script file="CCSpellIDsMists.lua"/>
89
</Ui>

0 commit comments

Comments
 (0)