overpy 9.7.3 → 9.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/overpy.js +45 -10
  2. package/package.json +1 -1
package/overpy.js CHANGED
@@ -17211,16 +17211,24 @@ var heroKw = (
17211
17211
  "tr-TR": "Roadhog"
17212
17212
  },
17213
17213
  "shion": {
17214
+ "secondaryFire": {
17215
+ "en-US": "Execution",
17216
+ "zh-CN": "\u4EA4\u53C9\u67AA\u51B3"
17217
+ },
17214
17218
  "ability1": {
17215
- "en-US": "Evade"
17219
+ "en-US": "Evade",
17220
+ "zh-CN": "\u673A\u52A8\u95EA\u907F"
17216
17221
  },
17217
17222
  "ability2": {
17218
- "en-US": "Joyride"
17223
+ "en-US": "Joyride",
17224
+ "zh-CN": "\u7EB5\u60C5\u72C2\u98D9"
17219
17225
  },
17220
17226
  "ultimate": {
17221
- "en-US": "Satsuriku Spree"
17227
+ "en-US": "Satsuriku Spree",
17228
+ "zh-CN": "\u6740\u622E\u72C2\u5BB4"
17222
17229
  },
17223
- "en-US": "Shion"
17230
+ "en-US": "Shion",
17231
+ "zh-CN": "\u6B7B\u6028"
17224
17232
  },
17225
17233
  "sierra": {
17226
17234
  "secondaryFire": {
@@ -42160,7 +42168,8 @@ var customGameSettingsSchema = (
42160
42168
  "winston",
42161
42169
  "wreckingBall",
42162
42170
  "ramattra",
42163
- "venture"
42171
+ "venture",
42172
+ "shion"
42164
42173
  ],
42165
42174
  "guid": "000000007672",
42166
42175
  "en-US": "Infinite Ultimate Duration",
@@ -42836,7 +42845,8 @@ var customGameSettingsSchema = (
42836
42845
  "ramattra",
42837
42846
  "lifeweaver",
42838
42847
  "venture",
42839
- "juno"
42848
+ "juno",
42849
+ "shion"
42840
42850
  ],
42841
42851
  "en-US": "%1$s Cooldown Time",
42842
42852
  "de-DE": "%1$s \u2013 Abklingzeit",
@@ -44361,6 +44371,30 @@ var customGameSettingsSchema = (
44361
44371
  }
44362
44372
  }
44363
44373
  },
44374
+ "shion": {
44375
+ "values": {
44376
+ "ability1Distance%": {
44377
+ "values": "__percent__",
44378
+ "en-US": "Evade Distance Scalar",
44379
+ "zh-CN": "\u673A\u52A8\u95EA\u907F\u8DDD\u79BB\u500D\u7387"
44380
+ },
44381
+ "ability2Kb%": {
44382
+ "values": "__percent__",
44383
+ "en-US": "Joyride Knockback Scalar",
44384
+ "zh-CN": "\u7EB5\u60C5\u72C2\u98D9\u51FB\u9000\u500D\u7387"
44385
+ },
44386
+ "ability2Duration%": {
44387
+ "values": "__percent__",
44388
+ "en-US": "Joyride Duration Scalar",
44389
+ "zh-CN": "\u7EB5\u60C5\u72C2\u98D9\u6301\u7EED\u65F6\u95F4\u500D\u7387"
44390
+ },
44391
+ "ability2Speed%": {
44392
+ "values": "__percent__",
44393
+ "en-US": "Joyride Speed Scalar",
44394
+ "zh-CN": "\u7EB5\u60C5\u72C2\u98D9\u901F\u5EA6\u500D\u7387"
44395
+ }
44396
+ }
44397
+ },
44364
44398
  "sierra": {
44365
44399
  "values": {
44366
44400
  "ability2Kb%": {
@@ -68725,8 +68759,8 @@ astParsingFunctions.getCurrentMap = function(content, compiler) {
68725
68759
  if (content.parent?.name === "__equals__" && (content.parent.args[0].name === "__map__" || content.parent.args[1].name === "__map__")) {
68726
68760
  return content;
68727
68761
  }
68728
- if (compiler.usedMaps.has("colosseo") || compiler.usedMaps.has("esperanca") || compiler.usedMaps.has("samoa")) {
68729
- let buggedUsedMaps = ["colosseo", "esperanca", "samoa"].filter((m) => compiler.usedMaps.has(m));
68762
+ if (compiler.usedMaps.has("colosseo") || compiler.usedMaps.has("esperanca") || compiler.usedMaps.has("samoa") || compiler.usedMaps.has("throne_of_anubis")) {
68763
+ let buggedUsedMaps = ["colosseo", "esperanca", "samoa", "throne_of_anubis"].filter((m) => compiler.usedMaps.has(m));
68730
68764
  return compiler.parseOpyMacro(`[${buggedUsedMaps.map((m) => "Map." + m.toUpperCase()).join(", ")}, __getCurrentMap__()].filter(lambda x: "{}".format(__getCurrentMap__()) == x.split([]))[0]`, [], []);
68731
68765
  }
68732
68766
  return compiler.Ast("__getCurrentMap__");
@@ -70153,7 +70187,7 @@ OverPyCompiler.prototype.astToWs = function(content) {
70153
70187
  } else if (this.replacementForEmptyString === "variable") {
70154
70188
  content.args[i] = this.Ast("__globalVar__", [this.Ast("__emptyString__", [], [], "GlobalVariable")]);
70155
70189
  } else {
70156
- content.args[i] = this.Ast(".charAt", [this.getAstForEmptyArray(), this.getAstForNull()]);
70190
+ content.args[i] = this.Ast(".charAt", [this.getAstForEmptyArray(), this.getAstForFalse()]);
70157
70191
  }
70158
70192
  }
70159
70193
  }
@@ -70901,7 +70935,8 @@ rule "Disable inspector":
70901
70935
  translatedStrings: compiler.translatedStrings,
70902
70936
  writeToOutputFile: compiler.writeToOutputFile,
70903
70937
  mainFileName: compiler.mainFileName,
70904
- rootPath: compiler.rootPath
70938
+ rootPath: compiler.rootPath,
70939
+ importedFiles: compiler.importedFiles
70905
70940
  };
70906
70941
  }
70907
70942
  OverPyCompiler.prototype.compileRules = function(astRules) {
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://github.com/Zezombye/overpy"
8
8
  },
9
9
  "description": "High-level language for the Overwatch Workshop, with decompilation and compilation.",
10
- "version": "9.7.3",
10
+ "version": "9.7.5",
11
11
  "readme": "README.md",
12
12
  "keywords": [
13
13
  "overpy",