overpy 9.5.8 → 9.5.10
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.
- package/overpy.js +45 -3
- package/package.json +1 -1
package/overpy.js
CHANGED
|
@@ -20203,6 +20203,7 @@ var customGameSettingsSchema = (
|
|
|
20203
20203
|
"pharah",
|
|
20204
20204
|
"reinhardt",
|
|
20205
20205
|
"roadhog",
|
|
20206
|
+
"sierra",
|
|
20206
20207
|
"sigma",
|
|
20207
20208
|
"sojourn",
|
|
20208
20209
|
"soldier",
|
|
@@ -20248,6 +20249,7 @@ var customGameSettingsSchema = (
|
|
|
20248
20249
|
"pharah",
|
|
20249
20250
|
"reinhardt",
|
|
20250
20251
|
"roadhog",
|
|
20252
|
+
"sierra",
|
|
20251
20253
|
"sigma",
|
|
20252
20254
|
"soldier",
|
|
20253
20255
|
"sombra",
|
|
@@ -21993,6 +21995,18 @@ var customGameSettingsSchema = (
|
|
|
21993
21995
|
}
|
|
21994
21996
|
}
|
|
21995
21997
|
},
|
|
21998
|
+
"sierra": {
|
|
21999
|
+
"values": {
|
|
22000
|
+
"ability2Kb%": {
|
|
22001
|
+
"values": "__percent__",
|
|
22002
|
+
"min": 0,
|
|
22003
|
+
"max": 400,
|
|
22004
|
+
"default": 100,
|
|
22005
|
+
"en-US": "Tremor Charge Knockback Scalar",
|
|
22006
|
+
"zh-CN": "\u9707\u5730\u624B\u96F7\u51FB\u9000\u500D\u7387"
|
|
22007
|
+
}
|
|
22008
|
+
}
|
|
22009
|
+
},
|
|
21996
22010
|
"sigma": {
|
|
21997
22011
|
"values": {
|
|
21998
22012
|
"ability2Kb%": {
|
|
@@ -40404,8 +40418,8 @@ var gamemodeKw = (
|
|
|
40404
40418
|
"zh-CN": "\u96EA\u7403\u6B7B\u6597",
|
|
40405
40419
|
"zh-TW": "\u96EA\u7403\u6B7B\u9B25\u5927\u4F5C\u6230"
|
|
40406
40420
|
},
|
|
40407
|
-
"
|
|
40408
|
-
"en-US": "Stadium",
|
|
40421
|
+
"stadiumPracticeRange": {
|
|
40422
|
+
"en-US": "Stadium Practice Range",
|
|
40409
40423
|
"zh-CN": "\u51B3\u6597\u9886\u57DF"
|
|
40410
40424
|
},
|
|
40411
40425
|
"tdm": {
|
|
@@ -42815,6 +42829,26 @@ var heroKw = (
|
|
|
42815
42829
|
"pt-BR": "Roadhog",
|
|
42816
42830
|
"tr-TR": "Roadhog"
|
|
42817
42831
|
},
|
|
42832
|
+
"sierra": {
|
|
42833
|
+
"secondaryFire": {
|
|
42834
|
+
"en-US": "Tracking Shot",
|
|
42835
|
+
"zh-CN": "\u8FFD\u8E2A\u5F39"
|
|
42836
|
+
},
|
|
42837
|
+
"ability1": {
|
|
42838
|
+
"en-US": "Anchor Drone",
|
|
42839
|
+
"zh-CN": "\u951A\u70B9\u65E0\u4EBA\u673A"
|
|
42840
|
+
},
|
|
42841
|
+
"ability2": {
|
|
42842
|
+
"en-US": "Tremor Charge",
|
|
42843
|
+
"zh-CN": "\u9707\u5730\u624B\u96F7"
|
|
42844
|
+
},
|
|
42845
|
+
"ultimate": {
|
|
42846
|
+
"en-US": "Trailblazer",
|
|
42847
|
+
"zh-CN": "\u5F00\u8DEF\u5148\u950B"
|
|
42848
|
+
},
|
|
42849
|
+
"en-US": "Sierra",
|
|
42850
|
+
"zh-CN": "\u897F\u62C9"
|
|
42851
|
+
},
|
|
42818
42852
|
"sigma": {
|
|
42819
42853
|
"guid": "000000009E9E",
|
|
42820
42854
|
"secondaryFire": {
|
|
@@ -44768,6 +44802,13 @@ astParsingFunctions.__equals__ = function(content) {
|
|
|
44768
44802
|
content.args[0].name = "__getCurrentMap__";
|
|
44769
44803
|
}
|
|
44770
44804
|
}
|
|
44805
|
+
if (content.args[1].name === "getCurrentMap" && content.args[0].name === "__map__") {
|
|
44806
|
+
if (["COLOSSEO", "ESPERANCA", "SAMOA"].includes(content.args[0].args[0].name)) {
|
|
44807
|
+
return parseOpyMacro(`"{}".format(__getCurrentMap__()) == "{}".format(Map.${content.args[0].args[0].name})`, [], []);
|
|
44808
|
+
} else {
|
|
44809
|
+
content.args[1].name = "__getCurrentMap__";
|
|
44810
|
+
}
|
|
44811
|
+
}
|
|
44771
44812
|
return content;
|
|
44772
44813
|
};
|
|
44773
44814
|
|
|
@@ -47057,7 +47098,7 @@ astParsingFunctions.getClosestPlayer = function(content) {
|
|
|
47057
47098
|
|
|
47058
47099
|
// src/compiler/functions/getCurrentMap.ts
|
|
47059
47100
|
astParsingFunctions.getCurrentMap = function(content) {
|
|
47060
|
-
if (content.parent?.name === "__equals__" && content.parent.args[1].name === "__map__") {
|
|
47101
|
+
if (content.parent?.name === "__equals__" && (content.parent.args[0].name === "__map__" || content.parent.args[1].name === "__map__")) {
|
|
47061
47102
|
return content;
|
|
47062
47103
|
}
|
|
47063
47104
|
if (usedMaps.has("colosseo") || usedMaps.has("esperanca") || usedMaps.has("samoa")) {
|
|
@@ -67932,6 +67973,7 @@ var Overwatch2Heroes = /* @__PURE__ */ ((Overwatch2Heroes3) => {
|
|
|
67932
67973
|
Overwatch2Heroes3["reaper"] = "reaper";
|
|
67933
67974
|
Overwatch2Heroes3["reinhardt"] = "reinhardt";
|
|
67934
67975
|
Overwatch2Heroes3["roadhog"] = "roadhog";
|
|
67976
|
+
Overwatch2Heroes3["sierra"] = "sierra";
|
|
67935
67977
|
Overwatch2Heroes3["sigma"] = "sigma";
|
|
67936
67978
|
Overwatch2Heroes3["sojourn"] = "sojourn";
|
|
67937
67979
|
Overwatch2Heroes3["soldier76"] = "soldier";
|
package/package.json
CHANGED