hoshimi-venus 0.3.5 → 0.4.0
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/out/concert/partial/f_determine_act_skill_privilege.js +10 -1
- package/out/concert/partial/f_determine_act_skill_privilege.js.map +1 -1
- package/out/concert/partial/perform_skill.js +8 -0
- package/out/concert/partial/perform_skill.js.map +1 -1
- package/out/database/GvgQuest.json +12 -12
- package/out/index.d.ts +2 -2
- package/out/index.js +2 -2
- package/out/index.js.map +1 -1
- package/out/satomi/live.d.ts +2 -1
- package/out/satomi/live.js +2 -1
- package/out/satomi/live.js.map +1 -1
- package/out/types/concert_types.d.ts +2 -0
- package/out/types/trans_types.d.ts +5 -0
- package/package.json +1 -1
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const proto_enum_1 = require("../../types/proto/proto_enum");
|
4
4
|
const calc_utils_1 = require("../../utils/calc_utils");
|
5
5
|
function determineActSkillPrivilege() {
|
6
|
-
|
6
|
+
var _a;
|
7
|
+
if (this.actables.length < 1) {
|
7
8
|
return;
|
8
9
|
}
|
9
10
|
const laneType = this.live.quest.getLaneType(this.current.actPosition);
|
@@ -17,6 +18,14 @@ function determineActSkillPrivilege() {
|
|
17
18
|
});
|
18
19
|
// sort privileges (higher first)
|
19
20
|
privileges.sort((a, b) => b.power - a.power);
|
21
|
+
(_a = this.live.customNotes) === null || _a === void 0 ? void 0 : _a.forEach(customNote => {
|
22
|
+
if (customNote.sequence === this.current.sequence
|
23
|
+
&& customNote.privilege === "opponent") {
|
24
|
+
this.actables = this.actables.filter(x => x.index > 5);
|
25
|
+
this.current.failureFlag = proto_enum_1.SkillFailureType.OpponentActivation;
|
26
|
+
return;
|
27
|
+
}
|
28
|
+
});
|
20
29
|
// if opponent wins, set failure flag
|
21
30
|
if (privileges[0].index > 5) {
|
22
31
|
this.current.failureFlag = proto_enum_1.SkillFailureType.OpponentActivation;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"f_determine_act_skill_privilege.js","sourceRoot":"","sources":["../../../concert/partial/f_determine_act_skill_privilege.ts"],"names":[],"mappings":";;AAAA,6DAAgE;AAChE,uDAA+D;AAG/D,SAAwB,0BAA0B
|
1
|
+
{"version":3,"file":"f_determine_act_skill_privilege.js","sourceRoot":"","sources":["../../../concert/partial/f_determine_act_skill_privilege.ts"],"names":[],"mappings":";;AAAA,6DAAgE;AAChE,uDAA+D;AAG/D,SAAwB,0BAA0B;;IAGhD,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;QAC5B,OAAM;KACP;IACD,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAA;IACtE,MAAM,UAAU,GAGV,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;QACpC,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QACzC,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAA;QAClD,OAAO;YACL,KAAK,EAAE,KAAK;YACZ,KAAK,EAAE,IAAA,kCAAqB,EAAC,QAAQ,EAAE,IAAI,EAAE,QAAS,CAAC;SACxD,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,iCAAiC;IACjC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAA;IAE5C,MAAA,IAAI,CAAC,IAAI,CAAC,WAAW,0CAAE,OAAO,CAAC,UAAU,CAAC,EAAE;QAC1C,IAAI,UAAU,CAAC,QAAQ,KAAK,IAAI,CAAC,OAAO,CAAC,QAAQ;eAC5C,UAAU,CAAC,SAAS,KAAK,UAAU,EACtC;YACA,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAA;YACtD,IAAI,CAAC,OAAO,CAAC,WAAW,GAAG,6BAAgB,CAAC,kBAAkB,CAAA;YAC9D,OAAM;SACP;IACH,CAAC,CAAC,CAAA;IAEF,qCAAqC;IACrC,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,EAAE;QAC3B,IAAI,CAAC,OAAO,CAAC,WAAW,GAAG,6BAAgB,CAAC,kBAAkB,CAAA;KAC/D;IAED,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,KAAK,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;IAC1E,kCAAkC;AACpC,CAAC;AAvCD,6CAuCC"}
|
@@ -37,6 +37,14 @@ const handle_combo_1 = require("./handle_combo");
|
|
37
37
|
* @returns A number which refers to which side performed this skill, or Zero(failed).
|
38
38
|
*/
|
39
39
|
function performASPSkill(actables) {
|
40
|
+
var _a;
|
41
|
+
(_a = this.live.customNotes) === null || _a === void 0 ? void 0 : _a.forEach(customNote => {
|
42
|
+
if (customNote.sequence === this.current.sequence) {
|
43
|
+
if (customNote.privilege === "opponent" && !this.live.isBattle) {
|
44
|
+
return handle_combo_1.ComboType.AddOpponent;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
});
|
40
48
|
if (actables.length) {
|
41
49
|
if (actables[0].skills.length) {
|
42
50
|
const { index, skills } = actables[0];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"perform_skill.js","sourceRoot":"","sources":["../../../concert/partial/perform_skill.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,6DAAoF;AAEpF,6DAA+C;AAC/C,yDAA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xC,KAAK,EAAE,KAAK;YACZ,QAAQ,EAAE,QAAQ;YAClB,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,IAAI;YAClC,aAAa,EAAE,aAAa;YAC5B,KAAK,EAAE,KAAK;SACb,CAAC,CAAA;KACH,CAAC,kCAAkC;IAEpC,kBAAkB;IAClB,SAAS,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAA;IACnC,IAAI,SAAS,CAAC,WAAW,GAAG,CAAC,EAAE;QAC7B,SAAS,CAAC,WAAW,EAAE,CAAA;KACxB;IACD,8BAA8B;IAC9B,IAAI,KAAK,CAAC,YAAY,KAAK,8BAAiB,CAAC,OAAO,EAAE;QACpD,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;YACxB,SAAS,EAAE,SAAS;YACpB,UAAU,EAAE,UAAU;SACvB,CAAC,CAAA;KACH;IAED,OAAO,QAAQ,CAAA;AACjB,CAAC;AAzJD,sCAyJC"}
|
@@ -1,26 +1,26 @@
|
|
1
1
|
[
|
2
2
|
{
|
3
|
-
"activeSkillWeightPermil":
|
4
|
-
"beatDanceWeightPermil":
|
3
|
+
"activeSkillWeightPermil": 2500,
|
4
|
+
"beatDanceWeightPermil": 600,
|
5
5
|
"beatVisualWeightPermil": 200,
|
6
|
-
"beatVocalWeightPermil":
|
7
|
-
"id": "gvg-quest-
|
8
|
-
"liveBonusGroupId": "live-bonus-group-
|
6
|
+
"beatVocalWeightPermil": 200,
|
7
|
+
"id": "gvg-quest-019",
|
8
|
+
"liveBonusGroupId": "live-bonus-group-082",
|
9
9
|
"liveSkipType": 1,
|
10
|
-
"maxCapacity":
|
10
|
+
"maxCapacity": 17500,
|
11
11
|
"mentalThreshold": 50,
|
12
12
|
"musicChartPatternId": "chart-liz-009-001",
|
13
13
|
"musicId": "music-liz-009",
|
14
|
-
"position1AttributeType":
|
15
|
-
"position2AttributeType":
|
16
|
-
"position3AttributeType":
|
14
|
+
"position1AttributeType": 1,
|
15
|
+
"position2AttributeType": 1,
|
16
|
+
"position3AttributeType": 1,
|
17
17
|
"position4AttributeType": 1,
|
18
18
|
"position5AttributeType": 1,
|
19
19
|
"questAudienceAdvantageId": "quest_audience_advantage_1",
|
20
20
|
"questPressureId": "quest_pressure-2",
|
21
|
-
"skillStaminaWeightPermil":
|
22
|
-
"specialSkillWeightPermil":
|
23
|
-
"stageId": "stage-live-dome-
|
21
|
+
"skillStaminaWeightPermil": 2000,
|
22
|
+
"specialSkillWeightPermil": 1000,
|
23
|
+
"stageId": "stage-live-dome-03-00",
|
24
24
|
"staminaRecoveryWeightPermil": 1000
|
25
25
|
}
|
26
26
|
]
|
package/out/index.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
import { Live } from "./types/concert_types";
|
2
|
-
import { TransDeck } from "./types/trans_types";
|
3
|
-
export default function simulate(questId: string, transDeck: TransDeck, transOpntDeck?: TransDeck): Live | string;
|
2
|
+
import { CustomNote, TransDeck } from "./types/trans_types";
|
3
|
+
export default function simulate(questId: string, transDeck: TransDeck, transOpntDeck?: TransDeck, customNodes?: CustomNote[]): Live | string;
|
package/out/index.js
CHANGED
@@ -4,13 +4,13 @@ const concert_1 = require("./concert/concert");
|
|
4
4
|
const quest_repository_1 = require("./db/repository/quest_repository");
|
5
5
|
const deck_1 = require("./satomi/deck");
|
6
6
|
const live_1 = require("./satomi/live");
|
7
|
-
function simulate(questId, transDeck, transOpntDeck) {
|
7
|
+
function simulate(questId, transDeck, transOpntDeck, customNodes) {
|
8
8
|
let quest = (0, quest_repository_1.getQuest)(questId);
|
9
9
|
if (!quest) {
|
10
10
|
return "Cannot find the specified quest.";
|
11
11
|
}
|
12
12
|
let liveDeck = (0, deck_1.getLiveDeck)(transDeck, transOpntDeck);
|
13
|
-
let live = (0, live_1.getLive)(quest, liveDeck, liveDeck.isBattle);
|
13
|
+
let live = (0, live_1.getLive)(quest, liveDeck, liveDeck.isBattle, customNodes);
|
14
14
|
new concert_1.Concert(live).go();
|
15
15
|
return live;
|
16
16
|
}
|
package/out/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;AAAA,+CAA4C;AAC5C,uEAA4D;AAC5D,wCAA4C;AAC5C,wCAAwC;AAIxC,SAAwB,QAAQ,CAC9B,OAAe,EACf,SAAoB,EACpB,aAAyB;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;AAAA,+CAA4C;AAC5C,uEAA4D;AAC5D,wCAA4C;AAC5C,wCAAwC;AAIxC,SAAwB,QAAQ,CAC9B,OAAe,EACf,SAAoB,EACpB,aAAyB,EACzB,WAA0B;IAE1B,IAAI,KAAK,GAAG,IAAA,2BAAQ,EAAC,OAAO,CAAC,CAAA;IAC7B,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,kCAAkC,CAAA;KAC1C;IACD,IAAI,QAAQ,GAAG,IAAA,kBAAW,EAAC,SAAS,EAAE,aAAa,CAAC,CAAA;IACpD,IAAI,IAAI,GAAG,IAAA,cAAO,EAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAA;IACnE,IAAI,iBAAO,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,CAAA;IACtB,OAAO,IAAI,CAAA;AACb,CAAC;AAdD,2BAcC"}
|
package/out/satomi/live.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { LiveDeck } from "../types/card_types";
|
2
2
|
import { Live } from "../types/concert_types";
|
3
|
+
import { CustomNote } from "../types/trans_types";
|
3
4
|
import { WapQuest } from "../types/wap/quest_waps";
|
4
|
-
export declare function getLive(quest: WapQuest, deck: LiveDeck, isBattle: boolean): Live;
|
5
|
+
export declare function getLive(quest: WapQuest, deck: LiveDeck, isBattle: boolean, customNotes?: CustomNote[]): Live;
|
package/out/satomi/live.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.getLive = void 0;
|
4
|
-
function getLive(quest, deck, isBattle) {
|
4
|
+
function getLive(quest, deck, isBattle, customNotes) {
|
5
5
|
// TODO: implement exSkills
|
6
6
|
return {
|
7
7
|
isBattle: isBattle,
|
@@ -9,6 +9,7 @@ function getLive(quest, deck, isBattle) {
|
|
9
9
|
liveDeck: deck,
|
10
10
|
charts: [],
|
11
11
|
snapshot: [],
|
12
|
+
customNotes: customNotes,
|
12
13
|
};
|
13
14
|
}
|
14
15
|
exports.getLive = getLive;
|
package/out/satomi/live.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"live.js","sourceRoot":"","sources":["../../satomi/live.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"live.js","sourceRoot":"","sources":["../../satomi/live.ts"],"names":[],"mappings":";;;AAKA,SAAgB,OAAO,CACrB,KAAe,EACf,IAAc,EACd,QAAiB,EACjB,WAA0B;IAE1B,2BAA2B;IAC3B,OAAO;QACL,QAAQ,EAAE,QAAQ;QAClB,KAAK,EAAE,KAAK;QACZ,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,EAAE;QACV,QAAQ,EAAE,EAAE;QACZ,WAAW,EAAE,WAAW;KACzB,CAAA;AACH,CAAC;AAfD,0BAeC"}
|
@@ -3,12 +3,14 @@ import { LiveDeck } from "./card_types";
|
|
3
3
|
import { WapLiveBeat } from "./wap/misc_waps";
|
4
4
|
import { WapQuest } from "./wap/quest_waps";
|
5
5
|
import { WapSkillLevel } from "./wap/skill_waps";
|
6
|
+
import { CustomNote } from "./trans_types";
|
6
7
|
export declare type Live = {
|
7
8
|
charts: Chart[];
|
8
9
|
snapshot: Chart[];
|
9
10
|
quest: WapQuest;
|
10
11
|
liveDeck: LiveDeck;
|
11
12
|
isBattle: boolean;
|
13
|
+
customNotes?: CustomNote[];
|
12
14
|
};
|
13
15
|
export declare type Chart = {
|
14
16
|
chartType: MusicChartType;
|