2 Commits
Author SHA1 Message Date
Brues 496979f486 Add BigWigs packager config to bundle both addons in one zip
Add .pkgmeta (package-as MikScrollingBattleText, move-folders pulling both addon folders to top-level siblings) and a tag-triggered GitHub Actions workflow using BigWigsMods/packager that attaches the single zip to an auto-created GitHub release. Switch both TOCs' Version to the @project-version@ substitution token so the packager stamps the git tag version.
2026-06-23 13:26:13 -05:00
Brues a5e46a62b8 Change nampower school table to sequential index keys
nampowerSchoolToType now uses sequential keys (0=Physical, then implicit 1-6 for Holy/Fire/Nature/Frost/Shadow/Arcane) instead of the previous power-of-two bitmask keys (0,1,2,4,8,16,32).
2026-06-23 13:25:13 -05:00
5 changed files with 46 additions and 11 deletions
+23
View File
@@ -0,0 +1,23 @@
name: Package and release
on:
push:
tags:
- '**'
permissions:
contents: write
jobs:
package:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Package and create GitHub release
uses: BigWigsMods/packager@v2
env:
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}
+10
View File
@@ -0,0 +1,10 @@
package-as: MikScrollingBattleText
enable-nolib-creation: no
move-folders:
MikScrollingBattleText/MikScrollingBattleText: MikScrollingBattleText
MikScrollingBattleText/MikScrollingBattleTextOptions: MikScrollingBattleTextOptions
ignore:
- README.md
@@ -705,15 +705,17 @@ end
-- Nampower / SuperWoW / UnitXP Infrastructure. -- Nampower / SuperWoW / UnitXP Infrastructure.
------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------
-- Spell school bitmask (Nampower) to MikCEH damage type mapping. -- Spell school index (Nampower) to MikCEH damage type mapping.
-- Nampower reports the school as a sequential index (0 = Physical, 1 = Holy,
-- 2 = Fire, ...), not the power-of-two bitmask the comment previously assumed.
local nampowerSchoolToType = { local nampowerSchoolToType = {
[0] = MikCEH.DAMAGETYPE_PHYSICAL, -- Physical [0] = MikCEH.DAMAGETYPE_PHYSICAL,
[1] = MikCEH.DAMAGETYPE_HOLY, -- Holy MikCEH.DAMAGETYPE_HOLY,
[2] = MikCEH.DAMAGETYPE_FIRE, -- Fire MikCEH.DAMAGETYPE_FIRE,
[4] = MikCEH.DAMAGETYPE_NATURE, -- Nature MikCEH.DAMAGETYPE_NATURE,
[8] = MikCEH.DAMAGETYPE_FROST, -- Frost MikCEH.DAMAGETYPE_FROST,
[16] = MikCEH.DAMAGETYPE_SHADOW, -- Shadow MikCEH.DAMAGETYPE_SHADOW,
[32] = MikCEH.DAMAGETYPE_ARCANE, -- Arcane MikCEH.DAMAGETYPE_ARCANE,
} }
-- Nampower SpellMissInfo to MikCEH action type mapping. -- Nampower SpellMissInfo to MikCEH action type mapping.
@@ -802,7 +804,7 @@ end
-- ********************************************************************************** -- **********************************************************************************
-- Converts a Nampower spell school bitmask to a MikCEH damage type. -- Converts a Nampower spell school index to a MikCEH damage type.
-- ********************************************************************************** -- **********************************************************************************
local function SchoolToDamageType(school) local function SchoolToDamageType(school)
if not school then return MikCEH.DAMAGETYPE_PHYSICAL end if not school then return MikCEH.DAMAGETYPE_PHYSICAL end
@@ -1,5 +1,5 @@
## Interface: 11200 ## Interface: 11200
## Version: 4.43 ## Version: @project-version@
## Title: Mik's Scrolling Battle Text ## Title: Mik's Scrolling Battle Text
## Notes: Scrolls battle information around the character model. ## Notes: Scrolls battle information around the character model.
## Notes-ruRU: Прокрутка информации боя вокруг модели персонажа. ## Notes-ruRU: Прокрутка информации боя вокруг модели персонажа.
@@ -1,5 +1,5 @@
## Interface: 11200 ## Interface: 11200
## Version: 4.43 ## Version: @project-version@
## Title: Mik's Scrolling Battle Text Options ## Title: Mik's Scrolling Battle Text Options
## Notes: Load on demand options for Mik's Scrolling Battle Text ## Notes: Load on demand options for Mik's Scrolling Battle Text
## Notes-ruRU: Настройки для Mik's Scrolling Battle Text ## Notes-ruRU: Настройки для Mik's Scrolling Battle Text