diff --git a/project/plugins.js b/project/plugins.js index 28f850bd..590bb084 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -3735,6 +3735,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = } function equipBestComb(bestCombination, equipIncluded, equipNameList) { + /** @type {Set} */ const duplicatedName = new Set([]), name = core.status.globalAttribute.equipName; diff --git a/runtime.d.ts b/runtime.d.ts index 983807db..4fdc2a43 100644 --- a/runtime.d.ts +++ b/runtime.d.ts @@ -160,7 +160,7 @@ type autoEvent = { type step = 'up' | 'down' | 'left' | 'right' | 'forward' | 'backward' type HeroStatus = { - equipment: [] + equipment: string[] lv: number name: string hp: number @@ -2199,6 +2199,7 @@ interface loader { /** @file items.js 主要负责一切和道具相关的内容。 */ interface items { + _loadEquipEffect(equipId?: string | null, unloadEquipId?: string | null); /** * 获得给定ratio下(不填默认当前地图倍率)该即捡即用类的道具获得时勇士属性的增加效果