Eustia/project/table/task_comment.js
2025-09-07 10:38:21 +08:00

121 lines
1.9 KiB
JavaScript

var task_comment = {
"_type": "object",
"_data": {
"task": {
"_type": "object",
"_data": function (key) {
var obj = {
"新手任务": {
"_leaf": true,
"_type": "event",
"_event": "taskEvent",
"_data": "开局就有"
},
"task1": {
"_leaf": true,
"_type": "event",
"_event": "taskEvent",
"_data": "新"
},
}
if (obj[key]) return obj[key];
return {
"_leaf": true,
"_type": "event",
"_event": "taskEvent",
"_template": `{
"type": "taskEvent",
"name": "mission name",
"n": 1,
"text": "任务描述",
"info": [
{
"type": "checkItem",
"checkItem": "yellowKey",
"operator": ">=",
"count": 0
},
{
"type": "checkStatus",
"checkStatus": "atk",
"operator": ">=",
"count": 10
},
{
"type": "checkFlag",
"checkFlag": "flag1",
"operator": "=",
"count": "\"value\""
},
{
"type": "checkBlock",
"checkBlock": "bat",
"floorId": [
"MT1",
"MT2"
],
"operator": "<=",
"count": 0
},
{
"type": "kill",
"operator": ">=",
"count": 0
},
{
"type": "killLocs",
"loc": [
[
1,
1
]
],
"floorId": "MT1",
"operator": ">=",
"count": 1
},
{
"type": "killSpecial",
"killSpecial": "61",
"floorId": [
"61"
],
"operator": ">=",
"count": 1
},
{
"type": "killAll",
"floorId": [
"MT1"
]
},
{
"type": "specialBlock",
"floorId": [
"MT1"
],
"specialBlock": "血网伤害",
"operator": "<",
"count": 1
},
{
"type": "gosthFloor",
"floorId": [
"MT1"
],
"operator": "<",
"count": 1
}
],
"action": [
{
"type": "setmusics"
}
]
}`,
"_data": "..."
}
}
}
}
}