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:
Xan-Asc
2023-04-07 03:55:47 -07:00
committed by GitHub
parent d6aaac97af
commit 42dbe9d526
41 changed files with 1122 additions and 4694 deletions
@@ -46,7 +46,7 @@ function move:EmptyRestore(dest, restore)
end
if restore then
moveItems = TSM.db.factionrealm.BagState
moveItems = TSM.db.realm.BagState
else
local srcTable = move:getContainerTable("bags")
moveItems = TSM.data:getEmptyRestoreGroup(srcTable, isGuildBank)
@@ -58,7 +58,7 @@ function move:EmptyRestore(dest, restore)
TSM:Print(L["Preparing to Move"])
TSMAPI:MoveItems(moveItems, TSM.PrintMsg, true)
if restore then
TSM.db.factionrealm.BagState = {}
TSM.db.realm.BagState = {}
end
end
end