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:
@@ -39,7 +39,7 @@ function data:getEmptyRestoreGroup(container, isGuildBank)
|
||||
grp[i] = q * -1 -- convert to negative number for TSMAPI:MoveItems
|
||||
restore[i] = q -- for the restore bagstate
|
||||
end
|
||||
TSM.db.factionrealm.BagState = restore
|
||||
TSM.db.realm.BagState = restore
|
||||
return grp
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user