@malib/gear 1.0.0-next.10 → 1.0.0-next.12

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.
@@ -97,10 +97,10 @@ export { AddOptionType as AddOptionType_alias_2 }
97
97
  * @param type 추가 옵션 종류.
98
98
  * @param grade 추가 옵션 단계.
99
99
  *
100
- * @throws {@link TypeError}
100
+ * @throws {@link GearError}
101
101
  * 추가 옵션을 적용할 수 없는 상태의 장비일 경우.
102
102
  *
103
- * @throws {@link TypeError}
103
+ * @throws {@link GearError}
104
104
  * 장비에 부여할 수 없는 추가 옵션을 지정했을 경우.
105
105
  */
106
106
  declare function applyAddOption(gear: Gear, type: AddOptionType, grade: AddOptionGrade): void;
@@ -112,7 +112,7 @@ export { AddOptionType as AddOptionType_alias_2 }
112
112
  * @param gear 적용할 장비.
113
113
  * @param exceptionalHammer 적용할 익셉셔널 해머.
114
114
  *
115
- * @throws {@link TypeError}
115
+ * @throws {@link GearError}
116
116
  * 익셉셔널 강화를 적용할 수 없는 상태의 장비일 경우.
117
117
  */
118
118
  declare function applyExceptional(gear: Gear, exceptionalHammer: ExceptionalHammer): void;
@@ -124,7 +124,7 @@ export { AddOptionType as AddOptionType_alias_2 }
124
124
  * @param gear 적용할 장비.
125
125
  * @param scroll 적용할 주문서.
126
126
  *
127
- * @throws {@link TypeError}
127
+ * @throws {@link GearError}
128
128
  * 주문서를 적용할 수 없는 상태의 장비일 경우.
129
129
  */
130
130
  declare function applyScroll(gear: Gear, scroll: Scroll): void;
@@ -135,7 +135,7 @@ export { AddOptionType as AddOptionType_alias_2 }
135
135
  * 장비에 소울 인챈터를 적용합니다.
136
136
  * @param gear 적용할 장비.
137
137
  *
138
- * @throws {@link TypeError}
138
+ * @throws {@link GearError}
139
139
  * 소울 인챈터를 적용할 수 없는 경우.
140
140
  */
141
141
  declare function applySoulEnchant(gear: Gear): void;
@@ -148,10 +148,10 @@ export { AddOptionType as AddOptionType_alias_2 }
148
148
  * @param type 주문의 흔적 종류.
149
149
  * @param rate 주문의 흔적 성공 확률.
150
150
  *
151
- * @throws {@link TypeError}
151
+ * @throws {@link GearError}
152
152
  * 주문서를 적용할 수 없는 상태의 장비일 경우.
153
153
  *
154
- * @throws {@link TypeError}
154
+ * @throws {@link GearError}
155
155
  * 장비에 적용할 수 없는 주문의 흔적을 지정했을 경우.
156
156
  */
157
157
  declare function applySpellTrace(gear: Gear, type: SpellTraceType, rate: SpellTraceRate): void;
@@ -353,6 +353,12 @@ export { AddOptionType as AddOptionType_alias_2 }
353
353
 
354
354
  export declare function defaultGear(data: Partial<GearData>): Gear;
355
355
 
356
+ export declare class _DeferredGearError extends Error {
357
+ private readonly status;
358
+ constructor(message: string, status: Record<string, unknown>);
359
+ gear(gear: ReadonlyGear): GearError;
360
+ }
361
+
356
362
  export declare const enum ErrorMessage {
357
363
  Shape_InvalidShapeChangeGear = "\uC678\uD615\uC744 \uBCC0\uACBD\uD560 \uC218 \uC5C6\uB294 \uC7A5\uBE44\uC785\uB2C8\uB2E4.",
358
364
  AddOption_InvalidApplyGear = "\uCD94\uAC00 \uC635\uC158\uC744 \uC801\uC6A9\uD560 \uC218 \uC5C6\uB294 \uC0C1\uD0DC\uC758 \uC7A5\uBE44\uC785\uB2C8\uB2E4.",
@@ -388,7 +394,12 @@ export { AddOptionType as AddOptionType_alias_2 }
388
394
  Soul_InvalidSoulCharge = "\uC18C\uC6B8 \uCDA9\uC804\uB7C9\uC740 0 \uC774\uC0C1 1000 \uC774\uD558\uC758 \uAC12\uC73C\uB85C\uB9CC \uBCC0\uACBD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",
389
395
  Soul_AlreadyEnchanted = "\uC18C\uC6B8\uC6E8\uD3F0\uC740 \uC911\uBCF5\uD574\uC11C \uC801\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",
390
396
  Exceptional_InvalidEnhanceGear = "\uC775\uC149\uC154\uB110 \uAC15\uD654\uB97C \uC801\uC6A9\uD560 \uC218 \uC5C6\uB294 \uC0C1\uD0DC\uC758 \uC7A5\uBE44\uC785\uB2C8\uB2E4.",
391
- Exceptional_InvalidResetGear = "\uC775\uC149\uC154\uB110 \uAC15\uD654\uB97C \uCD08\uAE30\uD654\uD560 \uC218 \uC5C6\uB294 \uC7A5\uBE44\uC785\uB2C8\uB2E4."
397
+ Exceptional_InvalidResetGear = "\uC775\uC149\uC154\uB110 \uAC15\uD654\uB97C \uCD08\uAE30\uD654\uD560 \uC218 \uC5C6\uB294 \uC7A5\uBE44\uC785\uB2C8\uB2E4.",
398
+ Constructor_InvalidVersion = "\uC9C0\uC6D0\uD558\uC9C0 \uC54A\uB294 \uC7A5\uBE44 \uC815\uBCF4 \uBC84\uC804\uC785\uB2C8\uB2E4. \uC5C5\uADF8\uB808\uC774\uB4DC \uD6C4 \uC0DD\uC131\uD574\uC57C \uD569\uB2C8\uB2E4.",
399
+ Migrate_InvalidGearData = "\uC785\uB825 \uB370\uC774\uD130\uAC00 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",
400
+ Migrate_UnknownDataVersion = "\uC785\uB825 \uB370\uC774\uD130\uC758 \uBC84\uC804\uC774 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",
401
+ Migrate_DataVersionTooNew = "\uC785\uB825 \uB370\uC774\uD130\uC758 \uBC84\uC804\uC774 \uC9C0\uC6D0\uD558\uB294 \uBC84\uC804\uBCF4\uB2E4 \uCD5C\uC2E0\uC785\uB2C8\uB2E4.",
402
+ Migrate_DataPropertyWillBeOverwritten = "\uC785\uB825 \uB370\uC774\uD130\uC758 \uC18D\uC131\uC774 \uB36E\uC5B4\uC4F0\uC5EC\uC9D1\uB2C8\uB2E4. \uC81C\uAC70\uD558\uACE0 \uB2E4\uC2DC \uC2E4\uD589\uD574 \uC8FC\uC138\uC694."
392
403
  }
393
404
 
394
405
  /**
@@ -409,7 +420,7 @@ export { AddOptionType as AddOptionType_alias_2 }
409
420
  * 장비에 주문서 실패를 적용합니다.
410
421
  * @param gear 적용할 장비.
411
422
  *
412
- * @throws {@link TypeError}
423
+ * @throws {@link GearError}
413
424
  * 주문서 실패를 적용할 수 없는 상태의 장비일 경우.
414
425
  */
415
426
  declare function failScroll(gear: Gear): void;
@@ -445,10 +456,20 @@ export { AddOptionType as AddOptionType_alias_2 }
445
456
  *
446
457
  * @param shape 변경할 장비 외형.
447
458
  *
448
- * @throws {@link TypeError}
459
+ * @throws {@link GearError}
449
460
  * 외형을 변경할 수 없는 장비일 경우.
450
461
  */
451
462
  set shape(shape: GearShapeData | undefined);
463
+ /**
464
+ * 이름 새기기
465
+ */
466
+ get itemTag(): string | undefined;
467
+ /**
468
+ * 이름 새기기 변경
469
+ *
470
+ * @param itemTag 적용할 이름.
471
+ */
472
+ set itemTag(itemTag: string | undefined);
452
473
  /**
453
474
  * 장비가 추가 옵션을 지원하는지 여부
454
475
  */
@@ -462,10 +483,10 @@ export { AddOptionType as AddOptionType_alias_2 }
462
483
  * @param type 추가 옵션 종류.
463
484
  * @param grade 추가 옵션 단계.
464
485
  *
465
- * @throws {@link TypeError}
486
+ * @throws {@link GearError}
466
487
  * 추가 옵션을 적용할 수 없는 상태일 경우.
467
488
  *
468
- * @throws {@link TypeError}
489
+ * @throws {@link GearError}
469
490
  * 부여할 수 없는 추가 옵션을 지정했을 경우.
470
491
  */
471
492
  applyAddOption(type: AddOptionType, grade: AddOptionGrade): void;
@@ -476,7 +497,7 @@ export { AddOptionType as AddOptionType_alias_2 }
476
497
  /**
477
498
  * 장비의 추가 옵션을 초기화합니다.
478
499
  *
479
- * @throws {@link TypeError}
500
+ * @throws {@link GearError}
480
501
  * 추가 옵션을 초기화할 수 없는 상태의 장비일 경우.
481
502
  */
482
503
  resetAddOption(): void;
@@ -491,7 +512,7 @@ export { AddOptionType as AddOptionType_alias_2 }
491
512
  /**
492
513
  * 장비에 주문서 실패를 1회 적용합니다.
493
514
  *
494
- * @throws {@link TypeError}
515
+ * @throws {@link GearError}
495
516
  * 주문서 실패를 적용할 수 없는 상태일 경우.
496
517
  */
497
518
  applyScrollFail(): void;
@@ -502,7 +523,7 @@ export { AddOptionType as AddOptionType_alias_2 }
502
523
  /**
503
524
  * 장비의 주문서 실패로 차감된 업그레이드 가능 횟수를 1회 복구합니다.
504
525
  *
505
- * @throws {@link TypeError}
526
+ * @throws {@link GearError}
506
527
  * 업그레이드 가능 횟수를 복구할 수 없는 상태일 경우.
507
528
  */
508
529
  applyResileScroll(): void;
@@ -513,7 +534,7 @@ export { AddOptionType as AddOptionType_alias_2 }
513
534
  /**
514
535
  * 장비의 주문서 강화를 초기화합니다.
515
536
  *
516
- * @throws {@link TypeError}
537
+ * @throws {@link GearError}
517
538
  * 주문서 강화를 초기화할 수 없는 장비일 경우.
518
539
  */
519
540
  resetUpgrade(): void;
@@ -525,7 +546,7 @@ export { AddOptionType as AddOptionType_alias_2 }
525
546
  * 장비에 주문서를 1회 적용합니다.
526
547
  * @param scroll 적용할 주문서.
527
548
  *
528
- * @throws {@link TypeError}
549
+ * @throws {@link GearError}
529
550
  * 주문서를 적용할 수 없는 상태일 경우.
530
551
  */
531
552
  applyScroll(scroll: Scroll): void;
@@ -534,10 +555,10 @@ export { AddOptionType as AddOptionType_alias_2 }
534
555
  * @param type 주문의 흔적 종류.
535
556
  * @param rate 주문의 흔적 성공 확률.
536
557
  *
537
- * @throws {@link TypeError}
558
+ * @throws {@link GearError}
538
559
  * 주문서를 적용할 수 없는 상태일 경우.
539
560
  *
540
- * @throws {@link TypeError}
561
+ * @throws {@link GearError}
541
562
  * 적용할 수 없는 주문의 흔적을 지정했을 경우.
542
563
  */
543
564
  applySpellTrace(type: SpellTraceType, rate: SpellTraceRate): void;
@@ -552,7 +573,7 @@ export { AddOptionType as AddOptionType_alias_2 }
552
573
  /**
553
574
  * 장비에 스타포스 강화를 1회 적용합니다.
554
575
  *
555
- * @throws {@link TypeError}
576
+ * @throws {@link GearError}
556
577
  * 스타포스 강화를 적용할 수 없는 경우.
557
578
  */
558
579
  applyStarforce(): void;
@@ -563,7 +584,7 @@ export { AddOptionType as AddOptionType_alias_2 }
563
584
  /**
564
585
  * 장비에 최대 강화 단계를 무시하고 스타포스 강화를 1회 적용합니다.
565
586
  *
566
- * @throws {@link TypeError}
587
+ * @throws {@link GearError}
567
588
  * 스타포스 강화를 적용할 수 없는 경우.
568
589
  */
569
590
  applyStarforceIgnoringMaxStar(): void;
@@ -575,7 +596,7 @@ export { AddOptionType as AddOptionType_alias_2 }
575
596
  * 장비에 놀라운 장비 강화 주문서를 1회 적용합니다.
576
597
  * @param bonus 보너스 스탯 적용 여부.
577
598
  *
578
- * @throws {@link TypeError}
599
+ * @throws {@link GearError}
579
600
  * 놀라운 장비 강화 주문서를 적용할 수 없는 경우.
580
601
  */
581
602
  applyStarScroll(bonus?: boolean): void;
@@ -587,7 +608,7 @@ export { AddOptionType as AddOptionType_alias_2 }
587
608
  * 장비에 놀라운 장비 강화 주문서를 1회 적용합니다.
588
609
  * @param bonus 보너스 스탯 적용 여부.
589
610
  *
590
- * @throws {@link TypeError}
611
+ * @throws {@link GearError}
591
612
  * 놀라운 장비 강화 주문서를 적용할 수 없는 경우.
592
613
  */
593
614
  applyStarScrollIgnoringMaxStar(bonus?: boolean): void;
@@ -616,10 +637,10 @@ export { AddOptionType as AddOptionType_alias_2 }
616
637
  * @param grade 잠재능력 등급.
617
638
  * @param options 잠재옵션 목록.
618
639
  *
619
- * @throws {@link TypeError}
640
+ * @throws {@link GearError}
620
641
  * 잠재능력을 설정할 수 없는 경우.
621
642
  *
622
- * @throws {@link TypeError}
643
+ * @throws {@link RangeError}
623
644
  * 설정하려는 잠재능력 등급이 Normal일 경우.
624
645
  *
625
646
  * @throws {@link TypeError}
@@ -631,7 +652,7 @@ export { AddOptionType as AddOptionType_alias_2 }
631
652
  *
632
653
  * 에디셔널 잠재능력은 변경되지 않습니다.
633
654
  *
634
- * @throws {@link TypeError}
655
+ * @throws {@link GearError}
635
656
  * 잠재능력을 초기화할 수 없는 경우.
636
657
  */
637
658
  resetPotential(): void;
@@ -652,10 +673,10 @@ export { AddOptionType as AddOptionType_alias_2 }
652
673
  * @param grade 에디셔널 잠재능력 등급.
653
674
  * @param options 에디셔널 잠재옵션 목록.
654
675
  *
655
- * @throws {@link TypeError}
676
+ * @throws {@link GearError}
656
677
  * 에디셔널 잠재능력을 설정할 수 없는 경우.
657
678
  *
658
- * @throws {@link TypeError}
679
+ * @throws {@link RangeError}
659
680
  * 설정하려는 에디셔널 잠재능력 등급이 Normal일 경우.
660
681
  *
661
682
  * @throws {@link TypeError}
