Enchanting fixes, reverted Crafting module to previous version that s… (#1)
* Enchanting fixes, reverted Crafting module to previous version that supports Ascension specific crafts and Vellums. * Updated enchanting names from DB * Added the remaining Ascension specific recipes * Replace SpellNames2IDs.lua with UnitCastingSpellID * Bugfix: Ascension uses exact quality QueryAuctionItems, TSM was designed for quality or higher * Bugfix: Properly get list of Professions via index * Replaced factionrealm with realm Ascension does not have strict faction seperation * GetTradeSkillCooldown -> SpellHasBaseCooldown GetTradeSkillCooldown only tells you if a spell is on CD, not if it has a CD Data is from DB, which isn't populated fully yet. * Implement backported API GetSpellBaseCooldown * bugfix: hasCD is nil if no cd, not 0
This commit is contained in:
@@ -455,7 +455,7 @@ function private:LoadOptionsPage(parent)
|
||||
relativeWidth = 0.49,
|
||||
callback = function(_, _, value)
|
||||
local name = characterList[value]
|
||||
TSM.db.factionrealm.characters[name] = nil
|
||||
TSM.db.realm.characters[name] = nil
|
||||
TSM:Printf("%s removed.", name)
|
||||
parent:ReloadTab()
|
||||
end,
|
||||
@@ -663,7 +663,7 @@ function private:LoadOptionsPage(parent)
|
||||
}
|
||||
|
||||
-- extra multi-account syncing widgets
|
||||
for account, players in pairs(TSM.db.factionrealm.syncAccounts) do
|
||||
for account, players in pairs(TSM.db.realm.syncAccounts) do
|
||||
local playerList = {}
|
||||
for player in pairs(players) do
|
||||
tinsert(playerList, player)
|
||||
@@ -674,7 +674,7 @@ function private:LoadOptionsPage(parent)
|
||||
text = DELETE,
|
||||
relativeWidth = 0.2,
|
||||
callback = function()
|
||||
TSM.db.factionrealm.syncAccounts[account] = nil
|
||||
TSM.db.realm.syncAccounts[account] = nil
|
||||
parent:ReloadTab()
|
||||
end,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user