Skip to content

Commit

Permalink
Merge pull request #624 from DestinyItemManager/hellion
Browse files Browse the repository at this point in the history
Regex cleanup for exotic synergy
  • Loading branch information
delphiactual authored Jun 7, 2024
2 parents 6100d11 + d87d08b commit a082641
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 18 deletions.
18 changes: 10 additions & 8 deletions data/exotic-synergies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const synergies = {
PlugCategoryHashes.HunterArcMelee,
PlugCategoryHashes.WarlockArcMelee,
]),
verbs: /blind(s)?\b|jolt(s)?/,
verbs: /blind(s)?\b|jolt/,
misc: /arc (bolt|ability|soul|super)|ionic traces/,
keywords: {
exclude: /sentinel shield/,
Expand All @@ -30,10 +30,10 @@ export const synergies = {
PlugCategoryHashes.HunterSolarMelee,
PlugCategoryHashes.WarlockSolarMelee,
]),
verbs: /scorch(es)?/,
misc: /sunspot|solar (abilities|super)|sol invictus|kni(v|f)e(s)?|helion/,
verbs: /scorch/,
misc: /sunspot|solar (abilities|super)|sol invictus|kni(v|f)e(s)?|hellion/,
keywords: {
excludes: /solar final blows/,
exclude: /solar final blows(?! while standing in a sunspot)/,
},
},
void: {
Expand All @@ -45,8 +45,8 @@ export const synergies = {
PlugCategoryHashes.HunterVoidMelee,
PlugCategoryHashes.WarlockVoidMelee,
]),
verbs: /suppress(es)?|weaken(s)?/,
misc: /void super|smoke bomb|void-damage|devour|invisible|blink|void soul(s)?/,
verbs: /suppress|weaken/,
misc: /void( super|-damage| soul)|smoke bomb|devour|invisible|blink/,
keywords: {},
},
stasis: {
Expand All @@ -71,9 +71,11 @@ export const synergies = {
PlugCategoryHashes.HunterStrandMelee,
PlugCategoryHashes.WarlockStrandMelee,
]),
verbs: /sever(s)?\b|!(while you're midair )suspend(s)?|unravel(s)?/,
verbs: /sever(s)?\b|suspend|unravel/,
misc: /strand super|woven mail/,
keywords: {},
keywords: {
exclude: /while you're midair/,
},
},
} as Record<
string,
Expand Down
10 changes: 0 additions & 10 deletions output/exotic-synergy.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,6 @@
4
]
},
"1453120846": {
"damageType": [
3
]
},
"1467044898": {
"damageType": [
6
Expand Down Expand Up @@ -280,11 +275,6 @@
119041298
]
},
"2384488862": {
"damageType": [
3
]
},
"2415768376": {
"damageType": [
3
Expand Down

0 comments on commit a082641

Please sign in to comment.