implement expression validation and build script setup in workspace
This commit is contained in:
1 parent
d595ce4a3a
commit
2483606ef4
24 files changed
+573
-318
No files matched your search
+115
-50
@@ -1,55 +1,120 @@
|
||||
{
|
||||
"name": "hero",
|
||||
"root": {
|
||||
"id": 1,
|
||||
"name": "Selector",
|
||||
"desc": "英雄测试AI",
|
||||
"name": "hero",
|
||||
"root": {
|
||||
"id": 1,
|
||||
"name": "Selector",
|
||||
"desc": "英雄测试AI",
|
||||
"args": {},
|
||||
"children": [
|
||||
{
|
||||
"id": 2,
|
||||
"name": "Sequence",
|
||||
"desc": "攻击",
|
||||
"args": {},
|
||||
"children": [
|
||||
{
|
||||
"id": 2,
|
||||
"name": "Sequence",
|
||||
"desc": "攻击",
|
||||
"args": {},
|
||||
"children": [
|
||||
{
|
||||
"id": 3,
|
||||
"name": "FindEnemy",
|
||||
"args": { "x": 0, "y": 0, "w": 100, "h": 50 },
|
||||
"output": ["enemy"]
|
||||
},
|
||||
{ "id": 4, "name": "Attack", "args": {}, "input": ["enemy"] },
|
||||
{ "id": 5, "name": "Wait", "args": { "time": 10 } }
|
||||
]
|
||||
{
|
||||
"id": 3,
|
||||
"name": "FindEnemy",
|
||||
"args": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"w": 100,
|
||||
"h": 50
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"name": "Sequence",
|
||||
"desc": "移动",
|
||||
"args": {},
|
||||
"children": [
|
||||
{
|
||||
"id": 7,
|
||||
"name": "FindEnemy",
|
||||
"args": { "w": 1000, "h": 500, "x": 0, "y": 0 },
|
||||
"output": ["enemy"]
|
||||
},
|
||||
{ "id": 8, "name": "MoveToTarget", "args": {}, "input": ["enemy"] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"name": "Sequence",
|
||||
"desc": "逃跑",
|
||||
"args": {},
|
||||
"children": [
|
||||
{ "id": 10, "name": "GetHp", "args": {}, "output": ["hp"] },
|
||||
{ "id": 11, "name": "Cmp", "args": { "lt": 50 }, "input": ["hp"] },
|
||||
{ "id": 12, "name": "MoveToPos", "args": { "x": 0, "y": 0 } }
|
||||
]
|
||||
},
|
||||
{ "id": 13, "name": "Idle" }
|
||||
"output": [
|
||||
"enemy"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "Attack",
|
||||
"args": {},
|
||||
"input": [
|
||||
"enemy"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"name": "Wait",
|
||||
"args": {
|
||||
"time": 10
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"desc": "英雄测试AI"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"name": "Sequence",
|
||||
"desc": "移动",
|
||||
"args": {},
|
||||
"children": [
|
||||
{
|
||||
"id": 7,
|
||||
"name": "FindEnemy",
|
||||
"args": {
|
||||
"w": 1000,
|
||||
"h": 500,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"output": [
|
||||
"enemy"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"name": "MoveToTarget",
|
||||
"args": {},
|
||||
"input": [
|
||||
"enemy"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"name": "Sequence",
|
||||
"desc": "逃跑",
|
||||
"args": {},
|
||||
"children": [
|
||||
{
|
||||
"id": 10,
|
||||
"name": "GetHp",
|
||||
"args": {},
|
||||
"output": [
|
||||
"hp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"name": "Cmp",
|
||||
"args": {
|
||||
"lt": 50
|
||||
},
|
||||
"input": [
|
||||
"hp"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"name": "MoveToPos",
|
||||
"args": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"name": "Idle"
|
||||
}
|
||||
]
|
||||
},
|
||||
"desc": "英雄测试AI",
|
||||
"version": "1.8.0",
|
||||
"firstid": 1,
|
||||
"group": [],
|
||||
"import": [],
|
||||
"declvar": []
|
||||
}
|
||||
Reference in new issue
Block a user