Optimize slowest patches

This commit is contained in:
Nuckyz 2024-05-23 21:48:12 -03:00
parent 1866e4d379
commit 8f59cd8a1a
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
14 changed files with 33 additions and 33 deletions

View file

@ -42,8 +42,8 @@ export default definePlugin({
{
find: ",BURST_REACTION_EFFECT_PLAY",
replacement: {
match: /(?<=BURST_REACTION_EFFECT_PLAY:\i=>{.{50,100})(\i\(\i,\i\))>=\d+/,
replace: "!$self.shouldPlayBurstReaction($1)"
match: /(BURST_REACTION_EFFECT_PLAY:\i=>{.{50,100})(\i\(\i,\i\))>=\d+/,
replace: "$1!$self.shouldPlayBurstReaction($2)"
}
},
{