92 lines
1.8 KiB
JSON
92 lines
1.8 KiB
JSON
{
|
|
"$override": {
|
|
},
|
|
"custom": {
|
|
},
|
|
"desc": "怪物测试AI",
|
|
"export": true,
|
|
"group": [
|
|
"Test"
|
|
],
|
|
"import": [
|
|
],
|
|
"name": "monster",
|
|
"prefix": "",
|
|
"root": {
|
|
"$id": "UzMJ4RCPJi",
|
|
"children": [
|
|
{
|
|
"$id": "22VgEJ8qBb",
|
|
"children": [
|
|
{
|
|
"$id": "sPc1hCO5Y0",
|
|
"children": [
|
|
{
|
|
"$id": "IliI30nEez",
|
|
"desc": "新建行为树",
|
|
"id": "4",
|
|
"name": "Sequence",
|
|
"path": "workdir/subtree2.json"
|
|
}
|
|
],
|
|
"id": "3",
|
|
"name": "GetHp",
|
|
"output": [
|
|
"hp"
|
|
]
|
|
},
|
|
{
|
|
"$id": "UflkVPzbM2",
|
|
"args": {
|
|
"gt": 50,
|
|
"value": "hp"
|
|
},
|
|
"id": "6",
|
|
"input": [
|
|
"hp"
|
|
],
|
|
"name": "Cmp"
|
|
},
|
|
{
|
|
"$id": "vGBhrKx6OT",
|
|
"args": {
|
|
"check": "1",
|
|
"name": "1",
|
|
"open": true,
|
|
"status": "FAILURE",
|
|
"time": 1
|
|
},
|
|
"desc": "攻击",
|
|
"id": "7",
|
|
"name": "TestB3"
|
|
},
|
|
{
|
|
"$id": "0XPfo7WtaM",
|
|
"desc": "新建行为树",
|
|
"id": "8",
|
|
"name": "Sequence",
|
|
"path": "workdir/subtree1.json"
|
|
}
|
|
],
|
|
"desc": "攻击",
|
|
"id": "2",
|
|
"name": "Sequence"
|
|
},
|
|
{
|
|
"$id": "k3OVVSX9ih",
|
|
"args": {
|
|
"message": "Run!"
|
|
},
|
|
"desc": "逃跑",
|
|
"id": "11",
|
|
"name": "Log"
|
|
}
|
|
],
|
|
"desc": "怪物测试AI",
|
|
"id": "1",
|
|
"name": "Sequence"
|
|
},
|
|
"vars": [
|
|
],
|
|
"version": "2.0.0"
|
|
} |