diff --git a/.vscode/settings.json b/.vscode/settings.json index d00872d..faaa4e6 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -140,5 +140,8 @@ ], "[javascript]": { "editor.defaultFormatter": "vscode.typescript-language-features" + }, + "[json]": { + "editor.defaultFormatter": "vscode.json-language-features" } } diff --git a/src/components.d.ts b/src/components.d.ts index ebd239e..c71b1e3 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,12 +9,14 @@ declare module '@vue/runtime-core' { ACascader: typeof import('@arco-design/web-vue')['Cascader'] ACheckbox: typeof import('@arco-design/web-vue')['Checkbox'] ADescriptions: typeof import('@arco-design/web-vue')['Descriptions'] + ADrawer: typeof import('@arco-design/web-vue')['Drawer'] AInput: typeof import('@arco-design/web-vue')['Input'] AInputNumber: typeof import('@arco-design/web-vue')['InputNumber'] ALink: typeof import('@arco-design/web-vue')['Link'] AMenu: typeof import('@arco-design/web-vue')['Menu'] AMenuItem: typeof import('@arco-design/web-vue')['MenuItem'] ASelect: typeof import('@arco-design/web-vue')['Select'] + ASpace: typeof import('@arco-design/web-vue')['Space'] ASubMenu: typeof import('@arco-design/web-vue')['SubMenu'] ATable: typeof import('@arco-design/web-vue')['Table'] ATooltip: typeof import('@arco-design/web-vue')['Tooltip'] diff --git a/src/pages/start/components/commuse.vue b/src/pages/start/components/commuse.vue index e3b8f41..ea0b2a0 100644 --- a/src/pages/start/components/commuse.vue +++ b/src/pages/start/components/commuse.vue @@ -7,11 +7,11 @@ import { Message } from '@arco-design/web-vue' const { text, isSupported, copy } = useClipboard() var value2 = ref(223) -var uid = ref('') +var uid = ref('@') var num = ref(1000) const value = computed(() => { - return `/give ${uid.value} ${value2.value} ${num.value}` + return `give ${uid.value} ${value2.value} ${num.value}` }) const options = reactive([ { diff --git a/src/pages/start/components/holyrelic.vue b/src/pages/start/components/holyrelic.vue index 1c81c06..088080d 100644 --- a/src/pages/start/components/holyrelic.vue +++ b/src/pages/start/components/holyrelic.vue @@ -8,7 +8,7 @@ import holyrelicx from './json/holyrelicnx.json' import { Message } from '@arco-design/web-vue' const { text, isSupported, copy } = useClipboard() -var uid = ref('') +var uid = ref('@') var holyrelicnamevalue = ref('') var holyrelicnmainvalue = ref('') @@ -23,7 +23,7 @@ const value = computed(() => { xct = xct + ` ${k.value},${k.num}` } }) - return `/giveart ${uid.value} ${holyrelicnamevalue.value} ${holyrelicnmainvalue.value}${xct} ${ + return `giveart ${uid.value} ${holyrelicnamevalue.value} ${holyrelicnmainvalue.value}${xct} ${ grade.value + 1 }` }) diff --git a/src/pages/start/components/json/role.json b/src/pages/start/components/json/role.json index b6b7302..6b15509 100644 --- a/src/pages/start/components/json/role.json +++ b/src/pages/start/components/json/role.json @@ -2,266 +2,111 @@ [ { "label": "生命值", - "value": 10001 + "value": "hp" }, { - "label": "生命值百分比", - "value": 10002 + "label": "最大生命值", + "value": "maxhp" }, { "label": "攻击力", - "value": 10003 + "value": "atk" }, { - "label": "攻击力百分比", - "value": 10004 - }, - { - "label": "防御力", - "value": 10005 - }, - { - "label": "防御力百分比", - "value": 10006 + "label": "元素精通", + "value": "em" }, { "label": "元素充能效率", - "value": 10007 - }, - { - "label": "元素精通", - "value": 10008 - }, - { - "label": "火元素抗性", - "value": 10009 - }, - { - "label": "雷元素抗性", - "value": 10010 - }, - { - "label": "冰元素抗性", - "value": 10011 - }, - { - "label": "水元素抗性", - "value": 10012 - }, - { - "label": "风元素抗性", - "value": 10013 - }, - { - "label": "岩元素抗性", - "value": 10014 - }, - { - "label": "草元素抗性", - "value": 10015 - }, - { - "label": "攻击力", - "value": 12001 - }, - { - "label": "生命值", - "value": 13001 - }, - { - "label": "生命值百分比", - "value": 13002 - }, - { - "label": "攻击力", - "value": 13003 - }, - { - "label": "攻击力百分比", - "value": 13004 - }, - { - "label": "防御力", - "value": 13005 - }, - { - "label": "防御力百分比", - "value": 13006 + "value": "er" }, { "label": "暴击率", - "value": 13007 + "value": "crate" }, { "label": "暴击伤害", - "value": 13008 + "value": "cdmg" + }, + { + "label": "冷却缩减", + "value": "cdr" }, { "label": "治疗加成", - "value": 13009 + "value": "heal" }, { - "label": "元素精通", - "value": 13010 + "label": "受治疗加成", + "value": "heali" }, { - "label": "生命值", - "value": 14001 + "label": "护盾强效", + "value": "shield" }, { - "label": "生命值", - "value": 15001 + "label": "无视防御", + "value": "defi" }, { - "label": "生命值百分比", - "value": 15002 + "label": "元素增伤 火", + "value": "epyro" }, { - "label": "攻击力", - "value": 15003 + "label": "元素增伤 冰", + "value": "ecryo" }, { - "label": "攻击力百分比", - "value": 15004 + "label": "元素增伤 水", + "value": "ehydro" }, { - "label": "防御力", - "value": 15005 + "label": "元素增伤 岩", + "value": "egeo" }, { - "label": "防御力百分比", - "value": 15006 + "label": "元素增伤 草", + "value": "edendro" }, { - "label": "元素精通", - "value": 15007 + "label": "元素增伤 雷", + "value": "eelectro" }, { - "label": "火元素伤害加成", - "value": 15008 + "label": "元素增伤 物理", + "value": "ephys" }, { - "label": "雷元素伤害加成", - "value": 15009 + "label": "元素增伤 草", + "value": "" }, { - "label": "冰元素伤害加成", - "value": 15010 + "label": "元素抗性 火", + "value": "respyro" }, { - "label": "水元素伤害加成", - "value": 15011 + "label": "元素抗性 冰", + "value": "rescryo" }, { - "label": "风元素伤害加成", - "value": 15012 + "label": "元素抗性 水", + "value": "reshydro" }, { - "label": "岩元素伤害加成", - "value": 15013 + "label": "元素抗性 岩", + "value": "resgeo" }, { - "label": "草元素伤害加成", - "value": 15014 + "label": "元素抗性 草", + "value": "resdendro" }, { - "label": "物理伤害加成", - "value": 15015 + "label": "元素抗性 雷", + "value": "reselectro" }, { - "label": "攻击力百分比", - "value": 10990 - }, - { - "label": "生命值百分比", - "value": 10980 - }, - { - "label": "防御力百分比", - "value": 10970 - }, - { - "label": "元素充能效率", - "value": 10960 - }, - { - "label": "元素精通", - "value": 10950 - }, - { - "label": "攻击力百分比", - "value": 30990 - }, - { - "label": "生命值百分比", - "value": 30980 - }, - { - "label": "防御力百分比", - "value": 30970 - }, - { - "label": "暴击率", - "value": 30960 - }, - { - "label": "暴击伤害", - "value": 30950 - }, - { - "label": "治疗加成", - "value": 30940 - }, - { - "label": "元素精通", - "value": 30930 - }, - { - "label": "攻击力百分比", - "value": 50990 - }, - { - "label": "生命值百分比", - "value": 50980 - }, - { - "label": "防御力百分比", - "value": 50970 - }, - { - "label": "火元素伤害加成", - "value": 50960 - }, - { - "label": "雷元素伤害加成", - "value": 50950 - }, - { - "label": "冰元素伤害加成", - "value": 50940 - }, - { - "label": "水元素伤害加成", - "value": 50930 - }, - { - "label": "风元素伤害加成", - "value": 50920 - }, - { - "label": "岩元素伤害加成", - "value": 50910 - }, - { - "label": "草元素伤害加成", - "value": 50900 - }, - { - "label": "物理伤害加成", - "value": 50890 - }, - { - "label": "元素精通", - "value": 50880 + "label": "元素抗性 物理", + "value": "resphys" } + ] \ No newline at end of file diff --git a/src/pages/start/components/monster.vue b/src/pages/start/components/monster.vue index 3960230..537c5ed 100644 --- a/src/pages/start/components/monster.vue +++ b/src/pages/start/components/monster.vue @@ -10,9 +10,10 @@ const { text, isSupported, copy } = useClipboard() var value2 = ref(21010101) var grade = ref(80) var num = ref(10) +var uid = ref('@') const value = computed(() => { - return `/spawn ${value2.value} ${num.value} ${grade.value}` + return `spawn ${uid.value} ${value2.value} ${num.value} ${grade.value}` }) const options = reactive(monster) const message = Message @@ -27,29 +28,21 @@ function copyvalue() {