Skip to content

ViScriptQuests ​

为任务、步骤和目标提供状态检查、任务操作奖励以及任务生命周期阅历。

Condition ​

epiphany_extra:viscript_quests_quest ​

检查 Quest 状态。

json
{
  "type": "epiphany_extra:viscript_quests_quest",
  "quest": "story/main",
  "status": "completed"
}

epiphany_extra:viscript_quests_task ​

检查 Task 状态。

json
{
  "type": "epiphany_extra:viscript_quests_task", 
  "quest": "story/main", 
  "task": "visit_village", 
  "status": "completed"
}

epiphany_extra:viscript_quests_objective ​

检查 Objective 状态或数量。

json
{
  "type": "epiphany_extra:viscript_quests_objective", 
  "quest": "story/main", 
  "task": "kill_slimes", 
  "objective": "kill_slime", 
  "comparison": ">=", 
  "amount": 10
}

备注

Quest、Task、Objective 使用各自的稳定 ID;目标条件可同时检查状态和数量。

Reward ​

epiphany_extra:viscript_quests_grant ​

发放任务。

json
{
  "type": "epiphany_extra:viscript_quests_grant",
  "quest": "story/main"
}

epiphany_extra:viscript_quests_complete ​

按原生流程完成任务。

json
{
  "type": "epiphany_extra:viscript_quests_complete",
  "quest": "story/main"
 }

epiphany_extra:viscript_quests_trigger ​

触发当前激活的自定义目标。

json
{
  "type": "epiphany_extra:viscript_quests_trigger", 
  "trigger": "unlock_gate"
}

备注

Reward 不回滚任务状态,remove 永久为 no-op;trigger 同一来源只成功执行一次。

Aptitude Source ​

  • epiphany_extra:viscript_quests_quest_started
  • epiphany_extra:viscript_quests_quest_completed
  • epiphany_extra:viscript_quests_task_completed
  • epiphany_extra:viscript_quests_objective_completed
  • epiphany_extra:viscript_quests_reward_granted

在任务开始、任务完成、步骤完成、目标完成或奖励发放时提供阅历来源。

备注

按在线队伍成员 UUID 去重;不接入高频目标进度、失败、撤销和跳过事件。