Skip to content

Commit

Permalink
feat: disenchant for thrown
Browse files Browse the repository at this point in the history
  • Loading branch information
DengSir committed Jan 6, 2022
1 parent 8b71232 commit 04bd870
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"Lua.diagnostics.disable": [
"undefined-global",
"redundant-parameter"
]
"Lua.diagnostics.disable": ["redundant-parameter", "undefined-global"],
"Lua.workspace.ignoreDir": [".vscode", "Libs/Ace*", "ElvUI.lua"]
}
7 changes: 5 additions & 2 deletions Data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@ ns.DISENCHANT_KEYS = {
INVTYPE_WEAPONOFFHAND = 'Weapon',
INVTYPE_RANGED = 'Weapon',
INVTYPE_RANGEDRIGHT = 'Weapon',
-- @bcc@
INVTYPE_THROWN = 'Weapon',
-- @end-bcc@
}

ns.DISENCHANT_POSSIBLES = {
Weapon = {
[Enum.ItemQuality.Good] = {
[Enum.ItemQuality.Good or Enum.ItemQuality.Uncommon] = {
{
possibles = { --
{min = 1, max = 2, rate = 0.8, id = 10938},
Expand Down Expand Up @@ -208,7 +211,7 @@ ns.DISENCHANT_POSSIBLES = {
},
},
Armor = {
[Enum.ItemQuality.Good] = {
[Enum.ItemQuality.Good or Enum.ItemQuality.Uncommon] = {
{
possibles = { --
{min = 1, max = 2, rate = 0.8, id = 10940},
Expand Down

0 comments on commit 04bd870

Please sign in to comment.