@@ -665,7 +686,7 @@ export { AddOptionType as AddOptionType_alias_2 }
665
686
  /**
666
687
  * 장비의 에디셔널 잠재능력을 초기화합니다.
667
688
  *
668
- * @throws {@link TypeError}
689
+ * @throws {@link GearError}
669
690
  * 에디셔널 잠재능력을 초기화할 수 없는 경우.
670
691
  */
671
692
  resetAdditionalPotential(): void;
@@ -689,7 +710,7 @@ export { AddOptionType as AddOptionType_alias_2 }
689
710
  * 장비에 소울을 장착합니다.
690
711
  * @param soul 장착할 소울 아이템.
691
712
  *
692
- * @throws {@link TypeError}
713
+ * @throws {@link GearError}
693
714
  * 소울을 장착할 수 없는 경우.
694
715
  */
695
716
  setSoul(soul: SoulData): void;
@@ -701,7 +722,7 @@ export { AddOptionType as AddOptionType_alias_2 }
701
722
  * 장비의 소울 충전량을 설정합니다.
702
723
  * @param charge 소울 충전량.
703
724
  *
704
- * @throws {@link TypeError}
725
+ * @throws {@link GearError}
705
726
  * 소울 충전량을 설정할 수 없는 경우.
706
727
  */
707
728
  setSoulCharge(charge: number): void;
@@ -721,7 +742,7 @@ export { AddOptionType as AddOptionType_alias_2 }
721
742
  * 장비에 익셉셔널 강화를 적용합니다.
722
743
  * @param exceptionalHammer 적용할 익셉셔널 해머.
723
744
  *
724
- * @throws {@link TypeError}
745
+ * @throws {@link GearError}
725
746
  * 익셉셔널 강화를 적용할 수 없는 상태일 경우.
726
747
  */
727
748
  applyExceptional(exceptionalHammer: ExceptionalHammer): void;
@@ -732,7 +753,7 @@ export { AddOptionType as AddOptionType_alias_2 }
732
753
  /**
733
754
  * 장비의 익셉셔널 강화를 초기화합니다.
734
755
  *
735
- * @throws {@link TypeError}
756
+ * @throws {@link GearError}
736
757
  * 익셉셔널 강화를 초기화할 수 없는 경우.
737
758
  */
738
759
  resetExceptional(): void;
@@ -784,6 +805,8 @@ export { AddOptionType as AddOptionType_alias_2 }
784
805
  get canAdditionalPotential(): GearCapability;
785
806
  /** 스페셜 아이템 여부 */
786
807
  get specialGrade(): boolean;
808
+ /** 최대 스타포스 강화 단계 */
809
+ get fixedMaxStar(): number | undefined;
787
810
  /** 카르마의 가위 사용 가능 여부 */
788
811
  get cuttable(): GearCuttable;
789
812
  /** 가위 사용 가능 횟수 */
@@ -851,6 +874,8 @@ export { AddOptionType as AddOptionType_alias_2 }
851
874
  canAdditionalPotential?: GearCapability;
852
875
  /** 스페셜 아이템 여부 */
853
876
  specialGrade?: boolean;
877
+ /** 최대 스타포스 강화 단계 */
878
+ fixedMaxStar?: number;
854
879
  /** 카르마의 가위 사용 가능 여부 */
855
880
  cuttable?: GearCuttable;
856
881
  /** 가위 사용 가능 횟수 */
@@ -918,16 +943,20 @@ export { AddOptionType as AddOptionType_alias_2 }
918
943
  * 장비 정보
919
944
  */
920
945
  declare interface GearData {
921
- /** 장비 메타데이터 */
922
- meta: GearMetadata;
946
+ /** 장비 정보 버전 */
947
+ version: typeof VERSION;
948
+ /** 아이템 ID */
949
+ id: number;
923
950
  /** 장비명 */
924
951
  name: string;
925
- /** 장비 아이콘 */
926
- icon?: string;
927
952
  /** 장비 설명 */
928
953
  desc?: string;
954
+ /** 장비 아이콘 */
955
+ icon: string;
929
956
  /** 장비 외형 */
930
957
  shape?: GearShapeData;
958
+ /** 이름 새기기 */
959
+ itemTag?: string;
931
960
  /** 장비 분류 */
932
961
  type: GearType;
933
962
  /** 장비 착용 제한 */
@@ -975,6 +1004,16 @@ export { AddOptionType as AddOptionType_alias_2 }
975
1004
  export { GearData as GearData_alias_1 }
976
1005
  export { GearData as GearData_alias_2 }
977
1006
 
1007
+ export declare class GearError extends Error {
1008
+ readonly gearId: number;
1009
+ readonly gearName: string;
1010
+ readonly status: Record<string, unknown>;
1011
+ constructor(message: string, gear: {
1012
+ id: number;
1013
+ name: string;
1014
+ }, status: Record<string, unknown>);
1015
+ }
1016
+
978
1017
  /**
979
1018
  * 장비 익셉셔널 옵션
980
1019
  */
@@ -1014,23 +1053,6 @@ export { AddOptionType as AddOptionType_alias_2 }
1014
1053
  export { GearIncline as GearIncline_alias_1 }
1015
1054
  export { GearIncline as GearIncline_alias_2 }
1016
1055
 
1017
- /**
1018
- * 장비 메타데이터
1019
- *
1020
- * 사용자는 메타데이터에 커스텀 속성을 추가할 수 있습니다.
1021
- * 커스텀 속성은 해당 라이브러리가 임의로 변경하지 않습니다.
1022
- * 충돌을 방지하기 위해 커스텀 속성명은 하나의 `_`으로 시작해야 합니다.
1023
- */
1024
- declare interface GearMetadata {
1025
- /** 아이템 ID */
1026
- id: number;
1027
- /** 장비 정보 버전 */
1028
- version: 1;
1029
- }
1030
- export { GearMetadata }
1031
- export { GearMetadata as GearMetadata_alias_1 }
1032
- export { GearMetadata as GearMetadata_alias_2 }
1033
-
1034
1056
  declare type GearNames = keyof typeof resources;
1035
1057
 
1036
1058
  /**
@@ -1487,7 +1509,7 @@ export { AddOptionType as AddOptionType_alias_2 }
1487
1509
  * @param grade 추가 옵션 단계.
1488
1510
  * @returns 추가 옵션 종류 및 단계에 해당하는 옵션.
1489
1511
  *
1490
- * @throws {@link TypeError}
1512
+ * @throws {@link GearError}
1491
1513
  * 장비에 부여할 수 없는 추가 옵션을 지정했을 경우.
1492
1514
  */
1493
1515
  declare function getAddOption(gear: ReadonlyGear, type: AddOptionType, grade: AddOptionGrade): Partial<GearAddOption>;
@@ -1503,7 +1525,7 @@ export { AddOptionType as AddOptionType_alias_2 }
1503
1525
  * @param grade 추가 옵션 단계.
1504
1526
  * @returns 추가 옵션 값.
1505
1527
  *
1506
- * @throws {@link TypeError}
1528
+ * @throws {@link GearError}
1507
1529
  * 장비에 부여할 수 없는 추가 옵션을 지정했을 경우.
1508
1530
  */
1509
1531
  declare function getAddOptionValue(gear: ReadonlyGear, type: AddOptionType, grade: AddOptionGrade): number;
@@ -1558,13 +1580,15 @@ export { AddOptionType as AddOptionType_alias_2 }
1558
1580
  * @param rate 주문의 흔적 성공 확률.
1559
1581
  * @returns 주문의 흔적 주문서.
1560
1582
  *
1561
- * @throws {@link TypeError}
1583
+ * @throws {@link GearError}
1562
1584
  * 주문의 흔적을 장비에 적용할 수 없는 경우.
1563
1585
  */
1564
1586
  declare function getSpellTraceScroll(gear: ReadonlyGear, type: SpellTraceType, rate: SpellTraceRate): SpellTrace;
1565
1587
  export { getSpellTraceScroll }
1566
1588
  export { getSpellTraceScroll as getSpellTraceScroll_alias_1 }
1567
1589
 
1590
+ export declare function getVersion(data: object): number | undefined;
1591
+
1568
1592
  export declare function _getWeaponPowerValue(grade: AddOptionGrade, ctx: AddOptionContext): number;
1569
1593
 
1570
1594
  export declare function _getWeaponSpellTrace(gear: ReadonlyGear, type: SpellTraceType, rate: SpellTraceRate): SpellTrace;
@@ -1662,7 +1686,11 @@ export { AddOptionType as AddOptionType_alias_2 }
1662
1686
 
1663
1687
  export declare const MAX_SUPERIOR = 15;
1664
1688
 
1665
- declare type OptionalProperty = 'attackSpeed' | 'cuttableCount' | 'totalCuttableCount' | 'setItemId' | 'growthExp' | 'growthLevel' | 'dateExpire';
1689
+ declare function migrate(data: object, version?: number): object;
1690
+ export { migrate }
1691
+ export { migrate as migrate_alias_1 }
1692
+
1693
+ declare type OptionalProperty = 'attackSpeed' | 'cuttableCount' | 'totalCuttableCount' | 'setItemId' | 'growthExp' | 'growthLevel' | 'dateExpire' | 'fixedMaxStar';
1666
1694
 
1667
1695
  export declare type Patch = (gear: Gear) => void;
1668
1696
 
@@ -1716,1449 +1744,1409 @@ export { AddOptionType as AddOptionType_alias_2 }
1716
1744
  /**
1717
1745
  * 장비 정보를 참조하는 장비 인스턴스를 생성합니다.
1718
1746
  * @param data 장비 정보.
1719
- */
1720
- constructor(data: GearData);
1721
- /**
1722
- * 장비 정보
1723
- */
1724
- get data(): Readonly<GearData>;
1725
- /**
1726
- * 장비 메타데이터
1727
- */
1728
- get meta(): GearMetadata;
1729
- /**
1730
- * 장비명
1731
- */
1732
- get name(): string;
1733
- /**
1734
- * 장비 아이콘
1735
- */
1736
- get icon(): string;
1737
- /**
1738
- * 장비 설명
1739
- */
1740
- get desc(): string | undefined;
1741
- /**
1742
- * 장비 외형
1743
- */
1744
- get shape(): Readonly<GearShapeData> | undefined;
1745
- /**
1746
- * 장비 외형 아이콘
1747
- *
1748
- * 장비 외형이 설정되었을 경우 장비 외형 아이콘, 그렇지 않을 경우 장비 아이콘.
1749
- */
1750
- get shapeIcon(): string;
1751
- /**
1752
- * 장비 분류
1753
- */
1754
- get type(): GearType;
1755
- /**
1756
- * 장비 착용 제한
1757
- */
1758
- get req(): GearReq;
1759
- /**
1760
- * 장비 속성
1761
- */
1762
- get attributes(): GearAttribute;
1763
- /**
1764
- * 장비 최종 옵션
1765
- *
1766
- * 기본 옵션, 추가 옵션, 주문서 옵션, 스타포스 옵션의 합.
1767
- *
1768
- * 익셉셔널 옵션은 미포함.
1769
- */
1770
- get totalOption(): Readonly<GearBaseOption & GearAddOption & GearUpgradeOption & GearStarforceOption>;
1771
- /**
1772
- * 장비 순수 옵션
1773
- */
1774
- get baseOption(): Readonly<GearBaseOption>;
1775
- /**
1776
- * 장비 추가 옵션
1777
- */
1778
- get addOption(): Readonly<GearAddOption>;
1779
- /**
1780
- * 장비 주문서 강화 옵션
1781
- */
1782
- get upgradeOption(): Readonly<GearUpgradeOption>;
1783
- /**
1784
- * 장비 스타포스 옵션
1785
- */
1786
- get starforceOption(): Readonly<GearStarforceOption>;
1787
- /**
1788
- * 추가 옵션 목록
1789
- */
1790
- get addOptions(): readonly Readonly<AddOptionData>[];
1791
- /**
1792
- * 업그레이드 횟수
1793
- */
1794
- get scrollUpgradeCount(): number;
1795
- /**
1796
- * 복구 가능 횟수
1797
- */
1798
- get scrollResilienceCount(): number;
1799
- /**
1800
- * 업그레이드 가능 횟수
1801
- */
1802
- get scrollUpgradeableCount(): number;
1803
- /**
1804
- * 전체 업그레이드 가능 횟수
1805
1747
  *
1806
- * 성공, 실패, 황금 망치 적용 여부를 무시한 장비의 기본 업그레이드 가능 횟수입니다.
1807
- */
1808
- get scrollTotalUpgradeableCount(): number;
1809
- /**
1810
- * 스타포스 강화 단계
1811
- */
1812
- get star(): number;
1813
- /**
1814
- * 최대 스타포스 강화 단계
1815
- *
1816
- * 놀라운 장비 강화 주문서가 사용되었을 경우 최대 `15`입니다.
1817
- */
1818
- get maxStar(): number;
1819
- /**
1820
- * 놀라운 장비 강화 주문서 사용 여부
1821
- */
1822
- get starScroll(): boolean;
1823
- /**
1824
- * 소울 인챈트 여부
1825
- */
1826
- get soulEnchanted(): boolean;
1827
- /**
1828
- * 소울
1829
- */
1830
- get soul(): ReadonlySoulData | undefined;
1831
- /**
1832
- * 소울 충전량
1833
- */
1834
- get soulCharge(): number;
1835
- /**
1836
- * 소울 충전 옵션
1837
- */
1838
- get soulChargeOption(): Readonly<SoulChargeOption>;
1839
- /**
1840
- * 잠재능력 등급
1841
- */
1842
- get potentialGrade(): PotentialGrade;
1843
- /**
1844
- * 잠재능력 목록
1845
- */
1846
- get potentials(): readonly ReadonlyPotential[];
1847
- /**
1848
- * 에디셔널 잠재능력 등급
1849
- */
1850
- get additionalPotentialGrade(): PotentialGrade;
1851
- /**
1852
- * 에디셔널 잠재능력 목록
1853
- */
1854
- get additionalPotentials(): readonly Readonly<ReadonlyPotential>[];
1855
- /**
1856
- * 장비 익셉셔널 옵션
1857
- */
1858
- get exceptionalOption(): Readonly<GearExceptionalOption>;
1859
- /**
1860
- * 익셉셔널 강화 횟수
1861
- */
1862
- get exceptionalUpgradeCount(): number;
1863
- /**
1864
- * 익셉셔널 강화 가능 횟수
1865
- */
1866
- get exceptionalUpgradeableCount(): number;
1748
+ * @throws {@link GearError}
1749
+ * 지원하지 않는 장비 정보 버전일 경우.
1750
+ */
1751
+ constructor(data: GearData);
1752
+ /**
1753
+ * 장비 정보
1754
+ */
1755
+ get data(): Readonly<GearData>;
1756
+ /**
1757
+ * 장비 정보 버전
1758
+ */
1759
+ get version(): typeof VERSION;
1760
+ /**
1761
+ * 장비 ID
1762
+ */
1763
+ get id(): number;
1764
+ /**
1765
+ * 장비명
1766
+ */
1767
+ get name(): string;
1768
+ /**
1769
+ * 장비 아이콘
1770
+ */
1771
+ get icon(): string;
1772
+ /**
1773
+ * 장비 설명
1774
+ */
1775
+ get desc(): string | undefined;
1776
+ /**
1777
+ * 장비 외형
1778
+ */
1779
+ get shape(): Readonly<GearShapeData> | undefined;
1780
+ /**
1781
+ * 장비 외형 아이콘
1782
+ *
1783
+ * 장비 외형이 설정되었을 경우 장비 외형 아이콘, 그렇지 않을 경우 장비 아이콘.
1784
+ */
1785
+ get shapeIcon(): string;
1786
+ /**
1787
+ * 이름 새기기
1788
+ */
1789
+ get itemTag(): string | undefined;
1790
+ /**
1791
+ * 장비 분류
1792
+ */
1793
+ get type(): GearType;
1794
+ /**
1795
+ * 장비 착용 제한
1796
+ */
1797
+ get req(): GearReq;
1798
+ /**
1799
+ * 장비 속성
1800
+ */
1801
+ get attributes(): GearAttribute;
1802
+ /**
1803
+ * 장비 최종 옵션
1804
+ *
1805
+ * 기본 옵션, 추가 옵션, 주문서 옵션, 스타포스 옵션의 합.
1806
+ *
1807
+ * 익셉셔널 옵션은 미포함.
1808
+ */
1809
+ get totalOption(): Readonly<GearBaseOption & GearAddOption & GearUpgradeOption & GearStarforceOption>;
1810
+ /**
1811
+ * 장비 순수 옵션
1812
+ */
1813
+ get baseOption(): Readonly<GearBaseOption>;
1814
+ /**
1815
+ * 장비 추가 옵션
1816
+ */
1817
+ get addOption(): Readonly<GearAddOption>;
1818
+ /**
1819
+ * 장비 주문서 강화 옵션
1820
+ */
1821
+ get upgradeOption(): Readonly<GearUpgradeOption>;
1822
+ /**
1823
+ * 장비 스타포스 옵션
1824
+ */
1825
+ get starforceOption(): Readonly<GearStarforceOption>;
1826
+ /**
1827
+ * 추가 옵션 목록
1828
+ */
1829
+ get addOptions(): readonly Readonly<AddOptionData>[];
1830
+ /**
1831
+ * 업그레이드 횟수
1832
+ */
1833
+ get scrollUpgradeCount(): number;
1834
+ /**
1835
+ * 복구 가능 횟수
1836
+ */
1837
+ get scrollResilienceCount(): number;
1838
+ /**
1839
+ * 업그레이드 가능 횟수
1840
+ */
1841
+ get scrollUpgradeableCount(): number;
1842
+ /**
1843
+ * 전체 업그레이드 가능 횟수
1844
+ *
1845
+ * 성공, 실패, 황금 망치 적용 여부를 무시한 장비의 기본 업그레이드 가능 횟수입니다.
1846
+ */
1847
+ get scrollTotalUpgradeableCount(): number;
1848
+ /**
1849
+ * 스타포스 강화 단계
1850
+ */
1851
+ get star(): number;
1852
+ /**
1853
+ * 최대 스타포스 강화 단계
1854
+ *
1855
+ * 놀라운 장비 강화 주문서가 사용되었을 경우 최대 `15`입니다.
1856
+ */
1857
+ get maxStar(): number;
1858
+ /**
1859
+ * 놀라운 장비 강화 주문서 사용 여부
1860
+ */
1861
+ get starScroll(): boolean;
1862
+ /**
1863
+ * 소울 인챈트 여부
1864
+ */
1865
+ get soulEnchanted(): boolean;
1866
+ /**
1867
+ * 소울
1868
+ */
1869
+ get soul(): ReadonlySoulData | undefined;
1870
+ /**
1871
+ * 소울 충전량
1872
+ */
1873
+ get soulCharge(): number;
1874
+ /**
1875
+ * 소울 충전 옵션
1876
+ */
1877
+ get soulChargeOption(): Readonly<SoulChargeOption>;
1878
+ /**
1879
+ * 잠재능력 등급
1880
+ */
1881
+ get potentialGrade(): PotentialGrade;
1882
+ /**
1883
+ * 잠재능력 목록
1884
+ */
1885
+ get potentials(): readonly ReadonlyPotential[];
1886
+ /**
1887
+ * 에디셔널 잠재능력 등급
1888
+ */
1889
+ get additionalPotentialGrade(): PotentialGrade;
1890
+ /**
1891
+ * 에디셔널 잠재능력 목록
1892
+ */
1893
+ get additionalPotentials(): readonly Readonly<ReadonlyPotential>[];
1894
+ /**
1895
+ * 장비 익셉셔널 옵션
1896
+ */
1897
+ get exceptionalOption(): Readonly<GearExceptionalOption>;
1898
+ /**
1899
+ * 익셉셔널 강화 횟수
1900
+ */
1901
+ get exceptionalUpgradeCount(): number;
1902
+ /**
1903
+ * 익셉셔널 강화 가능 횟수
1904
+ */
1905
+ get exceptionalUpgradeableCount(): number;
1906
+ /**
1907
+ * 전체 익셉셔널 강화 가능 횟수
1908
+ */
1909
+ get exceptionalTotalUpgradeableCount(): number;
1910
+ }
1911
+ export { ReadonlyGear }
1912
+ export { ReadonlyGear as ReadonlyGear_alias_1 }
1913
+
1867
1914
  /**
1868
- * 전체 익셉셔널 강화 가능 횟수
1915
+ * 잠재옵션 (읽기 전용)
1869
1916
  */
