@skullandbonestools/snbdata 8.0.9 → 8.0.11
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/data/cosmetics.json +92 -56
- package/data/items.json +3 -3
- package/data/modifications.json +28 -28
- package/dist/daos/ships.d.ts +3 -1
- package/dist/daos/ships.d.ts.map +1 -1
- package/dist/daos/ships.js +39 -2
- package/dist/daos/ships.js.map +1 -1
- package/languages/ar/ar_cosmetics.json +6 -0
- package/languages/ar/ar_items.json +2 -2
- package/languages/ar/ar_locations.json +3 -2
- package/languages/ar/ar_perks.json +9 -9
- package/languages/de/de_cosmetics.json +54 -48
- package/languages/de/de_items.json +1 -1
- package/languages/de/de_locations.json +3 -2
- package/languages/de/de_perks.json +9 -9
- package/languages/de/de_sets.json +5 -5
- package/languages/en/en_cosmetics.json +6 -0
- package/languages/en/en_items.json +2 -2
- package/languages/en/en_locations.json +3 -2
- package/languages/en/en_perks.json +9 -9
- package/languages/es/es_cosmetics.json +6 -0
- package/languages/es/es_items.json +15 -15
- package/languages/es/es_locations.json +3 -2
- package/languages/es/es_perks.json +9 -9
- package/languages/es/es_regions.json +3 -3
- package/languages/es/es_seasons.json +7 -7
- package/languages/es/es_ships.json +2 -2
- package/languages/es/es_territories.json +45 -45
- package/languages/es/es_worldEvents.json +10 -10
- package/languages/fr/fr_cosmetics.json +6 -0
- package/languages/fr/fr_items.json +2 -2
- package/languages/fr/fr_locations.json +3 -2
- package/languages/fr/fr_perks.json +9 -9
- package/languages/source/cosmetics.json +6 -0
- package/languages/source/items.json +2 -2
- package/languages/source/locations.json +3 -2
- package/languages/source/perks.json +9 -9
- package/languages/zh/zh_cosmetics.json +6 -0
- package/languages/zh/zh_items.json +2 -2
- package/languages/zh/zh_locations.json +3 -2
- package/languages/zh/zh_perks.json +9 -9
- package/package.json +1 -1
package/data/modifications.json
CHANGED
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
"id": "fix",
|
|
340
340
|
"variants": [
|
|
341
341
|
{
|
|
342
|
-
"itemType": ["springloader","longGun","culverin","mortar","bombard"],
|
|
342
|
+
"itemType": ["springloader","longGun","culverin","mortar","bombard","rocket"],
|
|
343
343
|
"range": [113, 188]
|
|
344
344
|
}
|
|
345
345
|
],
|
|
@@ -348,13 +348,13 @@
|
|
|
348
348
|
"repairAccess": "exclusive",
|
|
349
349
|
"grade": "basic",
|
|
350
350
|
"dateAdded": "2025-05-05",
|
|
351
|
-
"lastUpdated": "
|
|
351
|
+
"lastUpdated": "2026-03-21"
|
|
352
352
|
},
|
|
353
353
|
"antiBlast": {
|
|
354
354
|
"id": "antiBlast",
|
|
355
355
|
"variants": [
|
|
356
356
|
{
|
|
357
|
-
"itemType": ["springloader","longGun","culverin","mortar","bombard"],
|
|
357
|
+
"itemType": ["springloader","longGun","culverin","mortar","bombard","rocket"],
|
|
358
358
|
"range": [0.075, 0.125]
|
|
359
359
|
}
|
|
360
360
|
],
|
|
@@ -362,13 +362,13 @@
|
|
|
362
362
|
"repairAccess": "exclusive",
|
|
363
363
|
"grade": "basic",
|
|
364
364
|
"dateAdded": "2025-05-05",
|
|
365
|
-
"lastUpdated": "
|
|
365
|
+
"lastUpdated": "2026-03-21"
|
|
366
366
|
},
|
|
367
367
|
"insulator": {
|
|
368
368
|
"id": "insulator",
|
|
369
369
|
"variants": [
|
|
370
370
|
{
|
|
371
|
-
"itemType": ["springloader","longGun","culverin","mortar","bombard"],
|
|
371
|
+
"itemType": ["springloader","longGun","culverin","mortar","bombard","rocket"],
|
|
372
372
|
"range": [0.075, 0.125]
|
|
373
373
|
}
|
|
374
374
|
],
|
|
@@ -376,13 +376,13 @@
|
|
|
376
376
|
"repairAccess": "exclusive",
|
|
377
377
|
"grade": "basic",
|
|
378
378
|
"dateAdded": "2025-05-05",
|
|
379
|
-
"lastUpdated": "
|
|
379
|
+
"lastUpdated": "2026-03-21"
|
|
380
380
|
},
|
|
381
381
|
"service": {
|
|
382
382
|
"id": "service",
|
|
383
383
|
"variants": [
|
|
384
384
|
{
|
|
385
|
-
"itemType": ["springloader","longGun","culverin","mortar","bombard"],
|
|
385
|
+
"itemType": ["springloader","longGun","culverin","mortar","bombard","rocket"],
|
|
386
386
|
"range": [0.09, 0.15]
|
|
387
387
|
}
|
|
388
388
|
],
|
|
@@ -391,13 +391,13 @@
|
|
|
391
391
|
"repairAccess": "exclusive",
|
|
392
392
|
"grade": "basic",
|
|
393
393
|
"dateAdded": "2025-05-05",
|
|
394
|
-
"lastUpdated": "
|
|
394
|
+
"lastUpdated": "2026-03-21"
|
|
395
395
|
},
|
|
396
396
|
"douser": {
|
|
397
397
|
"id": "douser",
|
|
398
398
|
"variants": [
|
|
399
399
|
{
|
|
400
|
-
"itemType": ["springloader","longGun","culverin","mortar","bombard"],
|
|
400
|
+
"itemType": ["springloader","longGun","culverin","mortar","bombard","rocket"],
|
|
401
401
|
"range": [0.075, 0.125]
|
|
402
402
|
}
|
|
403
403
|
],
|
|
@@ -405,13 +405,13 @@
|
|
|
405
405
|
"repairAccess": "exclusive",
|
|
406
406
|
"grade": "basic",
|
|
407
407
|
"dateAdded": "2025-05-05",
|
|
408
|
-
"lastUpdated": "
|
|
408
|
+
"lastUpdated": "2026-03-21"
|
|
409
409
|
},
|
|
410
410
|
"sealant": {
|
|
411
411
|
"id": "sealant",
|
|
412
412
|
"variants": [
|
|
413
413
|
{
|
|
414
|
-
"itemType": ["springloader","longGun","culverin","mortar","bombard"],
|
|
414
|
+
"itemType": ["springloader","longGun","culverin","mortar","bombard","rocket"],
|
|
415
415
|
"range": [0.075, 0.125]
|
|
416
416
|
}
|
|
417
417
|
],
|
|
@@ -419,13 +419,13 @@
|
|
|
419
419
|
"repairAccess": "exclusive",
|
|
420
420
|
"grade": "basic",
|
|
421
421
|
"dateAdded": "2025-05-05",
|
|
422
|
-
"lastUpdated": "
|
|
422
|
+
"lastUpdated": "2026-03-21"
|
|
423
423
|
},
|
|
424
424
|
"reinforcer": {
|
|
425
425
|
"id": "reinforcer",
|
|
426
426
|
"variants": [
|
|
427
427
|
{
|
|
428
|
-
"itemType": ["springloader","longGun","culverin","mortar","bombard"],
|
|
428
|
+
"itemType": ["springloader","longGun","culverin","mortar","bombard","rocket"],
|
|
429
429
|
"range": [0.075, 0.125]
|
|
430
430
|
}
|
|
431
431
|
],
|
|
@@ -433,7 +433,7 @@
|
|
|
433
433
|
"repairAccess": "exclusive",
|
|
434
434
|
"grade": "basic",
|
|
435
435
|
"dateAdded": "2025-05-05",
|
|
436
|
-
"lastUpdated": "
|
|
436
|
+
"lastUpdated": "2026-03-21"
|
|
437
437
|
},
|
|
438
438
|
"brute": {
|
|
439
439
|
"id": "brute",
|
|
@@ -816,7 +816,7 @@
|
|
|
816
816
|
"id": "restorative",
|
|
817
817
|
"variants": [
|
|
818
818
|
{
|
|
819
|
-
"itemType": ["springloader","longGun","culverin","mortar","bombard"],
|
|
819
|
+
"itemType": ["springloader","longGun","culverin","mortar","bombard","rocket"],
|
|
820
820
|
"range": [0.15, 0.25]
|
|
821
821
|
}
|
|
822
822
|
],
|
|
@@ -824,13 +824,13 @@
|
|
|
824
824
|
"repairAccess": "exclusive",
|
|
825
825
|
"grade": "advanced",
|
|
826
826
|
"dateAdded": "2025-05-05",
|
|
827
|
-
"lastUpdated": "
|
|
827
|
+
"lastUpdated": "2026-03-21"
|
|
828
828
|
},
|
|
829
829
|
"invigorate": {
|
|
830
830
|
"id": "invigorate",
|
|
831
831
|
"variants": [
|
|
832
832
|
{
|
|
833
|
-
"itemType": ["springloader","longGun","culverin","mortar","bombard"],
|
|
833
|
+
"itemType": ["springloader","longGun","culverin","mortar","bombard","rocket"],
|
|
834
834
|
"range": [0.0038, 0.0063]
|
|
835
835
|
}
|
|
836
836
|
],
|
|
@@ -838,13 +838,13 @@
|
|
|
838
838
|
"repairAccess": "exclusive",
|
|
839
839
|
"grade": "advanced",
|
|
840
840
|
"dateAdded": "2025-05-05",
|
|
841
|
-
"lastUpdated": "
|
|
841
|
+
"lastUpdated": "2026-03-21"
|
|
842
842
|
},
|
|
843
843
|
"tranquility": {
|
|
844
844
|
"id": "tranquility",
|
|
845
845
|
"variants": [
|
|
846
846
|
{
|
|
847
|
-
"itemType": ["springloader","longGun","culverin","mortar","bombard"],
|
|
847
|
+
"itemType": ["springloader","longGun","culverin","mortar","bombard","rocket"],
|
|
848
848
|
"range": [0.113, 0.188]
|
|
849
849
|
}
|
|
850
850
|
],
|
|
@@ -852,13 +852,13 @@
|
|
|
852
852
|
"repairAccess": "exclusive",
|
|
853
853
|
"grade": "advanced",
|
|
854
854
|
"dateAdded": "2025-05-05",
|
|
855
|
-
"lastUpdated": "
|
|
855
|
+
"lastUpdated": "2026-03-21"
|
|
856
856
|
},
|
|
857
857
|
"sailorsRespite": {
|
|
858
858
|
"id": "sailorsRespite",
|
|
859
859
|
"variants": [
|
|
860
860
|
{
|
|
861
|
-
"itemType": ["springloader","longGun","culverin","mortar","bombard"],
|
|
861
|
+
"itemType": ["springloader","longGun","culverin","mortar","bombard","rocket"],
|
|
862
862
|
"range": [2.25, 3.75]
|
|
863
863
|
}
|
|
864
864
|
],
|
|
@@ -866,13 +866,13 @@
|
|
|
866
866
|
"repairAccess": "exclusive",
|
|
867
867
|
"grade": "advanced",
|
|
868
868
|
"dateAdded": "2025-05-05",
|
|
869
|
-
"lastUpdated": "
|
|
869
|
+
"lastUpdated": "2026-03-21"
|
|
870
870
|
},
|
|
871
871
|
"strengthen": {
|
|
872
872
|
"id": "strengthen",
|
|
873
873
|
"variants": [
|
|
874
874
|
{
|
|
875
|
-
"itemType": ["springloader","longGun","culverin","mortar","bombard"],
|
|
875
|
+
"itemType": ["springloader","longGun","culverin","mortar","bombard","rocket"],
|
|
876
876
|
"range": [0.15, 0.25]
|
|
877
877
|
}
|
|
878
878
|
],
|
|
@@ -880,13 +880,13 @@
|
|
|
880
880
|
"repairAccess": "exclusive",
|
|
881
881
|
"grade": "advanced",
|
|
882
882
|
"dateAdded": "2025-05-05",
|
|
883
|
-
"lastUpdated": "
|
|
883
|
+
"lastUpdated": "2026-03-21"
|
|
884
884
|
},
|
|
885
885
|
"sailMender": {
|
|
886
886
|
"id": "sailMender",
|
|
887
887
|
"variants": [
|
|
888
888
|
{
|
|
889
|
-
"itemType": ["springloader","longGun","culverin","mortar","bombard"],
|
|
889
|
+
"itemType": ["springloader","longGun","culverin","mortar","bombard","rocket"],
|
|
890
890
|
"range": [0.113, 0.188]
|
|
891
891
|
}
|
|
892
892
|
],
|
|
@@ -894,7 +894,7 @@
|
|
|
894
894
|
"repairAccess": "exclusive",
|
|
895
895
|
"grade": "advanced",
|
|
896
896
|
"dateAdded": "2025-05-05",
|
|
897
|
-
"lastUpdated": "
|
|
897
|
+
"lastUpdated": "2026-03-21"
|
|
898
898
|
},
|
|
899
899
|
"secondStorm": {
|
|
900
900
|
"id": "secondStorm",
|
|
@@ -1148,7 +1148,7 @@
|
|
|
1148
1148
|
"id": "antidote",
|
|
1149
1149
|
"variants": [
|
|
1150
1150
|
{
|
|
1151
|
-
"itemType": ["springloader","longGun","culverin","mortar","bombard"],
|
|
1151
|
+
"itemType": ["springloader","longGun","culverin","mortar","bombard","rocket"],
|
|
1152
1152
|
"range": [0.075, 0.125]
|
|
1153
1153
|
}
|
|
1154
1154
|
],
|
|
@@ -1156,7 +1156,7 @@
|
|
|
1156
1156
|
"repairAccess": "exclusive",
|
|
1157
1157
|
"grade": "basic",
|
|
1158
1158
|
"dateAdded": "2025-10-21",
|
|
1159
|
-
"lastUpdated": "
|
|
1159
|
+
"lastUpdated": "2026-03-21"
|
|
1160
1160
|
},
|
|
1161
1161
|
"armored": {
|
|
1162
1162
|
"id": "armored",
|
package/dist/daos/ships.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import shipsData from '../../data/ships.json';
|
|
2
2
|
import { ShipArchetype, ShipSize, SlotWithGunports, SlotWithGunportsAcrossDecks } from '../types/ShipProperties';
|
|
3
3
|
import { Contract } from './contracts';
|
|
4
|
+
import { Item } from './items';
|
|
4
5
|
import { Material } from './materials';
|
|
5
6
|
import { Season } from './seasons';
|
|
6
7
|
export declare class Ship {
|
|
@@ -10,6 +11,7 @@ export declare class Ship {
|
|
|
10
11
|
readonly archetype: ShipArchetype;
|
|
11
12
|
readonly contract: Contract | undefined;
|
|
12
13
|
readonly blueprint: string | string[] | undefined;
|
|
14
|
+
readonly obtainable: string | Item | Array<string | Item> | Array<Array<string | Item> | Item | string> | undefined;
|
|
13
15
|
readonly season: Season | undefined;
|
|
14
16
|
readonly hitpoints: number;
|
|
15
17
|
readonly braceStrength: number;
|
|
@@ -41,7 +43,7 @@ export declare class Ship {
|
|
|
41
43
|
readonly perks: string[];
|
|
42
44
|
readonly dateAdded: Date;
|
|
43
45
|
readonly lastUpdated: Date;
|
|
44
|
-
constructor(id: string, size: ShipSize, type: string, archetype: ShipArchetype, contract: Contract | undefined, blueprint: string | string[] | undefined, season: Season | undefined, hitpoints: number, braceStrength: number, braceStrengthRecovery: number, stamina: number | undefined, baseRank: number, requiredRank: string | undefined, contact: string | undefined, sailSpeed: {
|
|
46
|
+
constructor(id: string, size: ShipSize, type: string, archetype: ShipArchetype, contract: Contract | undefined, blueprint: string | string[] | undefined, obtainable: string | Item | Array<string | Item> | Array<Array<string | Item> | Item | string> | undefined, season: Season | undefined, hitpoints: number, braceStrength: number, braceStrengthRecovery: number, stamina: number | undefined, baseRank: number, requiredRank: string | undefined, contact: string | undefined, sailSpeed: {
|
|
45
47
|
halfSail: number;
|
|
46
48
|
fullSail: number;
|
|
47
49
|
travelSail: number;
|
package/dist/daos/ships.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ships.d.ts","sourceRoot":"","sources":["../../src/daos/ships.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACjH,OAAO,EAAE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QACjB,UAAU,EAAE,MAAM,CAAC;KACtB,EACe,KAAK,EAAE;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,cAAc,EAAE,MAAM,CAAC;KAC1B,EACe,QAAQ,EAAE,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,GAAG,SAAS,EAC3C,KAAK,EAAE;QACnB,WAAW,CAAC,EAAE,gBAAgB,CAAC;QAC/B,WAAW,CAAC,EAAE,2BAA2B,CAAC;QAC1C,cAAc,CAAC,EAAE,2BAA2B,CAAC;QAC7C,eAAe,CAAC,EAAE,2BAA2B,CAAC;QAC9C,SAAS,CAAC,EAAE,2BAA2B,CAAC;QACxC,eAAe,CAAC,EAAE,gBAAgB,CAAC;QACnC,SAAS,CAAC,EAAE,gBAAgB,CAAC;QAC7B,QAAQ,CAAC,EAAE,gBAAgB,CAAC;KAC/B,EACe,KAAK,EAAE,MAAM,EAAE,EACf,SAAS,EAAE,IAAI,EACf,WAAW,EAAE,IAAI;WAIvB,WAAW,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI;WA8E/B,SAAS,IAAI,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC;CAOlD;AAED,KAAK,KAAK,GAAG;KACR,CAAC,IAAI,MAAM,OAAO,SAAS,GAAG,IAAI;CACtC,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAAiC,CAAC"}
|
package/dist/daos/ships.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import shipsData from '../../data/ships.json';
|
|
2
2
|
import { Contracts } from './contracts';
|
|
3
|
+
import { Items } from './items';
|
|
3
4
|
import { Materials } from './materials';
|
|
4
5
|
import { Seasons } from './seasons';
|
|
5
6
|
export class Ship {
|
|
6
|
-
constructor(id, size, type, archetype, contract, blueprint, season, hitpoints, braceStrength, braceStrengthRecovery, stamina, baseRank, requiredRank, contact, sailSpeed, cargo, required, slots, perks, dateAdded, lastUpdated) {
|
|
7
|
+
constructor(id, size, type, archetype, contract, blueprint, obtainable, season, hitpoints, braceStrength, braceStrengthRecovery, stamina, baseRank, requiredRank, contact, sailSpeed, cargo, required, slots, perks, dateAdded, lastUpdated) {
|
|
7
8
|
this.id = id;
|
|
8
9
|
this.size = size;
|
|
9
10
|
this.type = type;
|
|
10
11
|
this.archetype = archetype;
|
|
11
12
|
this.contract = contract;
|
|
12
13
|
this.blueprint = blueprint;
|
|
14
|
+
this.obtainable = obtainable;
|
|
13
15
|
this.season = season;
|
|
14
16
|
this.hitpoints = hitpoints;
|
|
15
17
|
this.braceStrength = braceStrength;
|
|
@@ -37,7 +39,42 @@ export class Ship {
|
|
|
37
39
|
required.set(Materials[requiredMaterial], quantity);
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
|
-
|
|
42
|
+
let obtainable = rawData.obtainable ?? undefined;
|
|
43
|
+
if (Array.isArray(obtainable)) {
|
|
44
|
+
const _obtainable = new Array();
|
|
45
|
+
for (const obtainableKey of rawData.obtainable) {
|
|
46
|
+
if (Array.isArray(obtainableKey)) {
|
|
47
|
+
const obtainableGroup = new Array();
|
|
48
|
+
for (const subKey of obtainableKey) {
|
|
49
|
+
const obtainableItem = Items[subKey];
|
|
50
|
+
if (obtainableItem && obtainableItem.type === "chest") {
|
|
51
|
+
obtainableGroup.push(obtainableItem);
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
obtainableGroup.push(subKey);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
_obtainable.push(obtainableGroup);
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
const obtainableItem = Items[obtainableKey];
|
|
61
|
+
if (obtainableItem && obtainableItem.type === "chest") {
|
|
62
|
+
_obtainable.push(obtainableItem);
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
_obtainable.push(obtainableKey);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
obtainable = _obtainable;
|
|
70
|
+
}
|
|
71
|
+
else if (obtainable) {
|
|
72
|
+
const obtainableItem = Items[rawData.obtainable];
|
|
73
|
+
if (obtainableItem && obtainableItem.type === "chest") {
|
|
74
|
+
obtainable = obtainableItem;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
return new Ship(rawData.id, rawData.size, rawData.type, rawData.archetype, rawData.contract ? Contracts[contract] : undefined, rawData.blueprint ?? undefined, obtainable, season ? Seasons[season] : undefined, rawData.hitpoints, rawData.braceStrength, rawData.braceStrengthRecovery, rawData.stamina ?? undefined, rawData.baseRank, rawData.requiredRank ?? undefined, rawData.contact ?? undefined, rawData.sailSpeed, rawData.cargo, required, {
|
|
41
78
|
attachement: rawData.slots.attachement ?? undefined,
|
|
42
79
|
frontWeapon: rawData.slots.frontWeapon ?? undefined,
|
|
43
80
|
leftSideWeapon: rawData.slots.leftSideWeapon ?? undefined,
|
package/dist/daos/ships.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ships.js","sourceRoot":"","sources":["../../src/daos/ships.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAE9C,OAAO,EAAY,SAAS,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAY,SAAS,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAU,OAAO,EAAE,MAAM,WAAW,CAAC;AAE5C,MAAM,OAAO,IAAI;IACb,YACoB,EAAU,EACV,IAAc,EACd,IAAY,EACZ,SAAwB,EACxB,QAA8B,EAC9B,SAAwC,EACxC,MAA0B,EAC1B,SAAiB,EACjB,aAAqB,EACrB,qBAA6B,EAC7B,OAA2B,EAC3B,QAAgB,EAChB,YAAgC,EAChC,OAA2B,EAC3B,SAIf,EACe,KAGf,EACe,QAA2C,EAC3C,KASf,EACe,KAAe,EACf,SAAe,EACf,WAAiB;
|
|
1
|
+
{"version":3,"file":"ships.js","sourceRoot":"","sources":["../../src/daos/ships.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAE9C,OAA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AAC,KAAK,CAAC,WAAW,IAAI,SAAS;YACnD,WAAW,EAAE,OAAO,CAAC,KAAK,CAAC,WAAW,IAAI,SAAS;YACnD,cAAc,EAAE,OAAO,CAAC,KAAK,CAAC,cAAc,IAAI,SAAS;YACzD,eAAe,EAAE,OAAO,CAAC,KAAK,CAAC,eAAe,IAAI,SAAS;YAC3D,SAAS,EAAE,OAAO,CAAC,KAAK,CAAC,SAAS,IAAI,SAAS;YAC/C,eAAe,EAAE,OAAO,CAAC,KAAK,CAAC,eAAe,IAAI,SAAS;YAC3D,SAAS,EAAE,OAAO,CAAC,KAAK,CAAC,SAAS,IAAI,SAAS;YAC/C,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS;SAChD,EACD,OAAO,CAAC,KAAK,EACb,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAC3B,IAAI,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAChC,CAAC;IACN,CAAC;IAED,qDAAqD;IAC9C,MAAM,CAAC,SAAS;QACnB,MAAM,KAAK,GAAyB,EAAE,CAAC;QACvC,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC;YACnD,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QACzC,CAAC;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ;AAMD,MAAM,CAAC,MAAM,KAAK,GAAU,IAAI,CAAC,SAAS,EAAW,CAAC"}
|
|
@@ -21533,6 +21533,12 @@
|
|
|
21533
21533
|
"description": {
|
|
21534
21534
|
"general": "Darker than the deepest trench"
|
|
21535
21535
|
}
|
|
21536
|
+
},
|
|
21537
|
+
"rubyOfTheReefs": {
|
|
21538
|
+
"name": "Ruby of the Reefs",
|
|
21539
|
+
"description": {
|
|
21540
|
+
"general": "A song as sharp as swords; sweet as stolen rum"
|
|
21541
|
+
}
|
|
21536
21542
|
}
|
|
21537
21543
|
}
|
|
21538
21544
|
}
|
|
@@ -3056,8 +3056,8 @@
|
|
|
3056
3056
|
"general": "Engineered for long-range support. Fires crystalline-tipped projectiles for restorative pulses to allies."
|
|
3057
3057
|
}
|
|
3058
3058
|
},
|
|
3059
|
-
"
|
|
3060
|
-
"name": "Celestial
|
|
3059
|
+
"celestialBloom": {
|
|
3060
|
+
"name": "Celestial Bloom",
|
|
3061
3061
|
"description": {
|
|
3062
3062
|
"general": "Protects allies with volleys of repairing rockets. \"True strength lies not in destruction, but in the power to preserve.\""
|
|
3063
3063
|
}
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"azuriteLodestoneSaintAnne": "Purchasable during the Azure Solstice event at the Azurite Lodestone in Saint Anne",
|
|
179
179
|
"twitchDropStartSeason4": "Twitch Drops at the start of {{shadowsOfTheDeep}}",
|
|
180
180
|
"twitchDropBlackheart86": "Time-limited twitch drop during a livestream from Blackheart86",
|
|
181
|
-
"redeemerAchievementReward": "Reward for completing the Redeemer achievement (defeating Mythic
|
|
181
|
+
"redeemerAchievementReward": "Reward for completing the Redeemer achievement (defeating Mythic Vikram 5 times)",
|
|
182
182
|
"twitchDropDuringSeason4": "Twitch Drops during {{shadowsOfTheDeep}}",
|
|
183
183
|
"idolOfTheBeastStatue": "Is/was purchasable at the Idol of the Beast statue in Telok Penjarah during the Event",
|
|
184
184
|
"obtainablePeerlessNameplate": "Obtained through completing a hidden objective during {{ragingTides}}",
|
|
@@ -256,6 +256,7 @@
|
|
|
256
256
|
"zamaharibuEyeReward": "Reward for handing in Zamaharibu's Eye at the Sea People Hunter Master at Outpost Lanitra",
|
|
257
257
|
"megaLestariEyeReward": "Reward for handing in Mega Lestari's Eye at the Sea People Hunter Master at Outpost Lanitra",
|
|
258
258
|
"krakenInkGlandsReward": "Reward for handing in Kraken Ink Glands at the Sea People Hunter Master at Outpost Lanitra",
|
|
259
|
-
"twitchDropLilywhiteTV": "Time-limited twitch drop during a livestream from LilywhiteTV"
|
|
259
|
+
"twitchDropLilywhiteTV": "Time-limited twitch drop during a livestream from LilywhiteTV",
|
|
260
|
+
"twitchDropRubyNXT": "Time-limited twitch drop during a livestream from RubyNXT"
|
|
260
261
|
}
|
|
261
262
|
}
|
|
@@ -3107,15 +3107,6 @@
|
|
|
3107
3107
|
]
|
|
3108
3108
|
}
|
|
3109
3109
|
},
|
|
3110
|
-
"celestialBoom": {
|
|
3111
|
-
"name": "Celestial Boom",
|
|
3112
|
-
"description": {
|
|
3113
|
-
"general": [
|
|
3114
|
-
"Consecutive hits repair 5% for each projectile",
|
|
3115
|
-
"Consecutive hits on the same target also restores Brace Strength by 2% per hit"
|
|
3116
|
-
]
|
|
3117
|
-
}
|
|
3118
|
-
},
|
|
3119
3110
|
"chargedBarb": {
|
|
3120
3111
|
"name": "Charged Barb",
|
|
3121
3112
|
"description": {
|
|
@@ -3140,6 +3131,15 @@
|
|
|
3140
3131
|
"Armed Bonus: Hits have 50% chance to trigger Taunted"
|
|
3141
3132
|
]
|
|
3142
3133
|
}
|
|
3134
|
+
},
|
|
3135
|
+
"savingSalvo": {
|
|
3136
|
+
"name": "Saving Salvo",
|
|
3137
|
+
"description": {
|
|
3138
|
+
"general": [
|
|
3139
|
+
"Consecutive hits repair 5% for each projectile",
|
|
3140
|
+
"Consecutive hits on the same target also restores Brace Strength by 2% per hit"
|
|
3141
|
+
]
|
|
3142
|
+
}
|
|
3143
3143
|
}
|
|
3144
3144
|
}
|
|
3145
3145
|
}
|