Eustia/project/table/task_comment.js
2025-09-11 15:19:50 +08:00

119 lines
2.0 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": [
"MT1","MT2"
],
"operator": ">=",
"count": 1
},
{
"type": "killAll",
"floorId": [
"MT1"
]
},
{
"type": "specialBlock",
"floorId": [
"MT1"
],
"specialBlock": "血网伤害",
"operator": "<",
"count": 1
},
{
"type": "gosthFloor",
"floorId": [
"MT1"
],
"operator": "<",
"count": 1
}
],"setFloor":"MT1","setxy":[1,1],"tarFloor":"MT1,MT2","mitFloor":"MT1","mitxy":[1,1],
"beforeAction": [
],"reward":"yellowKey:1,redGem:3","action": [
]
}`,
"_data": "..."
}
}
}
}
}