Eustia/project/table/task_comment.js
2025-09-08 17:34:45 +08:00

121 lines
1.9 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
}
],"beforeAction"[],
"action": [
{
"type": "setmusics"
}
]
}`,
"_data": "..."
}
}
}
}
}