Skip to content

Commit 1110042

Browse files
authored
Merge pull request #105 from wowsims/update-db
Use correct spell ids for enchants in spellIcons
2 parents ba519fb + 271ce6a commit 1110042

7 files changed

Lines changed: 661 additions & 511 deletions

File tree

assets/database/db.bin

7.02 KB
Binary file not shown.

assets/database/db.json

Lines changed: 658 additions & 507 deletions
Large diffs are not rendered by default.

assets/database/leftover_db.bin

49 Bytes
Binary file not shown.

assets/database/leftover_db.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18204,7 +18204,8 @@
1820418204
{"id":232016,"name":"Bubblier Brightbrew Charm","icon":"inv_drink_08","type":12,"socketBonus":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":4,"unique":true,"classAllowlist":[1,2,3,4,5,6,7,8,9,10,11],"scalingOptions":{"0":{"randPropPoints":456,"stats":{"2":456},"ilvl":353}}},
1820518205
{"id":232017,"name":"Bitterer Balebrew Charm","icon":"inv_drink_04","type":12,"socketBonus":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":4,"unique":true,"classAllowlist":[1,2,3,4,5,6,7,8,9,10,11],"scalingOptions":{"0":{"randPropPoints":456,"stats":{"2":456},"ilvl":353}}},
1820618206
{"id":232030,"name":"Direbrew's Bloodied Shanker","icon":"inv_drink_10","type":13,"weaponType":2,"handType":2,"socketBonus":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"weaponSpeed":2,"quality":4,"classAllowlist":[1,2,3,4,5,6,7,8,9,10,11],"scalingOptions":{"0":{"randPropPoints":263,"weaponDamageMin":1224,"weaponDamageMax":2273,"stats":{"1":138,"2":207,"5":80,"6":99},"ilvl":353}}},
18207-
{"id":232031,"name":"Tremendous Tankard O' Terror","icon":"inv_drink_03","type":13,"weaponType":4,"handType":2,"socketBonus":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"weaponSpeed":2.6,"quality":4,"classAllowlist":[1,2,3,4,5,6,7,8,9,10,11],"scalingOptions":{"0":{"randPropPoints":263,"weaponDamageMin":1591,"weaponDamageMax":2955,"stats":{"1":138,"2":207,"6":94,"7":89},"ilvl":353}}}
18207+
{"id":232031,"name":"Tremendous Tankard O' Terror","icon":"inv_drink_03","type":13,"weaponType":4,"handType":2,"socketBonus":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"weaponSpeed":2.6,"quality":4,"classAllowlist":[1,2,3,4,5,6,7,8,9,10,11],"scalingOptions":{"0":{"randPropPoints":263,"weaponDamageMin":1591,"weaponDamageMax":2955,"stats":{"1":138,"2":207,"6":94,"7":89},"ilvl":353}}},
18208+
{"id":246583,"name":"Leafre's Ring of Incredible Haste","icon":"inv_misc_ring_generic_3","type":11,"socketBonus":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":4,"classAllowlist":[1,2,3,4,5,6,7,8,9,10,11],"scalingOptions":{"0":{"randPropPoints":49,"stats":{"7":20000},"ilvl":130}}}
1820818209
],
1820918210
"randomSuffixes":[
1821018211
],
@@ -18769,7 +18770,6 @@
1876918770
{"effectId":4805,"itemId":87560,"spellId":121194,"name":"Greater Ox Horn Inscription","icon":"inv_inscription_runescrolloffortitude_yellow","type":3,"stats":[0,0,300,0,0,0,0,0,0,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":4},
1877018771
{"effectId":4806,"itemId":87559,"spellId":121195,"name":"Greater Crane Wing Inscription","icon":"inv_inscription_runescrolloffortitude_yellow","type":3,"stats":[0,0,0,200,0,0,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":4},
1877118772
{"effectId":4807,"itemId":84578,"spellId":103465,"name":"Enchant Ring - Greater Strength","icon":"inv_scroll_03","type":11,"stats":[160,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":1,"requiredProfession":3},
18772-
{"effectId":4808,"spellId":121988,"name":"Enchant Weapon - Magic Weapon","icon":"trade_engraving","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":1},
1877318773
{"effectId":4822,"itemId":83764,"spellId":122387,"name":"Shadowleather Leg Armor","icon":"inv_misc_cataclysmarmorkit_02","type":9,"stats":[0,285,0,0,0,0,165,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":3},
1877418774
{"effectId":4823,"itemId":83765,"spellId":122388,"name":"Angerhide Leg Armor","icon":"inv_misc_armorkit_mop_04","type":9,"stats":[285,0,0,0,0,0,165,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":3},
1877518775
{"effectId":4824,"itemId":83763,"spellId":122386,"name":"Ironscale Leg Armor","icon":"inv_misc_armorkit_mop_01","type":9,"stats":[0,0,430,0,0,0,0,0,0,165,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":3},

assets/enchants/descriptions.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,6 @@
509509
"4805": "+300 Stamina and +100 Dodge",
510510
"4806": "+200 Intellect and +100 Critical Strike",
511511
"4807": "+160 Strength",
512-
"4808": "Magic Weapon",
513512
"4822": "+285 Agility and +165 Critical Strike",
514513
"4823": "+285 Strength and +165 Critical Strike",
515514
"4824": "+430 Stamina and +165 Dodge",
0 Bytes
Binary file not shown.

tools/database/gen_db/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func main() {
204204
db.AddItemIcon(enchant.ItemId, enchant.Icon, enchant.Name)
205205
}
206206
if enchant.SpellId != 0 {
207-
db.AddSpellIcon(enchant.ItemId, enchant.Icon, enchant.Name)
207+
db.AddSpellIcon(enchant.SpellId, enchant.Icon, enchant.Name)
208208
}
209209
}
210210

0 commit comments

Comments
 (0)