更新任务
This commit is contained in:
parent
32f151fa49
commit
7e2d2289de
@ -1,8 +1,8 @@
|
||||
// ==UserScript==
|
||||
// @lastmodified 202112052149
|
||||
// @lastmodified 202112052219
|
||||
// @name Torn翻译
|
||||
// @namespace WOOH
|
||||
// @version 0.1.1205a
|
||||
// @version 0.1.1205b
|
||||
// @description Torn UI翻译
|
||||
// @author Woohoo-[2687093] sabrina_devil[2696209]
|
||||
// @match https://www.torn.com/*
|
||||
@ -5681,7 +5681,7 @@ ${htmlCont}</div></div></div></div><hr class="delimiter-999 m-top10 m-bottom10">
|
||||
* 任务助手
|
||||
*/
|
||||
function getTaskHint(task_name) {
|
||||
task_name = task_name.toLowerCase().replaceAll(' ', '_').replaceAll(':', '');
|
||||
task_name = task_name.toLowerCase().replaceAll(' ', '_').replaceAll(/[,:]/, '');
|
||||
if (!missionDict._taskHint[task_name]) return '暂无,请联系开发者';
|
||||
const task = missionDict._taskHint[task_name].task || null;
|
||||
const hint = missionDict._taskHint[task_name].hint || null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user