refactor(common prompt,hero box): 优化弹窗绑定逻辑与英雄出售限制
1. 重构CommonPrompt的编辑器属性绑定,添加按钮节点序列化引用并优化兜底查找逻辑 2. 为英雄出售操作添加存活数量校验,场上仅1个英雄时禁止出售 3. 新增统一的存活英雄统计工具方法 4. 补充Claude工具命令配置
This commit is contained in:
@@ -16,7 +16,9 @@
|
||||
"Bash(git add *)",
|
||||
"Bash(git commit *)",
|
||||
"Bash(npm install *)",
|
||||
"Bash(npx tsc *)"
|
||||
"Bash(npx tsc *)",
|
||||
"Bash(d:/game/pixelheros/extensions/pixelhero-config-editor/node_modules/.bin/tsx --version)",
|
||||
"Bash(d:/game/pixelheros/extensions/pixelhero-config-editor/node_modules/.bin/tsx --tsconfig scripts/tsconfig.eval.json scripts/eval-heroes.ts --lv=1 --base=5011)"
|
||||
],
|
||||
"deny": [
|
||||
"Bash(rm -rf *)",
|
||||
|
||||
Reference in New Issue
Block a user