1870
- get exceptionalTotalUpgradeableCount(): number;
1871
- }
1872
- export { ReadonlyGear }
1873
- export { ReadonlyGear as ReadonlyGear_alias_1 }
1917
+ declare interface ReadonlyPotential extends Readonly<PotentialData> {
1918
+ /** 잠재능력 옵션 */
1919
+ option: Readonly<PotentialOption>;
1920
+ }
1921
+ export { ReadonlyPotential }
1922
+ export { ReadonlyPotential as ReadonlyPotential_alias_1 }
1874
1923
 
1875
- /**
1876
- * 잠재옵션 (읽기 전용)
1877
- */
1878
- declare interface ReadonlyPotential extends Readonly<PotentialData> {
1879
- /** 잠재능력 옵션 */
1880
- option: Readonly<PotentialOption>;
1881
- }
1882
- export { ReadonlyPotential }
1883
- export { ReadonlyPotential as ReadonlyPotential_alias_1 }
1884
-
1885
- /**
1886
- * 소울 정보 (읽기 전용)
1887
- */
1888
- declare type ReadonlySoulData = Readonly<Omit<SoulData, 'option'> & {
1889
- option: Readonly<SoulOption>;
1890
- }>;
1891
- export { ReadonlySoulData }
1892
- export { ReadonlySoulData as ReadonlySoulData_alias_1 }
1893
- export { ReadonlySoulData as ReadonlySoulData_alias_2 }
1894
-
1895
- /**
1896
- * 장비의 스타포스 강화 옵션을 다시 계산합니다.
1897
- * @param gear 계산할 장비.
1898
- *
1899
- * @throws {@link TypeError}
1900
- * 스타포스 강화 옵션을 다시 계산할 수 없는 경우.
1924
+ /**
1925
+ * 소울 정보 (읽기 전용)
1901
1926
  */
1902
- export declare function recalculateStarforce(gear: Gear): void;
1903
-
1904
- /**
1905
- * 장비의 에디셔널 잠재능력을 초기화합니다.
1906
- * @param gear 초기화할 장비.
1907
- *
1908
- * @throws {@link TypeError}
1909
- * 에디셔널 잠재능력을 초기화할 수 없는 장비일 경우.
1910
- */
1911
- declare function resetAdditionalPotential(gear: Gear): void;
1912
- export { resetAdditionalPotential }
1913
- export { resetAdditionalPotential as resetAdditionalPotential_alias_1 }
1914
-
1915
- /**
1916
- * 장비의 추가 옵션을 초기화합니다.
1917
- * @param gear 초기화할 장비.
1918
- *
1919
- * @throws {@link TypeError}
1920
- * 추가 옵션을 초기화할 수 없는 상태의 장비일 경우.
1921
- */
1922
- declare function resetAddOption(gear: Gear): void;
1923
- export { resetAddOption }
1924
- export { resetAddOption as resetAddOption_alias_1 }
1925
-
1926
- /**
1927
- * 장비의 익셉셔널 강화를 초기화합니다.
1928
- * @param gear 초기화할 장비.
1929
- *
1930
- * @throws {@link TypeError}
1931
- * 익셉셔널 강화를 초기화할 수 없는 장비일 경우.
1932
- */
1933
- declare function resetExceptional(gear: Gear): void;
1934
- export { resetExceptional }
1935
- export { resetExceptional as resetExceptional_alias_1 }
1927
+ declare type ReadonlySoulData = Readonly<Omit<SoulData, 'option'> & {
1928
+ option: Readonly<SoulOption>;
1929
+ }>;
1930
+ export { ReadonlySoulData }
1931
+ export { ReadonlySoulData as ReadonlySoulData_alias_1 }
1932
+ export { ReadonlySoulData as ReadonlySoulData_alias_2 }
1936
1933
 
1937
1934
  /**
1938
- * 장비의 잠재능력을 초기화합니다.
1939
- *
1940
- * 에디셔널 잠재능력은 변경되지 않습니다.
1941
- * @param gear 초기화할 장비.
1935
+ * 장비의 스타포스 강화 옵션을 다시 계산합니다.
1936
+ * @param gear 계산할 장비.
1942
1937
  *
1943
- * @throws {@link TypeError}
1944
- * 잠재능력을 초기화할 수 없는 장비일 경우.
1938
+ * @throws {@link GearError}
1939
+ * 스타포스 강화 옵션을 다시 계산할 수 없는 경우.
1945
1940
  */
1946
- declare function resetPotential(gear: Gear): void;
1947
- export { resetPotential }
1948
- export { resetPotential as resetPotential_alias_1 }
1941
+ export declare function recalculateStarforce(gear: Gear): void;
1949
1942
 
1950
1943
  /**
1951
- * 장비의 소울웨폰을 초기화합니다.
1952
- * @param gear 초기화할 장비.
1953
- */
1954
- declare function resetSoulEnchant(gear: Gear): void;
1955
- export { resetSoulEnchant }
1956
- export { resetSoulEnchant as resetSoulEnchant_alias_1 }
1957
-
1958
- /**
1959
- * 장비의 스타포스 강화를 초기화합니다.
1944
+ * 장비의 에디셔널 잠재능력을 초기화합니다.
1960
1945
  * @param gear 초기화할 장비.
1961
1946
  *
1962
- * @throws {@link TypeError}
1963
- * 스타포스 강화를 초기화할 수 없는 장비일 경우.
1947
+ * @throws {@link GearError}
1948
+ * 에디셔널 잠재능력을 초기화할 수 없는 장비일 경우.
1964
1949
  */
1965
- declare function resetStarforce(gear: Gear): void;
1966
- export { resetStarforce }
1967
- export { resetStarforce as resetStarforce_alias_1 }
1950
+ declare function resetAdditionalPotential(gear: Gear): void;
1951
+ export { resetAdditionalPotential }
1952
+ export { resetAdditionalPotential as resetAdditionalPotential_alias_1 }
1968
1953
 
1969
1954
  /**
1970
- * 장비의 주문서 강화를 초기화합니다.
1955
+ * 장비의 추가 옵션을 초기화합니다.
1971
1956
  * @param gear 초기화할 장비.
1972
1957
  *
1973
- * @throws {@link TypeError}
1974
- * 주문서 강화를 초기화할 수 없는 장비일 경우.
1958
+ * @throws {@link GearError}
1959
+ * 추가 옵션을 초기화할 수 없는 상태의 장비일 경우.
1975
1960
  */
1976
- declare function resetUpgrade(gear: Gear): void;
1977
- export { resetUpgrade }
1978
- export { resetUpgrade as resetUpgrade_alias_1 }
1961
+ declare function resetAddOption(gear: Gear): void;
1962
+ export { resetAddOption }
1963
+ export { resetAddOption as resetAddOption_alias_1 }
1979
1964
 
1980
1965
  /**
1981
- * 장비의 주문서 실패로 차감된 업그레이드 가능 횟수를 1회 복구합니다.
1982
- * @param gear 복구할 장비.
1966
+ * 장비의 익셉셔널 강화를 초기화합니다.
1967
+ * @param gear 초기화할 장비.
1983
1968
  *
1984
- * @throws {@link TypeError}
1985
- * 업그레이드 가능 횟수를 복구할 수 없는 상태의 장비일 경우.
1969
+ * @throws {@link GearError}
1970
+ * 익셉셔널 강화를 초기화할 수 없는 장비일 경우.
1986
1971
  */
1987
- declare function resileScroll(gear: Gear): void;
1988
- export { resileScroll }
1989
- export { resileScroll as resileScroll_alias_1 }
1972
+ declare function resetExceptional(gear: Gear): void;
1973
+ export { resetExceptional }
1974
+ export { resetExceptional as resetExceptional_alias_1 }
1990
1975
 
