Skip to content

Commit

Permalink
Update crafting API notes
Browse files Browse the repository at this point in the history
  • Loading branch information
p3lim committed Mar 2, 2023
1 parent 39aed45 commit 97101ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LibProcessable.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Returns whether the player can mill the given item.
**Notes**:
* since Dragonflight it's required to use the tradeskill API to mill, e.g:
`C_TradeSkillUI.CraftRecipe(prospectingSkillID, numCasts, {})`
`C_TradeSkillUI.CraftSalvage(millingSpellID, numCasts, ItemLocation)`
--]]
function lib:IsMillable(itemID, ignoreMortar)
if type(itemID) == 'string' then
Expand Down Expand Up @@ -100,7 +100,7 @@ Returns whether the player can prospect the given item.
**Notes**:
* since Dragonflight it's required to use the tradeskill API to prospect, e.g:
`C_TradeSkillUI.CraftRecipe(prospectingSkillID, numCasts, {})`
`C_TradeSkillUI.CraftSalvage(prospectingSpellID, numCasts, ItemLocation)`
--]]
function lib:IsProspectable(itemID)
if type(itemID) == 'string' then
Expand Down

0 comments on commit 97101ab

Please sign in to comment.