更新任务
This commit is contained in:
parent
7e2d2289de
commit
70ca63d8b2
@ -1,8 +1,8 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @lastmodified 202112052219
|
// @lastmodified 202112052222
|
||||||
// @name Torn翻译
|
// @name Torn翻译
|
||||||
// @namespace WOOH
|
// @namespace WOOH
|
||||||
// @version 0.1.1205b
|
// @version 0.1.1205c
|
||||||
// @description Torn UI翻译
|
// @description Torn UI翻译
|
||||||
// @author Woohoo-[2687093] sabrina_devil[2696209]
|
// @author Woohoo-[2687093] sabrina_devil[2696209]
|
||||||
// @match https://www.torn.com/*
|
// @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) {
|
function getTaskHint(task_name) {
|
||||||
task_name = task_name.toLowerCase().replaceAll(' ', '_').replaceAll(/[,:]/, '');
|
task_name = task_name.toLowerCase().replaceAll(' ', '_').replaceAll(',', '');
|
||||||
if (!missionDict._taskHint[task_name]) return '暂无,请联系开发者';
|
if (!missionDict._taskHint[task_name]) return '暂无,请联系开发者';
|
||||||
const task = missionDict._taskHint[task_name].task || null;
|
const task = missionDict._taskHint[task_name].task || null;
|
||||||
const hint = missionDict._taskHint[task_name].hint || null;
|
const hint = missionDict._taskHint[task_name].hint || null;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user