-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent errors for unsupported classes
- Loading branch information
Showing
10 changed files
with
104 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
---@class AddonEnv | ||
local _addon = select(2, ...); | ||
local _, playerClass = UnitClass("player"); | ||
if playerClass ~= "DEATHKNIGHT" then | ||
return; | ||
end | ||
|
||
---@type TalentDataRawEntry[] | ||
_addon.talentDataRaw = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
-- GENERATED | ||
|
||
---@class AddonEnv | ||
local _addon = select(2, ...); | ||
local _, playerClass = UnitClass("player"); | ||
if playerClass ~= "DEATHKNIGHT" then | ||
return; | ||
end | ||
|
||
---@type SpellInfoTable | ||
_addon.spellInfo = {}; | ||
|
||
---@type SpellClassSet | ||
_addon.spellClassSet = { | ||
[1] = { | ||
}, | ||
[2] = { | ||
}, | ||
[3] = { | ||
}, | ||
[4] = { | ||
}, | ||
}; | ||
|
||
---@type ClassGlyphs | ||
_addon.classGlyphs = {}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ if playerClass ~= "HUNTER" then | |
return; | ||
end | ||
|
||
---@type TalentDataRawEntry[] | ||
_addon.talentDataRaw = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters