@blizzhackers/d2data 2.0.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compile.js +3 -1
- package/docs/drops/package-lock.json +9 -9
- package/docs/drops/package.json +1 -1
- package/docs/leveling/package-lock.json +9 -9
- package/docs/leveling/package.json +1 -1
- package/docs/runewords/package-lock.json +9 -9
- package/docs/runewords/package.json +1 -1
- package/json/hireling.json +89 -89
- package/json/hirelingdesc.json +28 -0
- package/json/items.json +2 -2
- package/json/itemstatcost.json +112 -72
- package/json/levelgroups.json +689 -0
- package/json/levels.json +136 -0
- package/json/magicprefix.json +0 -37
- package/json/magicsuffix.json +0 -8
- package/json/misc.json +2 -2
- package/json/monai.json +5 -1
- package/json/monstats.json +316 -37
- package/json/pettype.json +1 -1
- package/json/properties.json +66 -0
- package/json/skilldesc.json +13 -0
- package/json/skills.json +21 -6
- package/json/soundenviron.json +1967 -1950
- package/json/sounds.json +158 -0
- package/json/states.json +11 -2
- package/json/uniqueitems.json +138 -0
- package/package.json +6 -11
- package/string.js +9 -5
package/json/sounds.json
CHANGED
|
@@ -446539,5 +446539,163 @@
|
|
|
446539
446539
|
"HDOptOut": 0,
|
|
446540
446540
|
"Delay": 0,
|
|
446541
446541
|
"lineNumber": 11384
|
|
446542
|
+
},
|
|
446543
|
+
"11385": {
|
|
446544
|
+
"Sound": "desecrated_enter",
|
|
446545
|
+
"*Index": 11385,
|
|
446546
|
+
"Redirect": "desecrated_enter_hd",
|
|
446547
|
+
"Channel": "sfx/ambient/event-3d_sd",
|
|
446548
|
+
"FileName": "quest\\desecrated_enter.flac",
|
|
446549
|
+
"IsLocal": 0,
|
|
446550
|
+
"IsMusic": 0,
|
|
446551
|
+
"IsAmbientScene": 0,
|
|
446552
|
+
"IsAmbientEvent": 0,
|
|
446553
|
+
"IsUI": 0,
|
|
446554
|
+
"Volume Min": 255,
|
|
446555
|
+
"Volume Max": 255,
|
|
446556
|
+
"Pitch Min": 100,
|
|
446557
|
+
"Pitch Max": 100,
|
|
446558
|
+
"Group Size": 0,
|
|
446559
|
+
"Group Weight": 0,
|
|
446560
|
+
"Loop": 0,
|
|
446561
|
+
"Fade In": 0,
|
|
446562
|
+
"Fade Out": 0,
|
|
446563
|
+
"Defer Inst": 1,
|
|
446564
|
+
"Stop Inst": 0,
|
|
446565
|
+
"Duration": 0,
|
|
446566
|
+
"Compound": 0,
|
|
446567
|
+
"Falloff": 4,
|
|
446568
|
+
"LFEMix": 15,
|
|
446569
|
+
"3dSpread": 0,
|
|
446570
|
+
"Priority": 255,
|
|
446571
|
+
"Stream": 1,
|
|
446572
|
+
"Is2D": 0,
|
|
446573
|
+
"Tracking": 0,
|
|
446574
|
+
"Solo": 1,
|
|
446575
|
+
"Music Vol": 0,
|
|
446576
|
+
"Block 1": -1,
|
|
446577
|
+
"Block 2": -1,
|
|
446578
|
+
"Block 3": -1,
|
|
446579
|
+
"HDOptOut": 0,
|
|
446580
|
+
"Delay": 0,
|
|
446581
|
+
"lineNumber": 11385
|
|
446582
|
+
},
|
|
446583
|
+
"11386": {
|
|
446584
|
+
"Sound": "desecrated_enter_hd",
|
|
446585
|
+
"*Index": 11386,
|
|
446586
|
+
"Channel": "sfx/ambient/event-3d_hd",
|
|
446587
|
+
"FileName": "quest\\desecrated_enter_hd.flac",
|
|
446588
|
+
"IsLocal": 0,
|
|
446589
|
+
"IsMusic": 0,
|
|
446590
|
+
"IsAmbientScene": 0,
|
|
446591
|
+
"IsAmbientEvent": 0,
|
|
446592
|
+
"IsUI": 0,
|
|
446593
|
+
"Volume Min": 255,
|
|
446594
|
+
"Volume Max": 255,
|
|
446595
|
+
"Pitch Min": 100,
|
|
446596
|
+
"Pitch Max": 100,
|
|
446597
|
+
"Group Size": 0,
|
|
446598
|
+
"Group Weight": 0,
|
|
446599
|
+
"Loop": 0,
|
|
446600
|
+
"Fade In": 0,
|
|
446601
|
+
"Fade Out": 0,
|
|
446602
|
+
"Defer Inst": 1,
|
|
446603
|
+
"Stop Inst": 0,
|
|
446604
|
+
"Duration": 0,
|
|
446605
|
+
"Compound": 0,
|
|
446606
|
+
"Falloff": 4,
|
|
446607
|
+
"LFEMix": 25,
|
|
446608
|
+
"3dSpread": 60,
|
|
446609
|
+
"Priority": 255,
|
|
446610
|
+
"Stream": 1,
|
|
446611
|
+
"Is2D": 0,
|
|
446612
|
+
"Tracking": 0,
|
|
446613
|
+
"Solo": 1,
|
|
446614
|
+
"Music Vol": 0,
|
|
446615
|
+
"Block 1": -1,
|
|
446616
|
+
"Block 2": -1,
|
|
446617
|
+
"Block 3": -1,
|
|
446618
|
+
"HDOptOut": 0,
|
|
446619
|
+
"Delay": 0,
|
|
446620
|
+
"lineNumber": 11386
|
|
446621
|
+
},
|
|
446622
|
+
"11387": {
|
|
446623
|
+
"Sound": "music_desecrated",
|
|
446624
|
+
"*Index": 11387,
|
|
446625
|
+
"Redirect": "music_desecrated_hd",
|
|
446626
|
+
"Channel": "music_sd",
|
|
446627
|
+
"FileName": "common\\options.flac",
|
|
446628
|
+
"IsLocal": 0,
|
|
446629
|
+
"IsMusic": 1,
|
|
446630
|
+
"IsAmbientScene": 0,
|
|
446631
|
+
"IsAmbientEvent": 0,
|
|
446632
|
+
"IsUI": 0,
|
|
446633
|
+
"Volume Min": 127,
|
|
446634
|
+
"Volume Max": 127,
|
|
446635
|
+
"Pitch Min": 100,
|
|
446636
|
+
"Pitch Max": 100,
|
|
446637
|
+
"Group Size": 0,
|
|
446638
|
+
"Group Weight": 0,
|
|
446639
|
+
"Loop": 1,
|
|
446640
|
+
"Fade In": 125,
|
|
446641
|
+
"Fade Out": 125,
|
|
446642
|
+
"Defer Inst": 1,
|
|
446643
|
+
"Stop Inst": 0,
|
|
446644
|
+
"Duration": 0,
|
|
446645
|
+
"Compound": 0,
|
|
446646
|
+
"Falloff": 0,
|
|
446647
|
+
"LFEMix": 25,
|
|
446648
|
+
"3dSpread": 0,
|
|
446649
|
+
"Priority": 255,
|
|
446650
|
+
"Stream": 1,
|
|
446651
|
+
"Is2D": 1,
|
|
446652
|
+
"Tracking": 0,
|
|
446653
|
+
"Solo": 0,
|
|
446654
|
+
"Music Vol": 1,
|
|
446655
|
+
"Block 1": -1,
|
|
446656
|
+
"Block 2": -1,
|
|
446657
|
+
"Block 3": -1,
|
|
446658
|
+
"HDOptOut": 0,
|
|
446659
|
+
"Delay": 0,
|
|
446660
|
+
"lineNumber": 11387
|
|
446661
|
+
},
|
|
446662
|
+
"11388": {
|
|
446663
|
+
"Sound": "music_desecrated_hd",
|
|
446664
|
+
"*Index": 11388,
|
|
446665
|
+
"Channel": "music_hd",
|
|
446666
|
+
"FileName": "common\\options_hd.flac",
|
|
446667
|
+
"IsLocal": 0,
|
|
446668
|
+
"IsMusic": 1,
|
|
446669
|
+
"IsAmbientScene": 0,
|
|
446670
|
+
"IsAmbientEvent": 0,
|
|
446671
|
+
"IsUI": 0,
|
|
446672
|
+
"Volume Min": 127,
|
|
446673
|
+
"Volume Max": 127,
|
|
446674
|
+
"Pitch Min": 100,
|
|
446675
|
+
"Pitch Max": 100,
|
|
446676
|
+
"Group Size": 0,
|
|
446677
|
+
"Group Weight": 0,
|
|
446678
|
+
"Loop": 1,
|
|
446679
|
+
"Fade In": 125,
|
|
446680
|
+
"Fade Out": 125,
|
|
446681
|
+
"Defer Inst": 1,
|
|
446682
|
+
"Stop Inst": 0,
|
|
446683
|
+
"Duration": 0,
|
|
446684
|
+
"Compound": 0,
|
|
446685
|
+
"Falloff": 0,
|
|
446686
|
+
"LFEMix": 100,
|
|
446687
|
+
"3dSpread": 0,
|
|
446688
|
+
"Priority": 255,
|
|
446689
|
+
"Stream": 1,
|
|
446690
|
+
"Is2D": 1,
|
|
446691
|
+
"Tracking": 0,
|
|
446692
|
+
"Solo": 0,
|
|
446693
|
+
"Music Vol": 1,
|
|
446694
|
+
"Block 1": -1,
|
|
446695
|
+
"Block 2": -1,
|
|
446696
|
+
"Block 3": -1,
|
|
446697
|
+
"HDOptOut": 0,
|
|
446698
|
+
"Delay": 0,
|
|
446699
|
+
"lineNumber": 11388
|
|
446542
446700
|
}
|
|
446543
446701
|
}
|
package/json/states.json
CHANGED
|
@@ -340,6 +340,7 @@
|
|
|
340
340
|
"cooldown": {
|
|
341
341
|
"state": "cooldown",
|
|
342
342
|
"*ID": 185,
|
|
343
|
+
"nosend": 1,
|
|
343
344
|
"lineNumber": 185
|
|
344
345
|
},
|
|
345
346
|
"corpse_nodraw": {
|
|
@@ -447,6 +448,13 @@
|
|
|
447
448
|
"gfxclass": 212,
|
|
448
449
|
"lineNumber": 177
|
|
449
450
|
},
|
|
451
|
+
"desecrated": {
|
|
452
|
+
"state": "desecrated",
|
|
453
|
+
"*ID": 189,
|
|
454
|
+
"monstaydeath": 1,
|
|
455
|
+
"bossstaydeath": 1,
|
|
456
|
+
"lineNumber": 189
|
|
457
|
+
},
|
|
450
458
|
"dimvision": {
|
|
451
459
|
"state": "dimvision",
|
|
452
460
|
"*ID": 23,
|
|
@@ -603,6 +611,7 @@
|
|
|
603
611
|
"fullsetgeneric": {
|
|
604
612
|
"state": "fullsetgeneric",
|
|
605
613
|
"*ID": 175,
|
|
614
|
+
"noclear": 1,
|
|
606
615
|
"overlay1": "aura_fanatic",
|
|
607
616
|
"lineNumber": 175
|
|
608
617
|
},
|
|
@@ -871,6 +880,7 @@
|
|
|
871
880
|
"group": 3,
|
|
872
881
|
"transform": 1,
|
|
873
882
|
"disguise": 1,
|
|
883
|
+
"noclear": 1,
|
|
874
884
|
"castoverlay": "fire_cast_2",
|
|
875
885
|
"gfxtype": 1,
|
|
876
886
|
"gfxclass": 135,
|
|
@@ -1354,8 +1364,7 @@
|
|
|
1354
1364
|
"skilldelay": {
|
|
1355
1365
|
"state": "skilldelay",
|
|
1356
1366
|
"*ID": 121,
|
|
1357
|
-
"
|
|
1358
|
-
"remfunc": 12,
|
|
1367
|
+
"nosend": 1,
|
|
1359
1368
|
"lineNumber": 121
|
|
1360
1369
|
},
|
|
1361
1370
|
"slowed": {
|
package/json/uniqueitems.json
CHANGED
|
@@ -14167,5 +14167,143 @@
|
|
|
14167
14167
|
"max6": 30,
|
|
14168
14168
|
"expansion": 1,
|
|
14169
14169
|
"lineNumber": 401
|
|
14170
|
+
},
|
|
14171
|
+
"401": {
|
|
14172
|
+
"index": "Cold Rupture",
|
|
14173
|
+
"*ID": 401,
|
|
14174
|
+
"version": 100,
|
|
14175
|
+
"ladder": 1,
|
|
14176
|
+
"rarity": 1,
|
|
14177
|
+
"lvl": 75,
|
|
14178
|
+
"lvl req": 75,
|
|
14179
|
+
"code": "cm3",
|
|
14180
|
+
"*ItemName": "charm",
|
|
14181
|
+
"cost mult": 3,
|
|
14182
|
+
"cost add": 5000,
|
|
14183
|
+
"chrtransform": "lblu",
|
|
14184
|
+
"invtransform": "lblu",
|
|
14185
|
+
"prop1": "pierce-immunity-cold",
|
|
14186
|
+
"min1": 300,
|
|
14187
|
+
"max1": 300,
|
|
14188
|
+
"prop2": "res-cold",
|
|
14189
|
+
"min2": -75,
|
|
14190
|
+
"max2": -75,
|
|
14191
|
+
"expansion": 1,
|
|
14192
|
+
"lineNumber": 402
|
|
14193
|
+
},
|
|
14194
|
+
"402": {
|
|
14195
|
+
"index": "Flame Rift",
|
|
14196
|
+
"*ID": 402,
|
|
14197
|
+
"version": 100,
|
|
14198
|
+
"ladder": 1,
|
|
14199
|
+
"rarity": 1,
|
|
14200
|
+
"lvl": 75,
|
|
14201
|
+
"lvl req": 75,
|
|
14202
|
+
"code": "cm3",
|
|
14203
|
+
"*ItemName": "charm",
|
|
14204
|
+
"cost mult": 3,
|
|
14205
|
+
"cost add": 5000,
|
|
14206
|
+
"chrtransform": "lred",
|
|
14207
|
+
"invtransform": "lred",
|
|
14208
|
+
"prop1": "pierce-immunity-fire",
|
|
14209
|
+
"min1": 300,
|
|
14210
|
+
"max1": 300,
|
|
14211
|
+
"prop2": "res-fire",
|
|
14212
|
+
"min2": -75,
|
|
14213
|
+
"max2": -75,
|
|
14214
|
+
"expansion": 1,
|
|
14215
|
+
"lineNumber": 403
|
|
14216
|
+
},
|
|
14217
|
+
"403": {
|
|
14218
|
+
"index": "Crack of the Heavens",
|
|
14219
|
+
"*ID": 403,
|
|
14220
|
+
"version": 100,
|
|
14221
|
+
"ladder": 1,
|
|
14222
|
+
"rarity": 1,
|
|
14223
|
+
"lvl": 75,
|
|
14224
|
+
"lvl req": 75,
|
|
14225
|
+
"code": "cm3",
|
|
14226
|
+
"*ItemName": "charm",
|
|
14227
|
+
"cost mult": 3,
|
|
14228
|
+
"cost add": 5000,
|
|
14229
|
+
"chrtransform": "lyel",
|
|
14230
|
+
"invtransform": "lyel",
|
|
14231
|
+
"prop1": "pierce-immunity-light",
|
|
14232
|
+
"min1": 300,
|
|
14233
|
+
"max1": 300,
|
|
14234
|
+
"prop2": "res-ltng",
|
|
14235
|
+
"min2": -75,
|
|
14236
|
+
"max2": -75,
|
|
14237
|
+
"expansion": 1,
|
|
14238
|
+
"lineNumber": 404
|
|
14239
|
+
},
|
|
14240
|
+
"404": {
|
|
14241
|
+
"index": "Rotting Fissure",
|
|
14242
|
+
"*ID": 404,
|
|
14243
|
+
"version": 100,
|
|
14244
|
+
"ladder": 1,
|
|
14245
|
+
"rarity": 1,
|
|
14246
|
+
"lvl": 75,
|
|
14247
|
+
"lvl req": 75,
|
|
14248
|
+
"code": "cm3",
|
|
14249
|
+
"*ItemName": "charm",
|
|
14250
|
+
"cost mult": 3,
|
|
14251
|
+
"cost add": 5000,
|
|
14252
|
+
"chrtransform": "lgrn",
|
|
14253
|
+
"invtransform": "lgrn",
|
|
14254
|
+
"prop1": "pierce-immunity-poison",
|
|
14255
|
+
"min1": 300,
|
|
14256
|
+
"max1": 300,
|
|
14257
|
+
"prop2": "res-pois",
|
|
14258
|
+
"min2": -75,
|
|
14259
|
+
"max2": -75,
|
|
14260
|
+
"expansion": 1,
|
|
14261
|
+
"lineNumber": 405
|
|
14262
|
+
},
|
|
14263
|
+
"405": {
|
|
14264
|
+
"index": "Bone Break",
|
|
14265
|
+
"*ID": 405,
|
|
14266
|
+
"version": 100,
|
|
14267
|
+
"ladder": 1,
|
|
14268
|
+
"rarity": 1,
|
|
14269
|
+
"lvl": 75,
|
|
14270
|
+
"lvl req": 75,
|
|
14271
|
+
"code": "cm3",
|
|
14272
|
+
"*ItemName": "charm",
|
|
14273
|
+
"cost mult": 3,
|
|
14274
|
+
"cost add": 5000,
|
|
14275
|
+
"chrtransform": "whit",
|
|
14276
|
+
"invtransform": "whit",
|
|
14277
|
+
"prop1": "pierce-immunity-damage",
|
|
14278
|
+
"min1": 300,
|
|
14279
|
+
"max1": 300,
|
|
14280
|
+
"prop2": "red-dmg%",
|
|
14281
|
+
"min2": -25,
|
|
14282
|
+
"max2": -25,
|
|
14283
|
+
"expansion": 1,
|
|
14284
|
+
"lineNumber": 406
|
|
14285
|
+
},
|
|
14286
|
+
"406": {
|
|
14287
|
+
"index": "Black Cleft",
|
|
14288
|
+
"*ID": 406,
|
|
14289
|
+
"version": 100,
|
|
14290
|
+
"ladder": 1,
|
|
14291
|
+
"rarity": 1,
|
|
14292
|
+
"lvl": 75,
|
|
14293
|
+
"lvl req": 75,
|
|
14294
|
+
"code": "cm3",
|
|
14295
|
+
"*ItemName": "charm",
|
|
14296
|
+
"cost mult": 3,
|
|
14297
|
+
"cost add": 5000,
|
|
14298
|
+
"chrtransform": "lgry",
|
|
14299
|
+
"invtransform": "lgry",
|
|
14300
|
+
"prop1": "pierce-immunity-magic",
|
|
14301
|
+
"min1": 300,
|
|
14302
|
+
"max1": 300,
|
|
14303
|
+
"prop2": "res-mag",
|
|
14304
|
+
"min2": -50,
|
|
14305
|
+
"max2": -50,
|
|
14306
|
+
"expansion": 1,
|
|
14307
|
+
"lineNumber": 407
|
|
14170
14308
|
}
|
|
14171
14309
|
}
|
package/package.json
CHANGED
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blizzhackers/d2data",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.5.0",
|
|
4
|
+
"description": "",
|
|
5
5
|
"main": "compile.js",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/blizzhackers/d2data.git"
|
|
6
|
+
"scripts": {
|
|
7
|
+
"run": "node compile.js"
|
|
11
8
|
},
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
},
|
|
15
|
-
"homepage": "https://github.com/blizzhackers/d2data#readme"
|
|
9
|
+
"author": "",
|
|
10
|
+
"license": "ISC"
|
|
16
11
|
}
|
package/string.js
CHANGED
|
@@ -25,11 +25,15 @@ function discardGarbage(lines) {
|
|
|
25
25
|
let strings = {};
|
|
26
26
|
|
|
27
27
|
[
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
].forEach(
|
|
32
|
-
|
|
28
|
+
'string.tbl',
|
|
29
|
+
'expansionstring.tbl',
|
|
30
|
+
'patchstring.tbl',
|
|
31
|
+
].forEach(name => {
|
|
32
|
+
console.log('Processing: ', lang, name);
|
|
33
|
+
|
|
34
|
+
let lines = discardGarbage(fs.readFileSync('tbl/' + lang + '/' + name).toString().split('\0'));
|
|
35
|
+
|
|
36
|
+
while (lines.length) {
|
|
33
37
|
let key = lines.shift(), str = lines.shift();
|
|
34
38
|
|
|
35
39
|
if (key.trim().length) {
|