Database does not get all class restrictions?
Vicious Gladiator's Cloak of Prowess
- https://www.wowhead.com/item=60778/vicious-gladiators-cloak-of-prowess
- sourceID 30340
- Classes: Warrior, Paladin, Death Knight
Vicious Gladiator's Cape of Cruelty
- https://www.wowhead.com/item=60783/vicious-gladiators-cape-of-cruelty
- sourceID 30345
- Classes: Hunter, Rogue, Shaman, Monk, Druid
Wrathful Gladiator's Cloak of Ascendancy
- https://www.wowhead.com/item=51334/wrathful-gladiators-cloak-of-ascendancy
- sourceID 25203
- Classes: None
Original database entry
["7701:INVTYPE_CLOAK"] = {
["sources"] = {
[25203] = {
["subClass"] = "Cloth",
},
[30345] = {
["subClass"] = "Cloth",
},
},
},
After learning Vicious Gladiator's Cloak of Prowess
["7701:INVTYPE_CLOAK"] = {
["sources"] = {
[25203] = {
["subClass"] = "Cloth",
},
[30340] = {
["subClass"] = "Cloth",
["classRestrictions"] = {
"Warrior", -- [1]
"Paladin", -- [2]
"Death Knight", -- [3]
},
},
[30345] = {
["subClass"] = "Cloth",
},
},
},
Deleted entry, logged into Paladin
["7701:INVTYPE_CLOAK"] = {
["sources"] = {
[25203] = {
["subClass"] = "Cloth",
},
[30340] = {
["subClass"] = "Cloth",
["classRestrictions"] = {
"Warrior", -- [1]
"Paladin", -- [2]
"Death Knight", -- [3]
},
},
},
},
Logged into Hunter, 30340 removed because it isn't bound yet on Paladin, 30345 added without class restrictions
["7701:INVTYPE_CLOAK"] = {
["sources"] = {
[25203] = {
["subClass"] = "Cloth",
},
[30345] = {
["subClass"] = "Cloth",
},
},
},
Logged into Paladin, 30340 added back
["7701:INVTYPE_CLOAK"] = {
["sources"] = {
[30345] = {
["subClass"] = "Cloth",
},
[30340] = {
["subClass"] = "Cloth",
["classRestrictions"] = {
"Warrior", -- [1]
"Paladin", -- [2]
"Death Knight", -- [3]
},
},
[25203] = {
["subClass"] = "Cloth",
},
},
},
Edited by Ami Yuy