@malib/gear 1.2.0 → 1.2.2

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/dist/index.d.mts CHANGED
@@ -298,6 +298,8 @@ declare enum GearType {
298
298
  breathShooter = 1214,
299
299
  /** 장검 */
300
300
  longSword2 = 1215,
301
+ /** 카르타 */
302
+ carta = 1216,
301
303
  /** 소울 슈터 */
302
304
  soulShooter = 122,
303
305
  /** 데스페라도 */
@@ -462,6 +464,8 @@ declare enum GearType {
462
464
  machineTransistors = 165,
463
465
  /** 모래시계 */
464
466
  hourGlass = 17237,
467
+ /** 마법깃펜 */
468
+ magicQuill = 1726,
465
469
  /** 드래곤 모자 */
466
470
  dragonMask = 194,
467
471
  /** 드래곤 펜던트 */
package/dist/index.mjs CHANGED
@@ -154,6 +154,8 @@ let GearType = /* @__PURE__ */ function(GearType) {
154
154
  GearType[GearType["breathShooter"] = 1214] = "breathShooter";
155
155
  /** 장검 */
156
156
  GearType[GearType["longSword2"] = 1215] = "longSword2";
157
+ /** 카르타 */
158
+ GearType[GearType["carta"] = 1216] = "carta";
157
159
  /** 소울 슈터 */
158
160
  GearType[GearType["soulShooter"] = 122] = "soulShooter";
159
161
  /** 데스페라도 */
@@ -318,6 +320,8 @@ let GearType = /* @__PURE__ */ function(GearType) {
318
320
  GearType[GearType["machineTransistors"] = 165] = "machineTransistors";
319
321
  /** 모래시계 */
320
322
  GearType[GearType["hourGlass"] = 17237] = "hourGlass";
323
+ /** 마법깃펜 */
324
+ GearType[GearType["magicQuill"] = 1726] = "magicQuill";
321
325
  /** 드래곤 모자 */
322
326
  GearType[GearType["dragonMask"] = 194] = "dragonMask";
323
327
  /** 드래곤 펜던트 */
@@ -506,7 +510,8 @@ function isSubWeapon(type) {
506
510
  if (isShield(type)) return true;
507
511
  switch (type) {
508
512
  case GearType.katara:
509
- case GearType.hourGlass: return true;
513
+ case GearType.hourGlass:
514
+ case GearType.magicQuill: return true;
510
515
  default:
511
516
  if (Math.floor(type / 1e3) === 135) return true;
512
517
  return false;
@@ -753,7 +758,8 @@ function _getZeroWeaponAttackPower(gearType, { attackPower }) {
753
758
  [169, 173],
754
759
  [203, 207],
755
760
  [293, 297],
756
- [337, 342]
761
+ [337, 342],
762
+ [370, 375]
757
763
  ]).get(attackPower);
758
764
  if (mappedAttackPower === void 0) throw new _DeferredGearError(ErrorMessage.AddOption_UnknownLongSwordGear, {
759
765
  "gear.type": gearType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malib/gear",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "MapleStory gear logic simulator",
5
5
  "repository": {
6
6
  "type": "git",