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:
@@ -30,7 +30,7 @@ local savedDBDefaults = {
|
||||
priceColumn = 1,
|
||||
tooltip = true,
|
||||
},
|
||||
factionrealm = {
|
||||
realm = {
|
||||
player = {},
|
||||
whitelist = {},
|
||||
lastSoldFilter = 0,
|
||||
@@ -47,7 +47,7 @@ function TSM:OnInitialize()
|
||||
end
|
||||
|
||||
-- Add this character to the alt list so it's not undercut by the player
|
||||
TSM.db.factionrealm.player[UnitName("player")] = true
|
||||
TSM.db.realm.player[UnitName("player")] = true
|
||||
|
||||
-- register this module with TSM
|
||||
TSM:RegisterModule()
|
||||
@@ -117,7 +117,7 @@ TSM.operationDefaults = {
|
||||
matchStackSize = nil,
|
||||
ignoreLowDuration = 0,
|
||||
ignorePlayer = {},
|
||||
ignoreFactionrealm = {},
|
||||
ignorerealm = {},
|
||||
relationships = {},
|
||||
-- post
|
||||
stackSize = 1,
|
||||
|
||||
Reference in New Issue
Block a user