1991
- export declare const resources: {
1992
- '': {
1993
- meta: {
1976
+ /**
1977
+ * 장비의 잠재능력을 초기화합니다.
1978
+ *
1979
+ * 에디셔널 잠재능력은 변경되지 않습니다.
1980
+ * @param gear 초기화할 장비.
1981
+ *
1982
+ * @throws {@link GearError}
1983
+ * 잠재능력을 초기화할 수 없는 장비일 경우.
1984
+ */
1985
+ declare function resetPotential(gear: Gear): void;
1986
+ export { resetPotential }
1987
+ export { resetPotential as resetPotential_alias_1 }
1988
+
1989
+ /**
1990
+ * 장비의 소울웨폰을 초기화합니다.
1991
+ * @param gear 초기화할 장비.
1992
+ */
1993
+ declare function resetSoulEnchant(gear: Gear): void;
1994
+ export { resetSoulEnchant }
1995
+ export { resetSoulEnchant as resetSoulEnchant_alias_1 }
1996
+
1997
+ /**
1998
+ * 장비의 스타포스 강화를 초기화합니다.
1999
+ * @param gear 초기화할 장비.
2000
+ *
2001
+ * @throws {@link GearError}
2002
+ * 스타포스 강화를 초기화할 수 없는 장비일 경우.
2003
+ */
2004
+ declare function resetStarforce(gear: Gear): void;
2005
+ export { resetStarforce }
2006
+ export { resetStarforce as resetStarforce_alias_1 }
2007
+
2008
+ /**
2009
+ * 장비의 주문서 강화를 초기화합니다.
2010
+ * @param gear 초기화할 장비.
2011
+ *
2012
+ * @throws {@link GearError}
2013
+ * 주문서 강화를 초기화할 수 없는 장비일 경우.
2014
+ */
2015
+ declare function resetUpgrade(gear: Gear): void;
2016
+ export { resetUpgrade }
2017
+ export { resetUpgrade as resetUpgrade_alias_1 }
2018
+
2019
+ /**
2020
+ * 장비의 주문서 실패로 차감된 업그레이드 가능 횟수를 1회 복구합니다.
2021
+ * @param gear 복구할 장비.
2022
+ *
2023
+ * @throws {@link GearError}
2024
+ * 업그레이드 가능 횟수를 복구할 수 없는 상태의 장비일 경우.
2025
+ */
2026
+ declare function resileScroll(gear: Gear): void;
2027
+ export { resileScroll }
2028
+ export { resileScroll as resileScroll_alias_1 }
2029
+
2030
+ export declare const resources: {
2031
+ '': {
1994
2032
  id: number;
1995
- version: 1;
1996
- };
1997
- name: string;
1998
- icon: string;
1999
- type: 100;
2000
- req: {};
2001
- attributes: {};
2002
- };
2003
- '\uD551\uD06C\uBE48 \uBAA8\uC790': {
2004
- meta: {
2033
+ version: 2;
2034
+ name: string;
2035
+ icon: string;
2036
+ type: 100;
2037
+ req: {};
2038
+ attributes: {};
2039
+ };
2040
+ '\uD551\uD06C\uBE48 \uBAA8\uC790': {
2005
2041
  id: number;
2006
- version: 1;
2007
- };
2008
- name: string;
2009
- icon: string;
2010
- type: 100;
2011
- req: {
2012
- level: number;
2013
- };
2014
- attributes: {
2015
- canStarforce: 1;
2016
- canScroll: 1;
2017
- canAddOption: 1;
2018
- canPotential: 1;
2019
- canAdditionalPotential: 1;
2020
- };
2021
- baseOption: {
2022
- str: number;
2023
- dex: number;
2024
- int: number;
2025
- luk: number;
2042
+ version: 2;
2043
+ name: string;
2044
+ icon: string;
2045
+ type: 100;
2046
+ req: {
2047
+ level: number;
2048
+ };
2049
+ attributes: {
2050
+ canStarforce: 1;
2051
+ canScroll: 1;
2052
+ canAddOption: 1;
2053
+ canPotential: 1;
2054
+ canAdditionalPotential: 1;
2055
+ };
2056
+ baseOption: {
2057
+ str: number;
2058
+ dex: number;
2059
+ int: number;
2060
+ luk: number;
2061
+ };
2062
+ scrollUpgradeableCount: number;
2026
2063
  };
2027
- scrollUpgradeableCount: number;
2028
- };
2029
- '\uB9AC\uBC84\uC2A4 \uD700\uB12C': {
2030
- meta: {
2064
+ '\uB9AC\uBC84\uC2A4 \uD700\uB12C': {
2031
2065
  id: number;
2032
- version: 1;
2033
- };
2034
- name: string;
2035
- icon: string;
2036
- type: 100;
2037
- req: {
2038
- level: number;
2039
- job: number;
2040
- };
2041
- attributes: {
2042
- trade: 2;
2043
- canStarforce: 1;
2044
- canScroll: 1;
2045
- canAddOption: 1;
2046
- canPotential: 1;
2047
- canAdditionalPotential: 1;
2048
- };
2049
- baseOption: {
2050
- str: number;
2051
- armor: number;
2066
+ version: 2;
2067
+ name: string;
2068
+ icon: string;
2069
+ type: 100;
2070
+ req: {
2071
+ level: number;
2072
+ job: number;
2073
+ };
2074
+ attributes: {
2075
+ trade: 2;
2076
+ canStarforce: 1;
2077
+ canScroll: 1;
2078
+ canAddOption: 1;
2079
+ canPotential: 1;
2080
+ canAdditionalPotential: 1;
2081
+ };
2082
+ baseOption: {
2083
+ str: number;
2084
+ armor: number;
2085
+ };
2086
+ scrollUpgradeableCount: number;
2052
2087
  };
2053
- scrollUpgradeableCount: number;
2054
- };
2055
- '\uB178\uAC00\uB2E4 \uBAA9\uC7A5\uAC11': {
2056
- meta: {
2088
+ '\uB178\uAC00\uB2E4 \uBAA9\uC7A5\uAC11': {
2057
2089
  id: number;
2058
- version: 1;
2059
- };
2060
- name: string;
2061
- icon: string;
2062
- type: 108;
2063
- req: {
2064
- level: number;
2065
- };
2066
- attributes: {
2067
- canStarforce: 1;
2068
- canScroll: 1;
2069
- canAddOption: 1;
2070
- canPotential: 1;
2071
- canAdditionalPotential: 1;
2072
- };
2073
- baseOption: {
2074
- armor: number;
2090
+ version: 2;
2091
+ name: string;
2092
+ icon: string;
2093
+ type: 108;
2094
+ req: {
2095
+ level: number;
2096
+ };
2097
+ attributes: {
2098
+ canStarforce: 1;
2099
+ canScroll: 1;
2100
+ canAddOption: 1;
2101
+ canPotential: 1;
2102
+ canAdditionalPotential: 1;
2103
+ };
2104
+ baseOption: {
2105
+ armor: number;
2106
+ };
2107
+ scrollUpgradeableCount: number;
2075
2108
  };
2076
- scrollUpgradeableCount: number;
2077
- };
2078
- '\uD2BC\uD2BC\uD55C \uAE30\uACC4 \uC7A5\uAC11': {
2079
- meta: {
2109
+ '\uD2BC\uD2BC\uD55C \uAE30\uACC4 \uC7A5\uAC11': {
2080
2110
  id: number;
2081
- version: 1;
2082
- };
2083
- name: string;
2084
- icon: string;
2085
- type: 108;
2086
- req: {
2087
- level: number;
2088
- };
2089
- attributes: {
2090
- canStarforce: 1;
2091
- canScroll: 1;
2092
- canAddOption: 1;
2093
- canPotential: 1;
2094
- canAdditionalPotential: 1;
2095
- };
2096
- baseOption: {
2097
- armor: number;
2111
+ version: 2;
2112
+ name: string;
2113
+ icon: string;
2114
+ type: 108;
2115
+ req: {
2116
+ level: number;
2117
+ };
2118
+ attributes: {
2119
+ canStarforce: 1;
2120
+ canScroll: 1;
2121
+ canAddOption: 1;
2122
+ canPotential: 1;
2123
+ canAdditionalPotential: 1;
2124
+ };
2125
+ baseOption: {
2126
+ armor: number;
2127
+ };
2128
+ scrollUpgradeableCount: number;
2098
2129
  };
2099
- scrollUpgradeableCount: number;
2100
- };
2101
- '\uBE14\uB799 \uAC00\uB9AC\uB098 \uAE00\uB85C\uBE0C': {
2102
- meta: {
2130
+ '\uBE14\uB799 \uAC00\uB9AC\uB098 \uAE00\uB85C\uBE0C': {
2103
2131
  id: number;
2104
- version: 1;
2105
- };
2106
- name: string;
2107
- icon: string;
2108
- type: 108;
2109
- req: {
2110
- level: number;
2111
- job: number;
2112
- };
2113
- attributes: {
2114
- canStarforce: 1;
2115
- canScroll: 1;
2116
- canAddOption: 1;
2117
- canPotential: 1;
2118
- canAdditionalPotential: 1;
2119
- };
2120
- baseOption: {
2121
- dex: number;
2122
- luk: number;
2123
- armor: number;
2132
+ version: 2;
2133
+ name: string;
2134
+ icon: string;
2135
+ type: 108;
2136
+ req: {
2137
+ level: number;
2138
+ job: number;
2139
+ };
2140
+ attributes: {
2141
+ canStarforce: 1;
2142
+ canScroll: 1;
2143
+ canAddOption: 1;
2144
+ canPotential: 1;
2145
+ canAdditionalPotential: 1;
2146
+ };
2147
+ baseOption: {
2148
+ dex: number;
2149
+ luk: number;
2150
+ armor: number;
2151
+ };
2152
+ scrollUpgradeableCount: number;
2124
2153
  };
2125
- scrollUpgradeableCount: number;
2126
- };
2127
- '\uD39C\uC0B4\uB9AC\uB974 \uC2A4\uD0A4\uD37C\uBD80\uCE20': {
2128
- meta: {
2154
+ '\uD39C\uC0B4\uB9AC\uB974 \uC2A4\uD0A4\uD37C\uBD80\uCE20': {
2129
2155
  id: number;
2130
- version: 1;
2131
- };
2132
- name: string;
2133
- icon: string;
2134
- type: 107;
2135
- req: {
2136
- level: number;
2137
- job: number;
2138
- };
2139
- attributes: {
2140
- canStarforce: 1;
2141
- canScroll: 1;
2142
- canAddOption: 1;
2143
- canPotential: 1;
2144
- canAdditionalPotential: 1;
2145
- };
2146
- baseOption: {
2147
- str: number;
2148
- dex: number;
2149
- attackPower: number;
2150
- armor: number;
2151
- speed: number;
2156
+ version: 2;
2157
+ name: string;
2158
+ icon: string;
2159
+ type: 107;
2160
+ req: {
2161
+ level: number;
2162
+ job: number;
2163
+ };
2164
+ attributes: {
2165
+ canStarforce: 1;
2166
+ canScroll: 1;
2167
+ canAddOption: 1;
2168
+ canPotential: 1;
2169
+ canAdditionalPotential: 1;
2170
+ };
2171
+ baseOption: {
2172
+ str: number;
2173
+ dex: number;
2174
+ attackPower: number;
2175
+ armor: number;
2176
+ speed: number;
2177
+ };
2178
+ scrollUpgradeableCount: number;
2152
2179
  };
2153
- scrollUpgradeableCount: number;
2154
- };
2155
- '\uC571\uC194\uB7A9\uC2A4 \uC2DC\uD504\uC288\uC988': {
2156
- meta: {
2180
+ '\uC571\uC194\uB7A9\uC2A4 \uC2DC\uD504\uC288\uC988': {
2157
2181
  id: number;
2158
- version: 1;
2159
- };
2160
- name: string;
2161
- icon: string;
2162
- type: 107;
2163
- req: {
2164
- level: number;
2165
- job: number;
2166
- };
2167
- attributes: {
2168
- trade: 2;
2169
- cuttable: 2;
2170
- bossReward: true;
2171
- incline: {
2172
- charm: number;
2173
- };
2174
- canStarforce: 1;
2175
- canScroll: 1;
2176
- canAddOption: 1;
2177
- canPotential: 1;
2178
- canAdditionalPotential: 1;
2179
- };
2180
- baseOption: {
2181
- dex: number;
2182
- luk: number;
2183
- attackPower: number;
2184
- armor: number;
2185
- speed: number;
2186
- jump: number;
2182
+ version: 2;
2183
+ name: string;
2184
+ icon: string;
2185
+ type: 107;
2186
+ req: {
2187
+ level: number;
2188
+ job: number;
2189
+ };
2190
+ attributes: {
2191
+ trade: 2;
2192
+ cuttable: 2;
2193
+ bossReward: true;
2194
+ incline: {
2195
+ charm: number;
2196
+ };
2197
+ canStarforce: 1;
2198
+ canScroll: 1;
2199
+ canAddOption: 1;
2200
+ canPotential: 1;
2201
+ canAdditionalPotential: 1;
2202
+ };
2203
+ baseOption: {
2204
+ dex: number;
2205
+ luk: number;
2206
+ attackPower: number;
2207
+ armor: number;
2208
+ speed: number;
2209
+ jump: number;
2210
+ };
2211
+ scrollUpgradeableCount: number;
2187
2212
  };
2188
- scrollUpgradeableCount: number;
2189
- };
2190
- '\uB178\uBC14 \uD788\uC544\uB370\uC2A4 \uD074\uB85D': {
2191
- meta: {
2213
+ '\uB178\uBC14 \uD788\uC544\uB370\uC2A4 \uD074\uB85D': {
2192
2214
  id: number;
2193
- version: 1;
2194
- };
2195
- name: string;
2196
- icon: string;
2197
- type: 110;
2198
- req: {
2199
- level: number;
2200
- job: number;
2201
- };
2202
- attributes: {
2203
- trade: 1;
2204
- cuttable: 2;
2205
- superior: true;
2206
- canStarforce: 1;
2207
- canScroll: 1;
2208
- canAddOption: 1;
2209
- canPotential: 1;
2210
- canAdditionalPotential: 1;
2211
- };
2212
- baseOption: {
2213
- str: number;
2214
- dex: number;
2215
- int: number;
2216
- luk: number;
2217
- attackPower: number;
2218
- magicPower: number;
2219
- armor: number;
2215
+ version: 2;
2216
+ name: string;
2217
+ icon: string;
2218
+ type: 110;
2219
+ req: {
2220
+ level: number;
2221
+ job: number;
2222
+ };
2223
+ attributes: {
2224
+ trade: 1;
2225
+ cuttable: 2;
2226
+ superior: true;
2227
+ canStarforce: 1;
2228
+ canScroll: 1;
2229
+ canAddOption: 1;
2230
+ canPotential: 1;
2231
+ canAdditionalPotential: 1;
2232
+ };
2233
+ baseOption: {
2234
+ str: number;
2235
+ dex: number;
2236
+ int: number;
2237
+ luk: number;
2238
+ attackPower: number;
2239
+ magicPower: number;
2240
+ armor: number;
2241
+ };
2242
+ scrollUpgradeableCount: number;
2220
2243
  };
2221
- scrollUpgradeableCount: number;
2222
- };
2223
- '\uD0C0\uC77C\uB7F0\uD2B8 \uCF00\uC774\uB860 \uD074\uB85D': {
2224
- meta: {
2244
+ '\uD0C0\uC77C\uB7F0\uD2B8 \uCF00\uC774\uB860 \uD074\uB85D': {
2225
2245
  id: number;
2226
- version: 1;
2227
- };
2228
- name: string;
2229
- icon: string;
2230
- type: 110;
2231
- req: {
2232
- level: number;
2233
- job: number;
2234
- };
2235
- attributes: {
2236
- trade: 1;
2237
- cuttable: 2;
2238
- bossReward: true;
2239
- superior: true;
2240
- canStarforce: 1;
2241
- canScroll: 1;
2242
- canAddOption: 1;
2243
- canPotential: 1;
2244
- canAdditionalPotential: 1;
2245
- };
2246
- baseOption: {
2247
- str: number;
2248
- dex: number;
2249
- int: number;
2250
- luk: number;
2251
- attackPower: number;
2252
- magicPower: number;
2253
- armor: number;
2246
+ version: 2;
2247
+ name: string;
2248
+ icon: string;
2249
+ type: 110;
2250
+ req: {
2251
+ level: number;
2252
+ job: number;
2253
+ };
2254
+ attributes: {
2255
+ trade: 1;
2256
+ cuttable: 2;
2257
+ bossReward: true;
2258
+ superior: true;
2259
+ canStarforce: 1;
2260
+ canScroll: 1;
2261
+ canAddOption: 1;
2262
+ canPotential: 1;
2263
+ canAdditionalPotential: 1;
2264
+ };
2265
+ baseOption: {
2266
+ str: number;
2267
+ dex: number;
2268
+ int: number;
2269
+ luk: number;
2270
+ attackPower: number;
2271
+ magicPower: number;
2272
+ armor: number;
2273
+ };
2274
+ scrollUpgradeableCount: number;
2254
2275
  };
2255
- scrollUpgradeableCount: number;
2256
- };
2257
- '\uC5D0\uD14C\uB974\uB12C \uB098\uC774\uD2B8\uCF00\uC774\uD504': {
2258
- meta: {
2276
+ '\uC5D0\uD14C\uB974\uB12C \uB098\uC774\uD2B8\uCF00\uC774\uD504': {
2259
2277
  id: number;
2260
- version: 1;
2261
- };
2262
- name: string;
2263
- icon: string;
2264
- type: 110;
2265
- req: {
2266
- level: number;
2267
- job: number;
2268
- };
2269
- attributes: {
2270
- trade: 2;
2271
- cuttable: 2;
2272
- bossReward: true;
2273
- incline: {
2274
- charm: number;
2275
- };
2276
- canStarforce: 1;
2277
- canScroll: 1;
2278
- canAddOption: 1;
2279
- canPotential: 1;
2280
- canAdditionalPotential: 1;
2281
- };
2282
- baseOption: {
2283
- str: number;
2284
- dex: number;
2285
- int: number;
2286
- luk: number;
2287
- attackPower: number;
2288
- magicPower: number;
2289
- armor: number;
2278
+ version: 2;
2279
+ name: string;
2280
+ icon: string;
2281
+ type: 110;
2282
+ req: {
2283
+ level: number;
2284
+ job: number;
2285
+ };
2286
+ attributes: {
2287
+ trade: 2;
2288
+ cuttable: 2;
2289
+ bossReward: true;
2290
+ incline: {
2291
+ charm: number;
2292
+ };
2293
+ canStarforce: 1;
2294
+ canScroll: 1;
2295
+ canAddOption: 1;
2296
+ canPotential: 1;
2297
+ canAdditionalPotential: 1;
2298
+ };
2299
+ baseOption: {
2300
+ str: number;
2301
+ dex: number;
2302
+ int: number;
2303
+ luk: number;
2304
+ attackPower: number;
2305
+ magicPower: number;
2306
+ armor: number;
2307
+ };
2308
+ scrollUpgradeableCount: number;
2290
2309
  };
2291
- scrollUpgradeableCount: number;
2292
- };
2293
- '\uC2A4\uCE7C\uB81B \uC204\uB354': {
2294
- meta: {
2310
+ '\uC2A4\uCE7C\uB81B \uC204\uB354': {
2295
2311
  id: number;
2296
- version: 1;
2297
- };
2298
- name: string;
2299
- icon: string;
2300
- type: 115;
2301
- req: {
2302
- level: number;
2303
- };
2304
- attributes: {
2305
- trade: 2;
2306
- cuttable: 2;
2307
- lucky: true;
2308
- bossReward: true;
2309
- canStarforce: 1;
2310
- canScroll: 1;
2311
- canPotential: 1;
2312
- canAdditionalPotential: 1;
2313
- };
2314
- baseOption: {
2315
- str: number;
2316
- dex: number;
2317
- int: number;
2318
- luk: number;
2319
- maxHp: number;
2320
- attackPower: number;
2321
- magicPower: number;
2322
- armor: number;
2312
+ version: 2;
2313
+ name: string;
2314
+ icon: string;
2315
+ type: 115;
2316
+ req: {
2317
+ level: number;
2318
+ };
2319
+ attributes: {
2320
+ trade: 2;
2321
+ cuttable: 2;
2322
+ lucky: true;
2323
+ bossReward: true;
2324
+ canStarforce: 1;
2325
+ canScroll: 1;
2326
+ canPotential: 1;
2327
+ canAdditionalPotential: 1;
2328
+ };
2329
+ baseOption: {
2330
+ str: number;
2331
+ dex: number;
2332
+ int: number;
2333
+ luk: number;
2334
+ maxHp: number;
2335
+ attackPower: number;
2336
+ magicPower: number;
2337
+ armor: number;
2338
+ };
2339
+ scrollUpgradeableCount: number;
2323
2340
  };
2324
- scrollUpgradeableCount: number;
2325
- };
2326
- '\uCE74\uC624\uC2A4 \uD63C\uD14C\uC77C\uC758 \uBAA9\uAC78\uC774': {
2327
- meta: {
2341
+ '\uCE74\uC624\uC2A4 \uD63C\uD14C\uC77C\uC758 \uBAA9\uAC78\uC774': {
2328
2342
  id: number;
2329
- version: 1;
2330
- };
2331
- name: string;
2332
- icon: string;
2333
- type: 112;
2334
- req: {
2335
- level: number;
2336
- };
2337
- attributes: {
2338
- trade: 1;
2339
- onlyEquip: true;
2340
- cuttable: 2;
2341
- incline: {
2342
- charm: number;
2343
- };
2344
- canStarforce: 1;
2345
- canScroll: 1;
2346
- canAddOption: 1;
2347
- canPotential: 1;
2348
- canAdditionalPotential: 1;
2349
- };
2350
- baseOption: {
2351
- str: number;
2352
- dex: number;
2353
- int: number;
2354
- luk: number;
2355
- maxHpRate: number;
2356
- maxMpRate: number;
2357
- attackPower: number;
2358
- magicPower: number;
2359
- armor: number;
2343
+ version: 2;
2344
+ name: string;
2345
+ icon: string;
2346
+ type: 112;
2347
+ req: {
2348
+ level: number;
2349
+ };
2350
+ attributes: {
2351
+ trade: 1;
2352
+ onlyEquip: true;
2353
+ cuttable: 2;
2354
+ incline: {
2355
+ charm: number;
2356
+ };
2357
+ canStarforce: 1;
2358
+ canScroll: 1;
2359
+ canAddOption: 1;
2360
+ canPotential: 1;
2361
+ canAdditionalPotential: 1;
2362
+ };
2363
+ baseOption: {
2364
+ str: number;
2365
+ dex: number;
2366
+ int: number;
2367
+ luk: number;
2368
+ maxHpRate: number;
2369
+ maxMpRate: number;
2370
+ attackPower: number;
2371
+ magicPower: number;
2372
+ armor: number;
2373
+ };
2374
+ scrollUpgradeableCount: number;
2360
2375
  };
2361
- scrollUpgradeableCount: number;
2362
- };
2363
- '\uB370\uC544 \uC2DC\uB450\uC2A4 \uC774\uC5B4\uB9C1': {
2364
- meta: {
2376
+ '\uB370\uC544 \uC2DC\uB450\uC2A4 \uC774\uC5B4\uB9C1': {
2365
2377
  id: number;
2366
- version: 1;
2367
- };
2368
- name: string;
2369
- icon: string;
2370
- type: 103;
2371
- req: {
2372
- level: number;
2373
- };
2374
- attributes: {
2375
- trade: 2;
2376
- cuttable: 2;
2377
- bossReward: true;
2378
- canStarforce: 1;
2379
- canScroll: 1;
2380
- canAddOption: 1;
2381
- canPotential: 1;
2382
- canAdditionalPotential: 1;
2383
- };
2384
- baseOption: {
2385
- str: number;
2386
- dex: number;
2387
- int: number;
2388
- luk: number;
2389
- attackPower: number;
2390
- magicPower: number;
2391
- armor: number;
2378
+ version: 2;
2379
+ name: string;
2380
+ icon: string;
2381
+ type: 103;
2382
+ req: {
2383
+ level: number;
2384
+ };
2385
+ attributes: {
2386
+ trade: 2;
2387
+ cuttable: 2;
2388
+ bossReward: true;
2389
+ canStarforce: 1;
2390
+ canScroll: 1;
2391
+ canAddOption: 1;
2392
+ canPotential: 1;
2393
+ canAdditionalPotential: 1;
2394
+ };
2395
+ baseOption: {
2396
+ str: number;
2397
+ dex: number;
2398
+ int: number;
2399
+ luk: number;
2400
+ attackPower: number;
2401
+ magicPower: number;
2402
+ armor: number;
2403
+ };
2404
+ scrollUpgradeableCount: number;
2392
2405
  };
2393
- scrollUpgradeableCount: number;
2394
- };
2395
- '\uBABD\uD658\uC758 \uBCA8\uD2B8': {
2396
- meta: {
2406
+ '\uBABD\uD658\uC758 \uBCA8\uD2B8': {
2397
2407
  id: number;
2398
- version: 1;
2399
- };
2400
- name: string;
2401
- icon: string;
2402
- type: 113;
2403
- req: {
2404
- level: number;
2405
- };
2406
- attributes: {
2407
- trade: 2;
2408
- cuttable: 2;
2409
- cuttableCount: number;
2410
- totalCuttableCount: number;
2411
- bossReward: true;
2412
- canStarforce: 1;
2413
- canScroll: 1;
2414
- canAddOption: 1;
2415
- canPotential: 1;
2416
- canAdditionalPotential: 1;
2417
- };
2418
- baseOption: {
2419
- str: number;
2420
- dex: number;
2421
- int: number;
2422
- luk: number;
2423
- maxHp: number;
2424
- maxMp: number;
2425
- attackPower: number;
2426
- magicPower: number;
2427
- armor: number;
2408
+ version: 2;
2409
+ name: string;
2410
+ icon: string;
2411
+ type: 113;
2412
+ req: {
2413
+ level: number;
2414
+ };
2415
+ attributes: {
2416
+ trade: 2;
2417
+ cuttable: 2;
2418
+ cuttableCount: number;
2419
+ totalCuttableCount: number;
2420
+ bossReward: true;
2421
+ canStarforce: 1;
2422
+ canScroll: 1;
2423
+ canAddOption: 1;
2424
+ canPotential: 1;
2425
+ canAdditionalPotential: 1;
2426
+ };
2427
+ baseOption: {
2428
+ str: number;
2429
+ dex: number;
2430
+ int: number;
2431
+ luk: number;
2432
+ maxHp: number;
2433
+ maxMp: number;
2434
+ attackPower: number;
2435
+ magicPower: number;
2436
+ armor: number;
2437
+ };
2438
+ scrollUpgradeableCount: number;
2439
+ exceptionalUpgradeableCount: number;
2428
2440
  };
2429
- scrollUpgradeableCount: number;
2430
- exceptionalUpgradeableCount: number;
2431
- };
2432
- '\uC2A4\uCE7C\uB81B \uB9C1': {
2433
- meta: {
2441
+ '\uC2A4\uCE7C\uB81B \uB9C1': {
2434
2442
  id: number;
2435
- version: 1;
2436
- };
2437
- name: string;
2438
- icon: string;
2439
- type: 111;
2440
- req: {
2441
- level: number;
2442
- };
2443
- attributes: {
2444
- trade: 2;
2445
- onlyEquip: true;
2446
- cuttable: 2;
2447
- lucky: true;
2448
- bossReward: true;
2449
- canStarforce: 1;
2450
- canScroll: 1;
2451
- canPotential: 1;
2452
- canAdditionalPotential: 1;
2453
- };
2454
- baseOption: {
2455
- str: number;
2456
- dex: number;
2457
- int: number;
2458
- luk: number;
2459
- maxHp: number;
2460
- maxMp: number;
2461
- attackPower: number;
2462
- magicPower: number;
2463
- armor: number;
2443
+ version: 2;
2444
+ name: string;
2445
+ icon: string;
2446
+ type: 111;
2447
+ req: {
2448
+ level: number;
2449
+ };
2450
+ attributes: {
2451
+ trade: 2;
2452
+ onlyEquip: true;
2453
+ cuttable: 2;
2454
+ lucky: true;
2455
+ bossReward: true;
2456
+ canStarforce: 1;
2457
+ canScroll: 1;
2458
+ canPotential: 1;
2459
+ canAdditionalPotential: 1;
2460
+ };
2461
+ baseOption: {
2462
+ str: number;
2463
+ dex: number;
2464
+ int: number;
2465
+ luk: number;
2466
+ maxHp: number;
2467
+ maxMp: number;
2468
+ attackPower: number;
2469
+ magicPower: number;
2470
+ armor: number;
2471
+ };
2472
+ scrollUpgradeableCount: number;
2464
2473
  };
2465
- scrollUpgradeableCount: number;
2466
- };
2467
- '\uADFC\uC6D0\uC758 \uC18D\uC0AD\uC784': {
2468
- meta: {
2474
+ '\uADFC\uC6D0\uC758 \uC18D\uC0AD\uC784': {
2469
2475
  id: number;
2470
- version: 1;
2471
- };
2472
- name: string;
2473
- icon: string;
2474
- type: 111;
2475
- req: {
2476
- level: number;
2477
- };
2478
- attributes: {
2479
- trade: 2;
2480
- onlyEquip: true;
2481
- cuttable: 2;
2482
- cuttableCount: number;
2483
- totalCuttableCount: number;
2484
- bossReward: true;
2485
- canStarforce: 1;
2486
- canScroll: 1;
2487
- canPotential: 1;
2488
- canAdditionalPotential: 1;
2489
- };
2490
- baseOption: {
2491
- str: number;
2492
- dex: number;
2493
- int: number;
2494
- luk: number;
2495
- maxHp: number;
2496
- maxMp: number;
2497
- attackPower: number;
2498
- magicPower: number;
2476
+ version: 2;
2477
+ name: string;
2478
+ icon: string;
2479
+ type: 111;
2480
+ req: {
2481
+ level: number;
2482
+ };
2483
+ attributes: {
2484
+ trade: 2;
2485
+ onlyEquip: true;
2486
+ cuttable: 2;
2487
+ cuttableCount: number;
2488
+ totalCuttableCount: number;
2489
+ bossReward: true;
2490
+ canStarforce: 1;
2491
+ canScroll: 1;
2492
+ canPotential: 1;
2493
+ canAdditionalPotential: 1;
2494
+ };
2495
+ baseOption: {
2496
+ str: number;
2497
+ dex: number;
2498
+ int: number;
2499
+ luk: number;
2500
+ maxHp: number;
2501
+ maxMp: number;
2502
+ attackPower: number;
2503
+ magicPower: number;
2504
+ };
2505
+ scrollUpgradeableCount: number;
2499
2506
  };
2500
- scrollUpgradeableCount: number;
2501
- };
2502
- '\uB370\uC774\uBE0C\uB808\uC774\uD06C \uD39C\uB358\uD2B8': {
2503
- meta: {
2507
+ '\uB370\uC774\uBE0C\uB808\uC774\uD06C \uD39C\uB358\uD2B8': {
2504
2508
  id: number;
2505
- version: 1;
2506
- };
2507
- name: string;
2508
- icon: string;
2509
- type: 112;
2510
- req: {
2511
- level: number;
2512
- };
2513
- attributes: {
2514
- trade: 2;
2515
- onlyEquip: true;
2516
- cuttable: 2;
2517
- bossReward: true;
2518
- incline: {
2519
- charm: number;
2520
- };
2521
- canStarforce: 1;
2522
- canScroll: 1;
2523
- canAddOption: 1;
2524
- canPotential: 1;
2525
- canAdditionalPotential: 1;
2526
- };
2527
- baseOption: {
2528
- str: number;
2529
- dex: number;
2530
- int: number;
2531
- luk: number;
2532
- maxHpRate: number;
2533
- attackPower: number;
2534
- magicPower: number;
2535
- armor: number;
2509
+ version: 2;
2510
+ name: string;
2511
+ icon: string;
2512
+ type: 112;
2513
+ req: {
2514
+ level: number;
2515
+ };
2516
+ attributes: {
2517
+ trade: 2;
2518
+ onlyEquip: true;
2519
+ cuttable: 2;
2520
+ bossReward: true;
2521
+ incline: {
2522
+ charm: number;
2523
+ };
2524
+ canStarforce: 1;
2525
+ canScroll: 1;
2526
+ canAddOption: 1;
2527
+ canPotential: 1;
2528
+ canAdditionalPotential: 1;
2529
+ };
2530
+ baseOption: {
2531
+ str: number;
2532
+ dex: number;
2533
+ int: number;
2534
+ luk: number;
2535
+ maxHpRate: number;
2536
+ attackPower: number;
2537
+ magicPower: number;
2538
+ armor: number;
2539
+ };
2540
+ scrollUpgradeableCount: number;
2536
2541
  };
2537
- scrollUpgradeableCount: number;
2538
- };
2539
- '\uB9AC\uD2AC \uD558\uD2B8': {
2540
- meta: {
2542
+ '\uB9AC\uD2AC \uD558\uD2B8': {
2541
2543
  id: number;
2542
- version: 1;
2543
- };
2544
- name: string;
2545
- icon: string;
2546
- type: 167;
2547
- req: {
2548
- level: number;
2549
- };
2550
- attributes: {
2551
- trade: 2;
2552
- canStarforce: 1;
2553
- canScroll: 1;
2554
- canPotential: 1;
2555
- canAdditionalPotential: 1;
2556
- };
2557
- baseOption: {
2558
- str: number;
2559
- dex: number;
2560
- int: number;
2561
- luk: number;
2562
- maxHp: number;
2544
+ version: 2;
2545
+ name: string;
2546
+ icon: string;
2547
+ type: 167;
2548
+ req: {
2549
+ level: number;
2550
+ };
2551
+ attributes: {
2552
+ trade: 2;
2553
+ canStarforce: 1;
2554
+ canScroll: 1;
2555
+ canPotential: 1;
2556
+ canAdditionalPotential: 1;
2557
+ };
2558
+ baseOption: {
2559
+ str: number;
2560
+ dex: number;
2561
+ int: number;
2562
+ luk: number;
2563
+ maxHp: number;
2564
+ };
2565
+ scrollUpgradeableCount: number;
2563
2566
  };
2564
- scrollUpgradeableCount: number;
2565
- };
2566
- '\uD398\uC5B4\uB9AC \uD558\uD2B8': {
2567
- meta: {
2567
+ '\uD398\uC5B4\uB9AC \uD558\uD2B8': {
2568
2568
  id: number;
2569
- version: 1;
2570
- };
2571
- name: string;
2572
- icon: string;
2573
- type: 167;
2574
- req: {
2575
- level: number;
2576
- };
2577
- attributes: {
2578
- trade: 2;
2579
- canStarforce: 1;
2580
- canScroll: 1;
2581
- canPotential: 1;
2582
- canAdditionalPotential: 1;
2583
- };
2584
- baseOption: {
2585
- maxHp: number;
2569
+ version: 2;
2570
+ name: string;
2571
+ icon: string;
2572
+ type: 167;
2573
+ req: {
2574
+ level: number;
2575
+ };
2576
+ attributes: {
2577
+ trade: 2;
2578
+ canStarforce: 1;
2579
+ canScroll: 1;
2580
+ canPotential: 1;
2581
+ canAdditionalPotential: 1;
2582
+ };
2583
+ baseOption: {
2584
+ maxHp: number;
2585
+ };
2586
+ scrollUpgradeableCount: number;
2586
2587
  };
2587
- scrollUpgradeableCount: number;
2588
- };
2589
- '\uB9AC\uD034\uB4DC\uBA54\uD0C8 \uD558\uD2B8': {
2590
- meta: {
2588
+ '\uB9AC\uD034\uB4DC\uBA54\uD0C8 \uD558\uD2B8': {
2591
2589
  id: number;
2592
- version: 1;
2593
- };
2594
- name: string;
2595
- icon: string;
2596
- type: 167;
2597
- req: {
2598
- level: number;
2599
- };
2600
- attributes: {
2601
- trade: 2;
2602
- canStarforce: 1;
2603
- canScroll: 1;
2604
- canPotential: 1;
2605
- canAdditionalPotential: 1;
2606
- };
2607
- baseOption: {
2608
- str: number;
2609
- dex: number;
2610
- int: number;
2611
- luk: number;
2612
- maxHp: number;
2590
+ version: 2;
2591
+ name: string;
2592
+ icon: string;
2593
+ type: 167;
2594
+ req: {
2595
+ level: number;
2596
+ };
2597
+ attributes: {
2598
+ trade: 2;
2599
+ canStarforce: 1;
2600
+ canScroll: 1;
2601
+ canPotential: 1;
2602
+ canAdditionalPotential: 1;
2603
+ };
2604
+ baseOption: {
2605
+ str: number;
2606
+ dex: number;
2607
+ int: number;
2608
+ luk: number;
2609
+ maxHp: number;
2610
+ };
2611
+ scrollUpgradeableCount: number;
2613
2612
  };
2614
- scrollUpgradeableCount: number;
2615
- };
2616
- '\uCEF4\uD50C\uB9AC\uD2B8 \uC5B8\uB354\uCEE8\uD2B8\uB864': {
2617
- meta: {
2613
+ '\uCEF4\uD50C\uB9AC\uD2B8 \uC5B8\uB354\uCEE8\uD2B8\uB864': {
2618
2614
  id: number;
2619
- version: 1;
2620
- };
2621
- name: string;
2622
- icon: string;
2623
- type: 167;
2624
- req: {
2625
- level: number;
2626
- };
2627
- attributes: {
2628
- trade: 2;
2629
- canStarforce: 1;
2630
- canScroll: 1;
2631
- canPotential: 1;
2632
- canAdditionalPotential: 1;
2633
- };
2634
- baseOption: {
2635
- str: number;
2636
- dex: number;
2637
- int: number;
2638
- luk: number;
2639
- maxHp: number;
2640
- attackPower: number;
2641
- magicPower: number;
2642
- ignoreMonsterArmor: number;
2615
+ version: 2;
2616
+ name: string;
2617
+ icon: string;
2618
+ type: 167;
2619
+ req: {
2620
+ level: number;
2621
+ };
2622
+ attributes: {
2623
+ trade: 2;
2624
+ canStarforce: 1;
2625
+ canScroll: 1;
2626
+ canPotential: 1;
2627
+ canAdditionalPotential: 1;
2628
+ };
2629
+ baseOption: {
2630
+ str: number;
2631
+ dex: number;
2632
+ int: number;
2633
+ luk: number;
2634
+ maxHp: number;
2635
+ attackPower: number;
2636
+ magicPower: number;
2637
+ ignoreMonsterArmor: number;
2638
+ };
2639
+ scrollUpgradeableCount: number;
2643
2640
  };
2644
- scrollUpgradeableCount: number;
2645
- };
2646
- '\uC7C8\uC774\uD78C \uC2A4\uD0DC\uD504': {
2647
- meta: {
2641
+ '\uC7C8\uC774\uD78C \uC2A4\uD0DC\uD504': {
2648
2642
  id: number;
2649
- version: 1;
2650
- };
2651
- name: string;
2652
- icon: string;
2653
- type: 138;
2654
- req: {
2655
- level: number;
2656
- job: number;
2657
- };
2658
- attributes: {
2659
- attackSpeed: number;
2660
- canStarforce: 1;
2661
- canScroll: 1;
2662
- canAddOption: 1;
2663
- canPotential: 1;
2664
- canAdditionalPotential: 1;
2665
- };
2666
- baseOption: {
2667
- attackPower: number;
2668
- magicPower: number;
2643
+ version: 2;
2644
+ name: string;
2645
+ icon: string;
2646
+ type: 138;
2647
+ req: {
2648
+ level: number;
2649
+ job: number;
2650
+ };
2651
+ attributes: {
2652
+ attackSpeed: number;
2653
+ canStarforce: 1;
2654
+ canScroll: 1;
2655
+ canAddOption: 1;
2656
+ canPotential: 1;
2657
+ canAdditionalPotential: 1;
2658
+ };
2659
+ baseOption: {
2660
+ attackPower: number;
2661
+ magicPower: number;
2662
+ };
2663
+ scrollUpgradeableCount: number;
2669
2664
  };
2670
- scrollUpgradeableCount: number;
2671
- };
2672
- '\uC571\uC194\uB7A9\uC2A4 ESP\uB9AC\uBBF8\uD130': {
2673
- meta: {
2665
+ '\uC571\uC194\uB7A9\uC2A4 ESP\uB9AC\uBBF8\uD130': {
2674
2666
  id: number;
2675
- version: 1;
2676
- };
2677
- name: string;
2678
- icon: string;
2679
- type: 126;
2680
- req: {
2681
- level: number;
2682
- job: number;
2683
- class: number;
2684
- };
2685
- attributes: {
2686
- trade: 2;
2687
- cuttable: 2;
2688
- attackSpeed: number;
2689
- bossReward: true;
2690
- incline: {
2691
- charm: number;
2692
- };
2693
- canStarforce: 1;
2694
- canScroll: 1;
2695
- canAddOption: 1;
2696
- canPotential: 1;
2697
- canAdditionalPotential: 1;
2698
- };
2699
- baseOption: {
2700
- int: number;
2701
- luk: number;
2702
- attackPower: number;
2703
- magicPower: number;
2704
- bossDamage: number;
2705
- ignoreMonsterArmor: number;
2667
+ version: 2;
2668
+ name: string;
2669
+ icon: string;
2670
+ type: 126;
2671
+ req: {
2672
+ level: number;
2673
+ job: number;
2674
+ class: number;
2675
+ };
2676
+ attributes: {
2677
+ trade: 2;
2678
+ cuttable: 2;
2679
+ attackSpeed: number;
2680
+ bossReward: true;
2681
+ incline: {
2682
+ charm: number;
2683
+ };
2684
+ canStarforce: 1;
2685
+ canScroll: 1;
2686
+ canAddOption: 1;
2687
+ canPotential: 1;
2688
+ canAdditionalPotential: 1;
2689
+ };
2690
+ baseOption: {
2691
+ int: number;
2692
+ luk: number;
2693
+ attackPower: number;
2694
+ magicPower: number;
2695
+ bossDamage: number;
2696
+ ignoreMonsterArmor: number;
2697
+ };
2698
+ scrollUpgradeableCount: number;
2706
2699
  };
2707
- scrollUpgradeableCount: number;
2708
- };
2709
- '\uC544\uCF00\uC778\uC170\uC774\uB4DC \uC0E4\uC774\uB2DD\uB85C\uB4DC': {
2710
- meta: {
2700
+ '\uC544\uCF00\uC778\uC170\uC774\uB4DC \uC0E4\uC774\uB2DD\uB85C\uB4DC': {
2711
2701
  id: number;
2712
- version: 1;
2713
- };
2714
- name: string;
2715
- icon: string;
2716
- type: GearType.shiningRod;
2717
- req: {
2718
- level: number;
2719
- job: number;
2720
- };
2721
- attributes: {
2722
- trade: 2;
2723
- cuttable: 2;
2724
- bossReward: true;
2725
- incline: {
2726
- charm: number;
2727
- };
2728
- canStarforce: 1;
2729
- canScroll: 1;
2730
- canAddOption: 1;
2731
- canPotential: 1;
2732
- canAdditionalPotential: 1;
2733
- };
2734
- baseOption: {
2735
- int: number;
2736
- luk: number;
2737
- attackPower: number;
2738
- magicPower: number;
2739
- bossDamage: number;
2740
- ignoreMonsterArmor: number;
2702
+ version: 2;
2703
+ name: string;
2704
+ icon: string;
2705
+ type: GearType.shiningRod;
2706
+ req: {
2707
+ level: number;
2708
+ job: number;
2709
+ };
2710
+ attributes: {
2711
+ trade: 2;
2712
+ cuttable: 2;
2713
+ bossReward: true;
2714
+ incline: {
2715
+ charm: number;
2716
+ };
2717
+ canStarforce: 1;
2718
+ canScroll: 1;
2719
+ canAddOption: 1;
2720
+ canPotential: 1;
2721
+ canAdditionalPotential: 1;
2722
+ };
2723
+ baseOption: {
2724
+ int: number;
2725
+ luk: number;
2726
+ attackPower: number;
2727
+ magicPower: number;
2728
+ bossDamage: number;
2729
+ ignoreMonsterArmor: number;
2730
+ };
2731
+ scrollUpgradeableCount: number;
2741
2732
  };
2742
- scrollUpgradeableCount: number;
2743
- };
2744
- '\uC544\uCF00\uC778\uC170\uC774\uB4DC \uCD08\uC120': {
2745
- meta: {
2733
+ '\uC544\uCF00\uC778\uC170\uC774\uB4DC \uCD08\uC120': {
2746
2734
  id: number;
2747
- version: 1;
2748
- };
2749
- name: string;
2750
- icon: string;
2751
- type: 129;
2752
- req: {
2753
- level: number;
2754
- job: number;
2755
- };
2756
- attributes: {
2757
- trade: 2;
2758
- cuttable: 2;
2759
- attackSpeed: number;
2760
- bossReward: true;
2761
- incline: {
2762
- charm: number;
2763
- };
2764
- canStarforce: 1;
2765
- canScroll: 1;
2766
- canAddOption: 1;
2767
- canPotential: 1;
2768
- canAdditionalPotential: 1;
2769
- };
2770
- baseOption: {
2771
- dex: number;
2772
- luk: number;
2773
- attackPower: number;
2774
- bossDamage: number;
2775
- ignoreMonsterArmor: number;
2735
+ version: 2;
2736
+ name: string;
2737
+ icon: string;
2738
+ type: 129;
2739
+ req: {
2740
+ level: number;
2741
+ job: number;
2742
+ };
2743
+ attributes: {
2744
+ trade: 2;
2745
+ cuttable: 2;
2746
+ attackSpeed: number;
2747
+ bossReward: true;
2748
+ incline: {
2749
+ charm: number;
2750
+ };
2751
+ canStarforce: 1;
2752
+ canScroll: 1;
2753
+ canAddOption: 1;
2754
+ canPotential: 1;
2755
+ canAdditionalPotential: 1;
2756
+ };
2757
+ baseOption: {
2758
+ dex: number;
2759
+ luk: number;
2760
+ attackPower: number;
2761
+ bossDamage: number;
2762
+ ignoreMonsterArmor: number;
2763
+ };
2764
+ scrollUpgradeableCount: number;
2776
2765
  };
2777
- scrollUpgradeableCount: number;
2778
- };
2779
- '\uB808\uB4DC \uBCF4\uC6B0': {
2780
- meta: {
2766
+ '\uB808\uB4DC \uBCF4\uC6B0': {
2781
2767
  id: number;
2782
- version: 1;
2783
- };
2784
- name: string;
2785
- icon: string;
2786
- type: 145;
2787
- req: {
2788
- level: number;
2789
- job: number;
2790
- };
2791
- attributes: {
2792
- trade: 2;
2793
- attackSpeed: number;
2794
- canStarforce: 1;
2795
- canScroll: 1;
2796
- canAddOption: 1;
2797
- canPotential: 1;
2798
- canAdditionalPotential: 1;
2799
- };
2800
- baseOption: {
2801
- attackPower: number;
2768
+ version: 2;
2769
+ name: string;
2770
+ icon: string;
2771
+ type: 145;
2772
+ req: {
2773
+ level: number;
2774
+ job: number;
2775
+ };
2776
+ attributes: {
2777
+ trade: 2;
2778
+ attackSpeed: number;
2779
+ canStarforce: 1;
2780
+ canScroll: 1;
2781
+ canAddOption: 1;
2782
+ canPotential: 1;
2783
+ canAdditionalPotential: 1;
2784
+ };
2785
+ baseOption: {
2786
+ attackPower: number;
2787
+ };
2788
+ scrollUpgradeableCount: number;
2802
2789
  };
2803
- scrollUpgradeableCount: number;
2804
- };
2805
- '\uB77C\uC990\uB9AC 9\uD615': {
2806
- meta: {
2790
+ '\uB77C\uC990\uB9AC 9\uD615': {
2807
2791
  id: number;
2808
- version: 1;
2809
- };
2810
- name: string;
2811
- icon: string;
2812
- type: 157;
2813
- req: {
2814
- level: number;
2815
- job: number;
2816
- class: number;
2817
- };
2818
- attributes: {
2819
- trade: 1;
2820
- attackSpeed: number;
2821
- canStarforce: 1;
2822
- canScroll: 1;
2823
- canAddOption: 1;
2824
- canPotential: 1;
2825
- canAdditionalPotential: 1;
2826
- };
2827
- baseOption: {
2828
- str: number;
2829
- dex: number;
2830
- attackPower: number;
2831
- bossDamage: number;
2832
- ignoreMonsterArmor: number;
2792
+ version: 2;
2793
+ name: string;
2794
+ icon: string;
2795
+ type: 157;
2796
+ req: {
2797
+ level: number;
2798
+ job: number;
2799
+ class: number;
2800
+ };
2801
+ attributes: {
2802
+ trade: 1;
2803
+ attackSpeed: number;
2804
+ canStarforce: 1;
2805
+ canScroll: 1;
2806
+ canAddOption: 1;
2807
+ canPotential: 1;
2808
+ canAdditionalPotential: 1;
2809
+ };
2810
+ baseOption: {
2811
+ str: number;
2812
+ dex: number;
2813
+ attackPower: number;
2814
+ bossDamage: number;
2815
+ ignoreMonsterArmor: number;
2816
+ };
2817
+ scrollUpgradeableCount: number;
2833
2818
  };
2834
- scrollUpgradeableCount: number;
2835
- };
2836
- '\uC81C\uB124\uC2DC\uC2A4 \uBE0C\uB808\uC2A4 \uC288\uD130': {
2837
- meta: {
2819
+ '\uC81C\uB124\uC2DC\uC2A4 \uBE0C\uB808\uC2A4 \uC288\uD130': {
2838
2820
  id: number;
2839
- version: 1;
2840
- };
2841
- name: string;
2842
- icon: string;
2843
- type: 1214;
2844
- req: {
2845
- level: number;
2846
- job: number;
2847
- class: number;
2848
- };
2849
- attributes: {
2850
- only: true;
2851
- trade: 1;
2852
- onlyEquip: true;
2853
- attackSpeed: number;
2854
- lucky: true;
2855
- bossReward: true;
2856
- incline: {
2857
- charm: number;
2858
- };
2859
- canStarforce: 2;
2860
- canScroll: 2;
2861
- canAddOption: 1;
2862
- canPotential: 1;
2863
- canAdditionalPotential: 1;
2864
- };
2865
- baseOption: {
2866
- str: number;
2867
- dex: number;
2868
- attackPower: number;
2869
- speed: number;
2870
- bossDamage: number;
2871
- ignoreMonsterArmor: number;
2821
+ version: 2;
2822
+ name: string;
2823
+ icon: string;
2824
+ type: 1214;
2825
+ req: {
2826
+ level: number;
2827
+ job: number;
2828
+ class: number;
2829
+ };
2830
+ attributes: {
2831
+ only: true;
2832
+ trade: 1;
2833
+ onlyEquip: true;
2834
+ attackSpeed: number;
2835
+ lucky: true;
2836
+ bossReward: true;
2837
+ incline: {
2838
+ charm: number;
2839
+ };
2840
+ canStarforce: 2;
2841
+ canScroll: 2;
2842
+ canAddOption: 1;
2843
+ canPotential: 1;
2844
+ canAdditionalPotential: 1;
2845
+ };
2846
+ baseOption: {
2847
+ str: number;
2848
+ dex: number;
2849
+ attackPower: number;
2850
+ speed: number;
2851
+ bossDamage: number;
2852
+ ignoreMonsterArmor: number;
2853
+ };
2854
+ scrollUpgradeableCount: number;
2872
2855
  };
2873
- scrollUpgradeableCount: number;
2874
2856
  };
2875
- };
2876
2857
 
2877
- /**
2878
- * 주문서
2879
- */
2880
- declare interface Scroll {
2881
- /** 주문서 이름 */
2882
- name: string;
2883
- /** 주문서 아이콘 */
2884
- icon?: string;
2885
- /** 주문서 옵션 */
2886
- option: Partial<GearUpgradeOption>;
2887
- }
2888
- export { Scroll }
2889
- export { Scroll as Scroll_alias_1 }
2890
-
2891
- /**
2892
- * 장비의 에디셔널 잠재능력을 설정합니다.
2893
- * @param gear 설정할 장비.
2894
- * @param grade 에디셔널 잠재능력 등급.
2895
- * @param options 에디셔널 잠재옵션 목록.
2896
- *
2897
- * @throws {@link TypeError}
2898
- * 에디셔널 잠재능력을 설정할 수 없는 장비일 경우.
2858
+ /**
2859
+ * 주문서
2860
+ */
2861
+ declare interface Scroll {
2862
+ /** 주문서 이름 */
2863
+ name: string;
2864
+ /** 주문서 아이콘 */
2865
+ icon?: string;
2866
+ /** 주문서 옵션 */
2867
+ option: Partial<GearUpgradeOption>;
2868
+ }
2869
+ export { Scroll }
2870
+ export { Scroll as Scroll_alias_1 }
2871
+
2872
+ /**
2873
+ * 장비의 에디셔널 잠재능력을 설정합니다.
2874
+ * @param gear 설정할 장비.
2875
+ * @param grade 에디셔널 잠재능력 등급.
2876
+ * @param options 에디셔널 잠재옵션 목록.
2899
2877
  *
2900
- * @throws {@link TypeError}
2901
- * 설정하려는 에디셔널 잠재능력 등급이 Normal일 경우.
2878
+ * @throws {@link GearError}
2879
+ * 에디셔널 잠재능력을 설정할 없는 장비일 경우.
2902
2880
  *
2903
- * @throws {@link TypeError}
2904
- * 잘못된 에디셔널 잠재옵션 목록을 지정했을 경우.
2905
- */
2906
- declare function setAdditionalPotential(gear: Gear, grade: PotentialGrade, options: PotentialData[]): void;
2907
- export { setAdditionalPotential }
2908
- export { setAdditionalPotential as setAdditionalPotential_alias_1 }
2909
-
2910
- /**
2911
- * 장비의 잠재능력을 설정합니다.
2912
- * @param gear 설정할 장비.
2913
- * @param grade 잠재능력 등급.
2914
- * @param options 잠재옵션 목록.
2915
- *
2916
- * @throws {@link TypeError}
2917
- * 잠재능력을 설정할 없는 장비일 경우.
2881
+ * @throws {@link RangeError}
2882
+ * 설정하려는 에디셔널 잠재능력 등급이 Normal일 경우.
2883
+ *
2884
+ * @throws {@link GearError}
2885
+ * 잘못된 에디셔널 잠재옵션 목록을 지정했을 경우.
2886
+ */
2887
+ declare function setAdditionalPotential(gear: Gear, grade: PotentialGrade, options: PotentialData[]): void;
2888
+ export { setAdditionalPotential }
2889
+ export { setAdditionalPotential as setAdditionalPotential_alias_1 }
2890
+
2891
+ /**
2892
+ * 장비의 잠재능력을 설정합니다.
2893
+ * @param gear 설정할 장비.
2894
+ * @param grade 잠재능력 등급.
2895
+ * @param options 잠재옵션 목록.
2918
2896
  *
2919
- * @throws {@link TypeError}
2920
- * 설정하려는 잠재능력 등급이 Normal일 경우.
2897
+ * @throws {@link GearError}
2898
+ * 잠재능력을 설정할 없는 장비일 경우.
2921
2899
  *
2922
- * @throws {@link TypeError}
2923
- * 잘못된 잠재옵션 목록을 지정했을 경우.
2924
- */
2925
- declare function setPotential(gear: Gear, grade: PotentialGrade, options: PotentialData[]): void;
2926
- export { setPotential }
2927
- export { setPotential as setPotential_alias_1 }
2928
-
2929
- /**
2930
- * 장비에 소울을 장착합니다.
2931
- * @param gear 대상 장비.
2932
- * @param soul 장착할 소울 아이템.
2933
- *
2934
- * @throws {@link TypeError}
2935
- * 소울을 장착할 수 없는 경우.
2936
- */
2937
- declare function setSoul(gear: Gear, soul: SoulData): void;
2938
- export { setSoul }
2939
- export { setSoul as setSoul_alias_1 }
2940
-
2941
- /**
2942
- * 장비의 소울 충전량을 설정합니다.
2943
- * @param gear 대상 장비.
2944
- * @param charge 소울 충전량.
2945
- *
2946
- * @throws {@link TypeError}
2947
- * 소울 충전량을 설정할 수 없는 경우.
2948
- */
2949
- declare function setSoulCharge(gear: Gear, charge: number): void;
2950
- export { setSoulCharge }
2951
- export { setSoulCharge as setSoulCharge_alias_1 }
2952
-
2953
- /**
2954
- * 소울 충전 옵션
2955
- */
2956
- declare type SoulChargeOption = Pick<GearOption, 'attackPower' | 'magicPower'>;
2957
- export { SoulChargeOption }
2958
- export { SoulChargeOption as SoulChargeOption_alias_1 }
2959
- export { SoulChargeOption as SoulChargeOption_alias_2 }
2960
-
2961
- /**
2962
- * 소울 정보
2963
- */
2964
- declare interface SoulData {
2965
- /** 소울 명 */
2966
- name: string;
2967
- /** 소울 스킬 명 */
2968
- skill: string;
2969
- /** 소울 옵션 */
2970
- option: Partial<SoulOption>;
2971
- /** 소울 충전 옵션 배율 */
2972
- chargeFactor?: 1 | 2;
2973
- }
2974
- export { SoulData }
2975
- export { SoulData as SoulData_alias_1 }
2976
- export { SoulData as SoulData_alias_2 }
2977
-
2978
- /**
2979
- * 소울 옵션
2980
- */
2981
- declare type SoulOption = Pick<GearOption, 'str' | 'dex' | 'int' | 'luk' | 'strRate' | 'dexRate' | 'intRate' | 'lukRate' | 'attackPower' | 'magicPower' | 'attackPowerRate' | 'magicPowerRate' | 'maxHp' | 'maxMp' | 'criticalRate' | 'ignoreMonsterArmor' | 'bossDamage'>;
2982
- export { SoulOption }
2983
- export { SoulOption as SoulOption_alias_1 }
2984
- export { SoulOption as SoulOption_alias_2 }
2985
-
2986
- declare function soulPatch(soul?: SoulData, charge?: number): Patch;
2987
- export { soulPatch }
2988
- export { soulPatch as soulPatch_alias_1 }
2989
-
2990
- /**
2991
- * 소울 웨폰 정보
2992
- */
2993
- declare interface SoulSlotData {
2994
- /** 소울 아이템 */
2995
- soul?: SoulData;
2996
- /** 소울 충전량 */
2997
- charge?: number;
2998
- /** 소울 충전 옵션 */
2999
- chargeOption?: Partial<SoulChargeOption>;
3000
- }
3001
- export { SoulSlotData }
3002
- export { SoulSlotData as SoulSlotData_alias_1 }
3003
- export { SoulSlotData as SoulSlotData_alias_2 }
3004
-
3005
- /**
3006
- * 주문의 흔적
3007
- */
3008
- declare type SpellTrace = Scroll & {
3009
- type: SpellTraceType;
3010
- rate: SpellTraceRate;
3011
- };
3012
- export { SpellTrace }
3013
- export { SpellTrace as SpellTrace_alias_1 }
3014
-
3015
- /**
3016
- * 주문의 흔적 성공 확률
3017
- */
3018
- declare type SpellTraceRate = 100 | 70 | 30 | 15;
3019
- export { SpellTraceRate }
3020
- export { SpellTraceRate as SpellTraceRate_alias_1 }
3021
-
3022
- /**
3023
- * 주문의 흔적 종류
3024
- */
3025
- declare enum SpellTraceType {
3026
- /** STR */
3027
- str = "str",
3028
- /** DEX */
3029
- dex = "dex",
3030
- /** INT */
3031
- int = "int",
3032
- /** LUK */
3033
- luk = "luk",
3034
- /** 최대 HP */
3035
- maxHp = "maxHp",
3036
- /** 올스탯 */
3037
- allStat = "allStat"
3038
- }
3039
- export { SpellTraceType }
3040
- export { SpellTraceType as SpellTraceType_alias_1 }
3041
-
3042
- /**
3043
- * 장비에 스타포스 강화를 1회 적용합니다.
3044
- *
3045
- * 업그레이드가 완료되지 않은 장비, 놀라운 장비강화 주문서가 적용된 장비에도 적용할 수 있습니다.
3046
- * @param gear 적용할 장비.
3047
- * @param exceedMaxStar 장비의 최대 강화 단계를 초과하여 강화할 지 여부.
3048
- *
3049
- * @throws {@link TypeError}
3050
- * 스타포스 강화를 적용할 수 없는 경우.
3051
- */
3052
- declare function starforce(gear: Gear, exceedMaxStar?: boolean): void;
3053
- export { starforce }
3054
- export { starforce as starforce_alias_1 }
3055
-
3056
- declare function starforcePatch(star: number, starScroll?: boolean, ignoreMaxStar?: boolean): Patch;
3057
- export { starforcePatch }
3058
- export { starforcePatch as starforcePatch_alias_1 }
3059
-
3060
- /**
3061
- * 장비에 놀라운 장비 강화 주문서를 1회 적용합니다.
3062
- *
3063
- * 착용 가능 레벨 150 이하의 장비에만 적용할 수 있습니다.
3064
- * 업그레이드가 완료되지 않은 장비, 스타포스 강화가 적용된 장비에도 적용할 수 있습니다.
3065
- * 슈페리얼 장비에는 적용할 수 없습니다.
3066
- *
3067
- * 보너스 스탯은 장비 분류에 따라 결정됩니다.
3068
- * - 방어구(방패 제외): 최대 HP +50
3069
- * - 장신구: 올스탯 +1 ~ +2
3070
- * - 무기/블레이드/방패: 공격력/마력 +1
3071
- * @param gear 적용할 장비.
3072
- * @param bonus 보너스 스탯 적용 여부.
3073
- * @param exceedMaxStar 장비의 최대 강화 단계를 초과하여 강화할 지 여부.
2900
+ * @throws {@link RangeError}
2901
+ * 설정하려는 잠재능력 등급이 Normal일 경우.
3074
2902
  *
3075
2903
  * @throws {@link TypeError}
3076
- * 놀라운 장비 강화 주문서를 적용할 수 없는 경우.
2904
+ * 잘못된 잠재옵션 목록을 지정했을 경우.
3077
2905
  */
3078
- declare function starScroll(gear: Gear, bonus?: boolean, exceedMaxStar?: boolean): void;
3079
- export { starScroll }
3080
- export { starScroll as starScroll_alias_1 }
3081
-
3082
- export declare function sumOptions(...options: Partial<GearOption>[]): Partial<GearOption>;
3083
-
3084
- /**
3085
- * 장비가 에디셔널 잠재능력을 지원하는지 여부를 확인합니다.
3086
- * @param gear 확인할 장비.
3087
- * @returns 지원할 경우 `true`; 아닐 경우 `false`.
3088
- */
3089
- declare function supportsAdditionalPotential(gear: ReadonlyGear): boolean;
3090
- export { supportsAdditionalPotential }
3091
- export { supportsAdditionalPotential as supportsAdditionalPotential_alias_1 }
3092
-
3093
- /**
3094
- * 장비가 추가 옵션을 지원하는지 확인합니다.
3095
- * @param gear 확인할 장비.
3096
- * @returns 적용할 수 있을 경우 `true`; 아닐 경우 `false`.
3097
- */
3098
- declare function supportsAddOption(gear: ReadonlyGear): boolean;
3099
- export { supportsAddOption }
3100
- export { supportsAddOption as supportsAddOption_alias_1 }
3101
-
3102
- /**
3103
- * 장비가 익셉셔널 강화를 지원하는지 여부를 확인합니다.
3104
- * @param gear 확인할 장비.
3105
- * @returns 지원할 경우 `true`; 아닐 경우 `false`.
3106
- */
3107
- declare function supportsExceptional(gear: ReadonlyGear): boolean;
3108
- export { supportsExceptional }
3109
- export { supportsExceptional as supportsExceptional_alias_1 }
3110
-
3111
- /**
3112
- * 장비가 잠재능력을 지원하는지 여부를 확인합니다.
3113
- * @param gear 확인할 장비.
3114
- * @returns 지원할 경우 `true`; 아닐 경우 `false`.
3115
- */
3116
- declare function supportsPotential(gear: ReadonlyGear): boolean;
3117
- export { supportsPotential }
3118
- export { supportsPotential as supportsPotential_alias_1 }
3119
-
3120
- /**
3121
- * 장비가 소울웨폰을 지원하는지 여부를 확인합니다.
3122
- * @param gear 확인할 장비.
3123
- * @returns 지원할 경우 `true`; 아닐 경우 `false`.
3124
- */
3125
- declare function supportsSoul(gear: ReadonlyGear): boolean;
3126
- export { supportsSoul }
3127
- export { supportsSoul as supportsSoul_alias_1 }
2906
+ declare function setPotential(gear: Gear, grade: PotentialGrade, options: PotentialData[]): void;
2907
+ export { setPotential }
2908
+ export { setPotential as setPotential_alias_1 }
3128
2909
 
3129
2910
  /**
3130
- * 장비가 스타포스 강화를 지원하는지 여부를 확인합니다.
3131
- * @param gear 확인할 장비.
3132
- * @returns 지원할 경우 `true`; 아닐 경우 `false`.
3133
- */
3134
- declare function supportsStarforce(gear: ReadonlyGear): boolean;
3135
- export { supportsStarforce }
3136
- export { supportsStarforce as supportsStarforce_alias_1 }
3137
-
3138
- /**
3139
- * 장비가 주문서 강화를 지원하는지 여부를 확인합니다.
3140
- * @param gear 확인할 장비.
3141
- * @returns 지원할 경우 `true`; 아닐 경우 `false`.
3142
- */
3143
- declare function supportsUpgrade(gear: ReadonlyGear): boolean;
3144
- export { supportsUpgrade }
3145
- export { supportsUpgrade as supportsUpgrade_alias_1 }
3146
-
3147
- /**
3148
- * 장비 옵션의 설정되지 않은 속성(`undefined`)을 `0`으로 처리하는 프록시 객체를 생성합니다.
2911
+ * 장비에 소울을 장착합니다.
2912
+ * @param gear 대상 장비.
2913
+ * @param soul 장착할 소울 아이템.
3149
2914
  *
3150
- * 프록시 객체를 반복할 때 값이 `0`인 속성은 열거하지 않습니다.
3151
- * @param option 장비 옵션.
3152
- * @returns 장비 옵션 프록시.
3153
- */
3154
- declare function toGearOption(option: Partial<GearOption>): GearOption;
3155
- export { toGearOption }
3156
- export { toGearOption as toGearOption_alias_1 }
3157
-
3158
- export declare function _updateChargeOption(gear: Gear): void;
3159
-
3160
- declare function upgradePatch(options: ([SpellTraceType, SpellTraceRate] | Partial<GearOption>)[]): Patch;
3161
- export { upgradePatch }
3162
- export { upgradePatch as upgradePatch_alias_1 }
3163
-
3164
- export { }
2915
+ * @throws {@link GearError}
2916
+ * 소울을 장착할 없는 경우.
2917
+ */
2918
+ declare function setSoul(gear: Gear, soul: SoulData): void;
2919
+ export { setSoul }
2920
+ export { setSoul as setSoul_alias_1 }
2921
+
2922
+ /**
2923
+ * 장비의 소울 충전량을 설정합니다.
2924
+ * @param gear 대상 장비.
2925
+ * @param charge 소울 충전량.
2926
+ *
2927
+ * @throws {@link GearError}
2928
+ * 소울 충전량을 설정할 수 없는 경우.
2929
+ *
2930
+ * @throws {@link RangeError}
2931
+ * 소울 충전량이 0 미만 또는 1000 초과인 경우.
2932
+ */
2933
+ declare function setSoulCharge(gear: Gear, charge: number): void;
2934
+ export { setSoulCharge }
2935
+ export { setSoulCharge as setSoulCharge_alias_1 }
2936
+
2937
+ /**
2938
+ * 소울 충전 옵션
2939
+ */
2940
+ declare type SoulChargeOption = Pick<GearOption, 'attackPower' | 'magicPower'>;
2941
+ export { SoulChargeOption }
2942
+ export { SoulChargeOption as SoulChargeOption_alias_1 }
2943
+ export { SoulChargeOption as SoulChargeOption_alias_2 }
2944
+
2945
+ /**
2946
+ * 소울 정보
2947
+ */
2948
+ declare interface SoulData {
2949
+ /** 소울 명 */
2950
+ name: string;
2951
+ /** 소울 스킬 명 */
2952
+ skill: string;
2953
+ /** 소울 옵션 */
2954
+ option: Partial<SoulOption>;
2955
+ /** 소울 충전 옵션 배율 */
2956
+ chargeFactor?: 1 | 2;
2957
+ }
2958
+ export { SoulData }
2959
+ export { SoulData as SoulData_alias_1 }
2960
+ export { SoulData as SoulData_alias_2 }
2961
+
2962
+ /**
2963
+ * 소울 옵션
2964
+ */
2965
+ declare type SoulOption = Pick<GearOption, 'str' | 'dex' | 'int' | 'luk' | 'strRate' | 'dexRate' | 'intRate' | 'lukRate' | 'attackPower' | 'magicPower' | 'attackPowerRate' | 'magicPowerRate' | 'maxHp' | 'maxMp' | 'criticalRate' | 'ignoreMonsterArmor' | 'bossDamage'>;
2966
+ export { SoulOption }
2967
+ export { SoulOption as SoulOption_alias_1 }
2968
+ export { SoulOption as SoulOption_alias_2 }
2969
+
2970
+ declare function soulPatch(soul?: SoulData, charge?: number): Patch;
2971
+ export { soulPatch }
2972
+ export { soulPatch as soulPatch_alias_1 }
2973
+
2974
+ /**
2975
+ * 소울 웨폰 정보
2976
+ */
2977
+ declare interface SoulSlotData {
2978
+ /** 소울 아이템 */
2979
+ soul?: SoulData;
2980
+ /** 소울 충전량 */
2981
+ charge?: number;
2982
+ /** 소울 충전 옵션 */
2983
+ chargeOption?: Partial<SoulChargeOption>;
2984
+ }
2985
+ export { SoulSlotData }
2986
+ export { SoulSlotData as SoulSlotData_alias_1 }
2987
+ export { SoulSlotData as SoulSlotData_alias_2 }
2988
+
2989
+ /**
2990
+ * 주문의 흔적
2991
+ */
2992
+ declare type SpellTrace = Scroll & {
2993
+ type: SpellTraceType;
2994
+ rate: SpellTraceRate;
2995
+ };
2996
+ export { SpellTrace }
2997
+ export { SpellTrace as SpellTrace_alias_1 }
2998
+
2999
+ /**
3000
+ * 주문의 흔적 성공 확률
3001
+ */
3002
+ declare type SpellTraceRate = 100 | 70 | 30 | 15;
3003
+ export { SpellTraceRate }
3004
+ export { SpellTraceRate as SpellTraceRate_alias_1 }
3005
+
3006
+ /**
3007
+ * 주문의 흔적 종류
3008
+ */
3009
+ declare enum SpellTraceType {
3010
+ /** STR */
3011
+ str = "str",
3012
+ /** DEX */
3013
+ dex = "dex",
3014
+ /** INT */
3015
+ int = "int",
3016
+ /** LUK */
3017
+ luk = "luk",
3018
+ /** 최대 HP */
3019
+ maxHp = "maxHp",
3020
+ /** 올스탯 */
3021
+ allStat = "allStat"
3022
+ }
3023
+ export { SpellTraceType }
3024
+ export { SpellTraceType as SpellTraceType_alias_1 }
3025
+
3026
+ /**
3027
+ * 장비에 스타포스 강화를 1회 적용합니다.
3028
+ *
3029
+ * 업그레이드가 완료되지 않은 장비, 놀라운 장비강화 주문서가 적용된 장비에도 적용할 수 있습니다.
3030
+ * @param gear 적용할 장비.
3031
+ * @param exceedMaxStar 장비의 최대 강화 단계를 초과하여 강화할 지 여부.
3032
+ *
3033
+ * @throws {@link GearError}
3034
+ * 스타포스 강화를 적용할 수 없는 경우.
3035
+ */
3036
+ declare function starforce(gear: Gear, exceedMaxStar?: boolean): void;
3037
+ export { starforce }
3038
+ export { starforce as starforce_alias_1 }
3039
+
3040
+ declare function starforcePatch(star: number, starScroll?: boolean, ignoreMaxStar?: boolean): Patch;
3041
+ export { starforcePatch }
3042
+ export { starforcePatch as starforcePatch_alias_1 }
3043
+
3044
+ /**
3045
+ * 장비에 놀라운 장비 강화 주문서를 1회 적용합니다.
3046
+ *
3047
+ * 착용 가능 레벨 150 이하의 장비에만 적용할 수 있습니다.
3048
+ * 업그레이드가 완료되지 않은 장비, 스타포스 강화가 적용된 장비에도 적용할 수 있습니다.
3049
+ * 슈페리얼 장비에는 적용할 수 없습니다.
3050
+ *
3051
+ * 보너스 스탯은 장비 분류에 따라 결정됩니다.
3052
+ * - 방어구(방패 제외): 최대 HP +50
3053
+ * - 장신구: 올스탯 +1 ~ +2
3054
+ * - 무기/블레이드/방패: 공격력/마력 +1
3055
+ * @param gear 적용할 장비.
3056
+ * @param bonus 보너스 스탯 적용 여부.
3057
+ * @param exceedMaxStar 장비의 최대 강화 단계를 초과하여 강화할 지 여부.
3058
+ *
3059
+ * @throws {@link GearError}
3060
+ * 놀라운 장비 강화 주문서를 적용할 수 없는 경우.
3061
+ */
3062
+ declare function starScroll(gear: Gear, bonus?: boolean, exceedMaxStar?: boolean): void;
3063
+ export { starScroll }
3064
+ export { starScroll as starScroll_alias_1 }
3065
+
3066
+ export declare function sumOptions(...options: Partial<GearOption>[]): Partial<GearOption>;
3067
+
3068
+ /**
3069
+ * 장비가 에디셔널 잠재능력을 지원하는지 여부를 확인합니다.
3070
+ * @param gear 확인할 장비.
3071
+ * @returns 지원할 경우 `true`; 아닐 경우 `false`.
3072
+ */
3073
+ declare function supportsAdditionalPotential(gear: ReadonlyGear): boolean;
3074
+ export { supportsAdditionalPotential }
3075
+ export { supportsAdditionalPotential as supportsAdditionalPotential_alias_1 }
3076
+
3077
+ /**
3078
+ * 장비가 추가 옵션을 지원하는지 확인합니다.
3079
+ * @param gear 확인할 장비.
3080
+ * @returns 적용할 수 있을 경우 `true`; 아닐 경우 `false`.
3081
+ */
3082
+ declare function supportsAddOption(gear: ReadonlyGear): boolean;
3083
+ export { supportsAddOption }
3084
+ export { supportsAddOption as supportsAddOption_alias_1 }
3085
+
3086
+ /**
3087
+ * 장비가 익셉셔널 강화를 지원하는지 여부를 확인합니다.
3088
+ * @param gear 확인할 장비.
3089
+ * @returns 지원할 경우 `true`; 아닐 경우 `false`.
3090
+ */
3091
+ declare function supportsExceptional(gear: ReadonlyGear): boolean;
3092
+ export { supportsExceptional }
3093
+ export { supportsExceptional as supportsExceptional_alias_1 }
3094
+
3095
+ /**
3096
+ * 장비가 잠재능력을 지원하는지 여부를 확인합니다.
3097
+ * @param gear 확인할 장비.
3098
+ * @returns 지원할 경우 `true`; 아닐 경우 `false`.
3099
+ */
3100
+ declare function supportsPotential(gear: ReadonlyGear): boolean;
3101
+ export { supportsPotential }
3102
+ export { supportsPotential as supportsPotential_alias_1 }
3103
+
3104
+ /**
3105
+ * 장비가 소울웨폰을 지원하는지 여부를 확인합니다.
3106
+ * @param gear 확인할 장비.
3107
+ * @returns 지원할 경우 `true`; 아닐 경우 `false`.
3108
+ */
3109
+ declare function supportsSoul(gear: ReadonlyGear): boolean;
3110
+ export { supportsSoul }
3111
+ export { supportsSoul as supportsSoul_alias_1 }
3112
+
3113
+ /**
3114
+ * 장비가 스타포스 강화를 지원하는지 여부를 확인합니다.
3115
+ * @param gear 확인할 장비.
3116
+ * @returns 지원할 경우 `true`; 아닐 경우 `false`.
3117
+ */
3118
+ declare function supportsStarforce(gear: ReadonlyGear): boolean;
3119
+ export { supportsStarforce }
3120
+ export { supportsStarforce as supportsStarforce_alias_1 }
3121
+
3122
+ /**
3123
+ * 장비가 주문서 강화를 지원하는지 여부를 확인합니다.
3124
+ * @param gear 확인할 장비.
3125
+ * @returns 지원할 경우 `true`; 아닐 경우 `false`.
3126
+ */
3127
+ declare function supportsUpgrade(gear: ReadonlyGear): boolean;
3128
+ export { supportsUpgrade }
3129
+ export { supportsUpgrade as supportsUpgrade_alias_1 }
3130
+
3131
+ /**
3132
+ * 장비 옵션의 설정되지 않은 속성(`undefined`)을 `0`으로 처리하는 프록시 객체를 생성합니다.
3133
+ *
3134
+ * 프록시 객체를 반복할 때 값이 `0`인 속성은 열거하지 않습니다.
3135
+ * @param option 장비 옵션.
3136
+ * @returns 장비 옵션 프록시.
3137
+ */
3138
+ declare function toGearOption(option: Partial<GearOption>): GearOption;
3139
+ export { toGearOption }
3140
+ export { toGearOption as toGearOption_alias_1 }
3141
+
3142
+ export declare function _updateChargeOption(gear: Gear): void;
3143
+
3144
+ declare function upgradePatch(options: ([SpellTraceType, SpellTraceRate] | Partial<GearOption>)[]): Patch;
3145
+ export { upgradePatch }
3146
+ export { upgradePatch as upgradePatch_alias_1 }
3147
+
3148
+ declare const VERSION = 2;
3149
+ export { VERSION }
3150
+ export { VERSION as VERSION_alias_1 }
3151
+
3152
+ export { }