diff --git a/.claude/settings.json b/.claude/settings.json index 5b29d497..6ff235fb 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -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 *)", diff --git a/assets/resources/common/prefab/window.prefab b/assets/resources/common/prefab/window.prefab index 3cea5464..5696cbff 100644 --- a/assets/resources/common/prefab/window.prefab +++ b/assets/resources/common/prefab/window.prefab @@ -37,17 +37,17 @@ "_active": true, "_components": [ { - "__id__": 96 + "__id__": 112 }, { - "__id__": 98 + "__id__": 114 }, { - "__id__": 100 + "__id__": 116 } ], "_prefab": { - "__id__": 102 + "__id__": 218 }, "_lpos": { "__type__": "cc.Vec3", @@ -788,25 +788,25 @@ "__id__": 41 }, { - "__id__": 66 + "__id__": 76 } ], "_active": true, "_components": [ { - "__id__": 91 + "__id__": 107 }, { - "__id__": 93 + "__id__": 109 } ], "_prefab": { - "__id__": 95 + "__id__": 111 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -120.963, + "y": -102.888, "z": 0 }, "_lrot": { @@ -843,32 +843,29 @@ "_children": [ { "__id__": 42 - }, - { - "__id__": 48 } ], "_active": true, "_components": [ { - "__id__": 56 + "__id__": 66 }, { - "__id__": 58 + "__id__": 68 }, { - "__id__": 60 + "__id__": 70 }, { - "__id__": 63 + "__id__": 73 } ], "_prefab": { - "__id__": 65 + "__id__": 75 }, "_lpos": { "__type__": "cc.Vec3", - "x": -80, + "x": -105, "y": 10, "z": 0 }, @@ -897,321 +894,300 @@ }, { "__type__": "cc.Node", - "_name": "btn_sky", "_objFlags": 0, - "__editorExtras__": {}, "_parent": { "__id__": 41 }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 43 - }, - { - "__id__": 45 - } - ], "_prefab": { - "__id__": 47 + "__id__": 43 }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 0.6, - "y": 0.6, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 42 - }, - "_enabled": true, - "__prefab": { - "__id__": 44 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 185, - "height": 81 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "43hxyyW75AUbCRwSq6bnKj" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 42 - }, - "_enabled": true, - "__prefab": { - "__id__": 46 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@e9165", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 1, - "_fillType": 0, - "_sizeMode": 1, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "57GMVAlN1IBIg9GB7wNH8z" + "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 1 + "__id__": 42 }, "asset": { - "__id__": 0 + "__uuid__": "506d0f89-1cf1-4c3b-be47-a3abaf3695e8", + "__expectedType__": "cc.Prefab" }, - "fileId": "934JLC9kFMLYbUXXfvjnsX", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null + "fileId": "60RuUkpjBAGoLk3z4xlHcF", + "instance": { + "__id__": 44 + }, + "targetOverrides": null }, { - "__type__": "cc.Node", - "_name": "lab_ok", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 41 + "__type__": "cc.PrefabInstance", + "fileId": "4feeF6EXBJubTjoQyt3eVT", + "prefabRootNode": { + "__id__": 1 }, - "_children": [], - "_active": true, - "_components": [ + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 45 + }, + { + "__id__": 47 + }, + { + "__id__": 48 + }, { "__id__": 49 }, { - "__id__": 51 + "__id__": 50 }, { - "__id__": 53 + "__id__": 52 + }, + { + "__id__": 54 + }, + { + "__id__": 56 + }, + { + "__id__": 58 + }, + { + "__id__": 60 + }, + { + "__id__": 61 + }, + { + "__id__": 62 + }, + { + "__id__": 64 } ], - "_prefab": { - "__id__": 55 + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 46 }, - "_lpos": { + "propertyPath": [ + "_name" + ], + "value": "button" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "60RuUkpjBAGoLk3z4xlHcF" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 46 + }, + "propertyPath": [ + "_lpos" + ], + "value": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 46 }, - "_lrot": { + "propertyPath": [ + "_lrot" + ], + "value": { "__type__": "cc.Quat", "x": 0, "y": 0, "z": 0, "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 46 }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { + "propertyPath": [ + "_euler" + ], + "value": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 - }, - "_id": "" + } }, { - "__type__": "cc.UITransform", - "_name": "Label", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 48 + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 51 }, - "_enabled": true, - "__prefab": { - "__id__": 50 + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "32ZgIQHstCXYwNDGBH6HPk" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 53 }, - "_contentSize": { + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "28D4tFgVRPwbG9iXo3cRl7" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 55 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": -2.75, + "z": 0 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "deRkP/BNlLX52OUGvpThIO" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 57 + }, + "propertyPath": [ + "_contentSize" + ], + "value": { "__type__": "cc.Size", - "width": 100, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" + "width": 150, + "height": 35.5 + } }, { - "__type__": "cc.CompPrefabInfo", - "fileId": "44bD80KHZProBBM3AMP1KY" + "__type__": "cc.TargetInfo", + "localID": [ + "a2VyIJeeVKFodz6H9a3PKt" + ] }, { - "__type__": "cc.Label", - "_name": "Label