Questify: Fix patch. (#823)
This commit is contained in:
parent
dad036fb98
commit
abda4a688c
1 changed files with 11 additions and 11 deletions
|
|
@ -1605,17 +1605,9 @@ export default definePlugin({
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
// Sets intervals to progress Video Quests in the background.
|
|
||||||
find: "CAPTCHA_FAILED:",
|
|
||||||
replacement: {
|
|
||||||
match: /(?<=SUCCESS:)(\i\({)/,
|
|
||||||
replace: "!$self.processQuestForAutoComplete(arguments[0])&&$1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
// Adds support for dev://experiment/2025-12-quest-cta-refactor-rollout
|
// Adds support for dev://experiment/2025-12-quest-cta-refactor-rollout
|
||||||
find: '"sm",preClickCallback:',
|
find: '"primary",preClickCallback:',
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
match: /(?=let{quest:)/,
|
match: /(?=let{quest:)/,
|
||||||
|
|
@ -1626,11 +1618,19 @@ export default definePlugin({
|
||||||
replace: "!$self.processQuestForAutoComplete(arguments[0].quest)&&($1)"
|
replace: "!$self.processQuestForAutoComplete(arguments[0].quest)&&($1)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
match: /(?<=,text:)(?=\i)/,
|
match: /(?<=,text:)(\i),icon:\i/,
|
||||||
replace: "questifyText??"
|
replace: "questifyText??$1"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
// Sets intervals to progress Video Quests in the background.
|
||||||
|
find: "CAPTCHA_FAILED:",
|
||||||
|
replacement: {
|
||||||
|
match: /(?<=SUCCESS:)(\i\({)/,
|
||||||
|
replace: "!$self.processQuestForAutoComplete(arguments[0])&&$1"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
// Sets intervals to progress Play Game Quests in the background.
|
// Sets intervals to progress Play Game Quests in the background.
|
||||||
// Triggers if a Quest has already been started but was interrupted, such as by a reload.
|
// Triggers if a Quest has already been started but was interrupted, such as by a reload.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue