@@ -50,27 +50,27 @@ describe('Character', () => {
5050 gear : {
5151 arm : {
5252 category : GearCategory . Arm ,
53- name : 'Weathered Tishtrya ' ,
54- id : '000c99173df ' ,
55- iLvl : 430 ,
53+ name : 'Exarchic Cane ' ,
54+ id : '8aa1be1728a?hq=1 ' ,
55+ iLvl : 510 ,
5656 } ,
5757 head : {
5858 category : GearCategory . Head ,
59- name : 'Ronkan Visor of Healing' ,
60- id : '71537a2985f ' ,
61- iLvl : 440 ,
59+ name : 'Exarchic Circlet of Healing ' ,
60+ id : '5fffa0cb64b?hq=1 ' ,
61+ iLvl : 510 ,
6262 } ,
6363 body : {
6464 category : GearCategory . Body ,
65- name : 'Ronkan Robe of Healing' ,
66- id : 'ccc2a4ebfbd ' ,
67- iLvl : 440 ,
65+ name : 'Neo-Ishgardian Top of Healing' ,
66+ id : '96e994d56ae ' ,
67+ iLvl : 480 ,
6868 } ,
6969 hands : {
7070 category : GearCategory . Hands ,
71- name : 'Ronkan Armguards of Healing' ,
72- id : '26c8e806fde ' ,
73- iLvl : 440 ,
71+ name : 'Neo-Ishgardian Gloves of Healing ' ,
72+ id : '41cccfe5212?hq=1 ' ,
73+ iLvl : 480 ,
7474 } ,
7575 waist : {
7676 category : GearCategory . Waist ,
@@ -80,39 +80,39 @@ describe('Character', () => {
8080 } ,
8181 legs : {
8282 category : GearCategory . Legs ,
83- name : 'Edengate Pantaloons of Healing' ,
84- id : '82d2ccf47ea ' ,
85- iLvl : 450 ,
83+ name : 'Exarchic Hose of Healing ' ,
84+ id : '8421f0db039?hq=1 ' ,
85+ iLvl : 510 ,
8686 } ,
8787 feet : {
8888 category : GearCategory . Feet ,
89- name : 'Edengate Sandals of Healing' ,
90- id : '71d504e6cfe ' ,
91- iLvl : 450 ,
89+ name : 'Exarchic Shoes of Healing ' ,
90+ id : 'c31aef0901f?hq=1 ' ,
91+ iLvl : 510 ,
9292 } ,
9393 earrings : {
9494 category : GearCategory . Earrings ,
95- name : 'Ronkan Earrings of Healing' ,
96- id : 'c3c1d1140d8 ' ,
97- iLvl : 440 ,
95+ name : 'Crystarium Earrings of Healing' ,
96+ id : 'e90fe40b436 ' ,
97+ iLvl : 490 ,
9898 } ,
9999 necklace : {
100100 category : GearCategory . Necklace ,
101- name : 'Edengate Choker of Healing' ,
102- id : 'dcacaad338a ' ,
103- iLvl : 450 ,
101+ name : 'Neo-Ishgardian Choker of Healing' ,
102+ id : 'e129bc8a2e4 ' ,
103+ iLvl : 480 ,
104104 } ,
105105 bracelets : {
106106 category : GearCategory . Bracelets ,
107- name : 'Ronkan Bracelets of Healing' ,
108- id : 'c4da6050bab ' ,
109- iLvl : 440 ,
107+ name : 'Neo-Ishgardian Wristbands of Healing ' ,
108+ id : '2a6a86be422?hq=1 ' ,
109+ iLvl : 480 ,
110110 } ,
111111 ringOne : {
112112 category : GearCategory . Ring ,
113- name : 'Edengate Ring of Healing' ,
114- id : 'f38b0ba900a ' ,
115- iLvl : 450 ,
113+ name : 'Exarchic Ring of Healing ' ,
114+ id : '54b8ff24b67?hq=1 ' ,
115+ iLvl : 510 ,
116116 } ,
117117 ringTwo : {
118118 category : GearCategory . Ring ,
@@ -149,6 +149,10 @@ describe('Character', () => {
149149 class : Class . Conjurer ,
150150 level : 80 ,
151151 } ,
152+ sage : {
153+ class : Class . Sage ,
154+ level : 0 ,
155+ } ,
152156 scholar : {
153157 class : Class . Scholar ,
154158 level : 71 ,
@@ -173,6 +177,10 @@ describe('Character', () => {
173177 class : Class . Samurai ,
174178 level : 55 ,
175179 } ,
180+ reaper : {
181+ class : Class . Reaper ,
182+ level : 0 ,
183+ } ,
176184 bardArcher : {
177185 class : Class . Archer ,
178186 level : 15 ,
@@ -187,7 +195,7 @@ describe('Character', () => {
187195 } ,
188196 blackMageThaumaturge : {
189197 class : Class . Thaumaturge ,
190- level : 74 ,
198+ level : 77 ,
191199 } ,
192200 summonerArcanist : {
193201 class : Class . Arcanist ,
@@ -291,13 +299,65 @@ describe('Character', () => {
291299 race : 'Lalafell' ,
292300 }
293301
302+ // Character with Sage active
303+ const expectedCharacterFour : Character = {
304+ id : 11886902 ,
305+ name : 'Sey Moore' ,
306+ activeClass : Class . Sage ,
307+ cityState : 'Gridania' ,
308+ clan : 'Dunesfolk' ,
309+ homeWorld : 'Cerberus' ,
310+ title : 'Monster Hunter' ,
311+ dataCenter : 'Chaos' ,
312+ freeCompany : 'Cerberus (Chaos)' ,
313+ gender : 'Male' ,
314+ grandCompany : 'Order of the Twin Adder' ,
315+ grandCompanyRank : 'Serpent Captain' ,
316+ guardian : 'Rhalgr, the Destroyer' ,
317+ nameDay : '6th Sun of the 6th Astral Moon' ,
318+ race : 'Lalafell' ,
319+ classes : {
320+ sage : {
321+ class : Class . Sage ,
322+ level : 76 ,
323+ } ,
324+ } ,
325+ }
326+
327+ // Character with reaper active
328+ const expectedCharacterFive : Character = {
329+ id : 11886902 ,
330+ name : 'Refler Desu' ,
331+ activeClass : Class . Reaper ,
332+ cityState : "Ul'dah" ,
333+ clan : 'Xaela' ,
334+ homeWorld : 'Cerberus' ,
335+ title : 'The Liberator' ,
336+ dataCenter : 'Chaos' ,
337+ freeCompany : 'Cerberus (Chaos)' ,
338+ gender : 'Female' ,
339+ grandCompany : 'Maelstrom' ,
340+ grandCompanyRank : 'Second Storm Lieutenant' ,
341+ guardian : 'Azeyma, the Warden' ,
342+ nameDay : '7th Sun of the 1st Astral Moon' ,
343+ race : 'Au Ra' ,
344+ classes : {
345+ reaper : {
346+ class : Class . Reaper ,
347+ level : 80 ,
348+ } ,
349+ } ,
350+ }
351+
294352 // TODO: Test character with shield
295353 // TODO: test character with no free company
296354
297355 describe . each ( [
298356 [ 11886902 , "P'tajha Rihll" , expectedCharacterOne ] ,
299357 [ 38531003 , 'Aurora Nyxx' , expectedCharacterTwo ] ,
300358 [ 27218992 , 'Shamir Kotmine' , expectedCharacterThree ] ,
359+ [ 18001255 , 'Sey Moore' , expectedCharacterFour ] ,
360+ [ 28309293 , 'Refler Desu' , expectedCharacterFive ] ,
301361 ] ) ( 'for character %s - %s' , ( charId , name , expected ) => {
302362 let resultantCharacter : Character
303363 const nonObjectAttributes = Object . entries ( expected ) . filter ( ( pair ) => typeof pair [ 1 ] !== 'object' )
0 commit comments