Questify: Fix patch. (#823)

This commit is contained in:
Etorix 2026-02-20 22:47:36 -08:00 • committed by GitHub
parent dad036fb98
commit abda4a688c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
find: '"sm",preClickCallback:',
find: '"primary",preClickCallback:',
replacement: [
{
match: /(?=let{quest:)/,
@ -1626,11 +1618,19 @@ export default definePlugin({
replace: "!$self.processQuestForAutoComplete(arguments[0].quest)&&($1)"
},
{
match: /(?<=,text:)(?=\i)/,
replace: "questifyText??"
match: /(?<=,text:)(\i),icon:\i/,
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.
// Triggers if a Quest has already been started but was interrupted, such as by a reload.