bnstooltips 1.9.0 → 1.9.2
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/build/Utilities/ISkill.d.ts +10 -4
- package/build/index.es.js +42 -10
- package/build/index.es.js.map +1 -1
- package/build/index.js +42 -10
- package/build/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -14,9 +14,15 @@ export interface Skill {
|
|
|
14
14
|
EqualizedPvp: string;
|
|
15
15
|
Pvp: string;
|
|
16
16
|
BreakValue: string;
|
|
17
|
+
GcdGroup: number;
|
|
18
|
+
CdRecycle: {
|
|
19
|
+
Item1: string;
|
|
20
|
+
Item2: number;
|
|
21
|
+
};
|
|
17
22
|
RealCastCondition: RealCastCondition;
|
|
18
23
|
}
|
|
19
24
|
export interface RealCastCondition {
|
|
25
|
+
Id: number;
|
|
20
26
|
Stance: string;
|
|
21
27
|
RequiredWeaponType: string;
|
|
22
28
|
UnnecessaryAcquired: boolean;
|
|
@@ -24,12 +30,12 @@ export interface RealCastCondition {
|
|
|
24
30
|
PrevComboIds: number[];
|
|
25
31
|
NoFlagsAndFilters: boolean;
|
|
26
32
|
SuccessRecycles: {
|
|
27
|
-
|
|
28
|
-
|
|
33
|
+
Item1: string;
|
|
34
|
+
Item2: number;
|
|
29
35
|
}[];
|
|
30
36
|
FailRecycles: {
|
|
31
|
-
|
|
32
|
-
|
|
37
|
+
Item1: string;
|
|
38
|
+
Item2: number;
|
|
33
39
|
}[];
|
|
34
40
|
}
|
|
35
41
|
export interface Tooltip {
|
package/build/index.es.js
CHANGED
|
@@ -7036,13 +7036,34 @@ function AddStances(subInfoGroups, skill) {
|
|
|
7036
7036
|
}
|
|
7037
7037
|
function AddIds(subInfoGroups, skill) {
|
|
7038
7038
|
subInfoGroups.push({
|
|
7039
|
+
title: "",
|
|
7040
|
+
texts: [React.createElement("hr", null)]
|
|
7041
|
+
});
|
|
7042
|
+
var subInfoGroup = {
|
|
7039
7043
|
title: "Debug info",
|
|
7040
|
-
texts: [
|
|
7041
|
-
|
|
7042
|
-
|
|
7044
|
+
texts: [
|
|
7045
|
+
React.createElement("div", null,
|
|
7046
|
+
"Id: ",
|
|
7047
|
+
React.createElement(ColoredText, { text: skill.ID.toString() })),
|
|
7048
|
+
React.createElement("div", null,
|
|
7043
7049
|
"Variation: ",
|
|
7044
|
-
skill.Variation)
|
|
7045
|
-
|
|
7050
|
+
React.createElement(ColoredText, { text: skill.Variation.toString() })),
|
|
7051
|
+
],
|
|
7052
|
+
};
|
|
7053
|
+
if (skill.GcdGroup != null) {
|
|
7054
|
+
subInfoGroup.texts.push(React.createElement("div", null,
|
|
7055
|
+
"Gcd group: ",
|
|
7056
|
+
React.createElement(ColoredText, { text: skill.GcdGroup.toString() })));
|
|
7057
|
+
}
|
|
7058
|
+
if (skill.CdRecycle != null) {
|
|
7059
|
+
subInfoGroup.texts.push(React.createElement("div", null,
|
|
7060
|
+
"Cd group: ",
|
|
7061
|
+
React.createElement(ColoredText, { text: skill.CdRecycle.Item1.toString() })));
|
|
7062
|
+
subInfoGroup.texts.push(React.createElement("div", null,
|
|
7063
|
+
"Cd id: ",
|
|
7064
|
+
React.createElement(ColoredText, { text: skill.CdRecycle.Item2.toString() })));
|
|
7065
|
+
}
|
|
7066
|
+
subInfoGroups.push(subInfoGroup);
|
|
7046
7067
|
}
|
|
7047
7068
|
function AddRealCastConds(subInfoGroups, skill) {
|
|
7048
7069
|
var realCastCondition = skill.RealCastCondition;
|
|
@@ -7051,14 +7072,17 @@ function AddRealCastConds(subInfoGroups, skill) {
|
|
|
7051
7072
|
var subInfoGroup = {
|
|
7052
7073
|
title: "Real cast conditions",
|
|
7053
7074
|
texts: [
|
|
7075
|
+
React.createElement("div", null,
|
|
7076
|
+
"Cast condition id: ",
|
|
7077
|
+
React.createElement(ColoredText, { text: realCastCondition.Id.toString() })),
|
|
7054
7078
|
React.createElement("div", null,
|
|
7055
7079
|
"Stance: ",
|
|
7056
7080
|
React.createElement(ColoredText, { text: realCastCondition.Stance })),
|
|
7057
7081
|
React.createElement("div", null,
|
|
7058
|
-
"Required
|
|
7082
|
+
"Required weapon: ",
|
|
7059
7083
|
React.createElement(ColoredText, { text: realCastCondition.RequiredWeaponType })),
|
|
7060
7084
|
React.createElement("div", null,
|
|
7061
|
-
"
|
|
7085
|
+
"Move type: ",
|
|
7062
7086
|
React.createElement(ColoredText, { text: realCastCondition.MoveType }))
|
|
7063
7087
|
],
|
|
7064
7088
|
};
|
|
@@ -7077,7 +7101,11 @@ function AddRealCastConds(subInfoGroups, skill) {
|
|
|
7077
7101
|
texts: []
|
|
7078
7102
|
};
|
|
7079
7103
|
realCastCondition.SuccessRecycles.forEach(function (recycle) {
|
|
7080
|
-
subInfoGroup3.texts.push("
|
|
7104
|
+
subInfoGroup3.texts.push(React.createElement("div", null,
|
|
7105
|
+
"Group: ",
|
|
7106
|
+
React.createElement(ColoredText, { text: recycle.Item1 }),
|
|
7107
|
+
", Id: ",
|
|
7108
|
+
React.createElement(ColoredText, { text: recycle.Item2.toString() })));
|
|
7081
7109
|
});
|
|
7082
7110
|
}
|
|
7083
7111
|
if (realCastCondition.FailRecycles != null && realCastCondition.FailRecycles.length > 0) {
|
|
@@ -7086,12 +7114,16 @@ function AddRealCastConds(subInfoGroups, skill) {
|
|
|
7086
7114
|
texts: []
|
|
7087
7115
|
};
|
|
7088
7116
|
realCastCondition.FailRecycles.forEach(function (recycle) {
|
|
7089
|
-
subInfoGroup4.texts.push("
|
|
7117
|
+
subInfoGroup4.texts.push(React.createElement("div", null,
|
|
7118
|
+
"Group: ",
|
|
7119
|
+
React.createElement(ColoredText, { text: recycle.Item1 }),
|
|
7120
|
+
", Id: ",
|
|
7121
|
+
React.createElement(ColoredText, { text: recycle.Item2.toString() })));
|
|
7090
7122
|
});
|
|
7091
7123
|
}
|
|
7092
7124
|
if (realCastCondition.UnnecessaryAcquired) {
|
|
7093
7125
|
subInfoGroup.texts.push(React.createElement("div", null,
|
|
7094
|
-
React.createElement(ColoredText, { text: "UnnecessaryAcquired" })));
|
|
7126
|
+
React.createElement(ColoredText, { text: "UnnecessaryAcquired true" })));
|
|
7095
7127
|
}
|
|
7096
7128
|
if (realCastCondition.NoFlagsAndFilters) {
|
|
7097
7129
|
subInfoGroup.texts.push(React.createElement("div", null,
|