hoshimi-venus 0.1.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/LICENSE +201 -0
- package/README.md +17 -0
- package/out/concert/concert.d.ts +69 -0
- package/out/concert/concert.js +161 -0
- package/out/concert/concert.js.map +1 -0
- package/out/concert/consts/chart_consts.d.ts +41 -0
- package/out/concert/consts/chart_consts.js +65 -0
- package/out/concert/consts/chart_consts.js.map +1 -0
- package/out/concert/consts/eff_grades.d.ts +1191 -0
- package/out/concert/consts/eff_grades.js +221 -0
- package/out/concert/consts/eff_grades.js.map +1 -0
- package/out/concert/consts/efficacy_list.d.ts +9 -0
- package/out/concert/consts/efficacy_list.js +50 -0
- package/out/concert/consts/efficacy_list.js.map +1 -0
- package/out/concert/efficacy_analyze.d.ts +11 -0
- package/out/concert/efficacy_analyze.js +82 -0
- package/out/concert/efficacy_analyze.js.map +1 -0
- package/out/concert/efficacy_proc.d.ts +0 -0
- package/out/concert/efficacy_proc.js +1 -0
- package/out/concert/efficacy_proc.js.map +1 -0
- package/out/concert/partial/a_migration.d.ts +2 -0
- package/out/concert/partial/a_migration.js +36 -0
- package/out/concert/partial/a_migration.js.map +1 -0
- package/out/concert/partial/actions/action.d.ts +24 -0
- package/out/concert/partial/actions/action.js +130 -0
- package/out/concert/partial/actions/action.js.map +1 -0
- package/out/concert/partial/actions/active_skill_chance_assignment.d.ts +2 -0
- package/out/concert/partial/actions/active_skill_chance_assignment.js +14 -0
- package/out/concert/partial/actions/active_skill_chance_assignment.js.map +1 -0
- package/out/concert/partial/actions/cool_time_increase.d.ts +4 -0
- package/out/concert/partial/actions/cool_time_increase.js +43 -0
- package/out/concert/partial/actions/cool_time_increase.js.map +1 -0
- package/out/concert/partial/actions/cool_time_reduction.d.ts +4 -0
- package/out/concert/partial/actions/cool_time_reduction.js +43 -0
- package/out/concert/partial/actions/cool_time_reduction.js.map +1 -0
- package/out/concert/partial/actions/dance_boost.d.ts +2 -0
- package/out/concert/partial/actions/dance_boost.js +35 -0
- package/out/concert/partial/actions/dance_boost.js.map +1 -0
- package/out/concert/partial/actions/dance_down.d.ts +2 -0
- package/out/concert/partial/actions/dance_down.js +35 -0
- package/out/concert/partial/actions/dance_down.js.map +1 -0
- package/out/concert/partial/actions/dance_up.d.ts +2 -0
- package/out/concert/partial/actions/dance_up.js +35 -0
- package/out/concert/partial/actions/dance_up.js.map +1 -0
- package/out/concert/partial/actions/fix_stamina_recovery.d.ts +2 -0
- package/out/concert/partial/actions/fix_stamina_recovery.js +35 -0
- package/out/concert/partial/actions/fix_stamina_recovery.js.map +1 -0
- package/out/concert/partial/actions/live_ability_cool_time_reduction.d.ts +2 -0
- package/out/concert/partial/actions/live_ability_cool_time_reduction.js +14 -0
- package/out/concert/partial/actions/live_ability_cool_time_reduction.js.map +1 -0
- package/out/concert/partial/actions/stamina_consumption.d.ts +2 -0
- package/out/concert/partial/actions/stamina_consumption.js +34 -0
- package/out/concert/partial/actions/stamina_consumption.js.map +1 -0
- package/out/concert/partial/actions/strength_effect_assignment.d.ts +2 -0
- package/out/concert/partial/actions/strength_effect_assignment.js +14 -0
- package/out/concert/partial/actions/strength_effect_assignment.js.map +1 -0
- package/out/concert/partial/actions/strength_effect_assignment_all.d.ts +2 -0
- package/out/concert/partial/actions/strength_effect_assignment_all.js +40 -0
- package/out/concert/partial/actions/strength_effect_assignment_all.js.map +1 -0
- package/out/concert/partial/actions/strength_effect_count_increase.d.ts +2 -0
- package/out/concert/partial/actions/strength_effect_count_increase.js +40 -0
- package/out/concert/partial/actions/strength_effect_count_increase.js.map +1 -0
- package/out/concert/partial/actions/strength_effect_erasing.d.ts +2 -0
- package/out/concert/partial/actions/strength_effect_erasing.js +41 -0
- package/out/concert/partial/actions/strength_effect_erasing.js.map +1 -0
- package/out/concert/partial/actions/strength_effect_erasing_all.d.ts +2 -0
- package/out/concert/partial/actions/strength_effect_erasing_all.js +34 -0
- package/out/concert/partial/actions/strength_effect_erasing_all.js.map +1 -0
- package/out/concert/partial/actions/strength_effect_migration_before_active_skill.d.ts +2 -0
- package/out/concert/partial/actions/strength_effect_migration_before_active_skill.js +47 -0
- package/out/concert/partial/actions/strength_effect_migration_before_active_skill.js.map +1 -0
- package/out/concert/partial/actions/strength_effect_migration_before_special_skill.d.ts +2 -0
- package/out/concert/partial/actions/strength_effect_migration_before_special_skill.js +47 -0
- package/out/concert/partial/actions/strength_effect_migration_before_special_skill.js.map +1 -0
- package/out/concert/partial/actions/strength_effect_value_increase.d.ts +2 -0
- package/out/concert/partial/actions/strength_effect_value_increase.js +55 -0
- package/out/concert/partial/actions/strength_effect_value_increase.js.map +1 -0
- package/out/concert/partial/actions/target_stamina_recovery.d.ts +2 -0
- package/out/concert/partial/actions/target_stamina_recovery.js +36 -0
- package/out/concert/partial/actions/target_stamina_recovery.js.map +1 -0
- package/out/concert/partial/actions/visual_boost.d.ts +2 -0
- package/out/concert/partial/actions/visual_boost.js +35 -0
- package/out/concert/partial/actions/visual_boost.js.map +1 -0
- package/out/concert/partial/actions/visual_down.d.ts +2 -0
- package/out/concert/partial/actions/visual_down.js +35 -0
- package/out/concert/partial/actions/visual_down.js.map +1 -0
- package/out/concert/partial/actions/visual_up.d.ts +2 -0
- package/out/concert/partial/actions/visual_up.js +35 -0
- package/out/concert/partial/actions/visual_up.js.map +1 -0
- package/out/concert/partial/actions/vocal_boost.d.ts +2 -0
- package/out/concert/partial/actions/vocal_boost.js +35 -0
- package/out/concert/partial/actions/vocal_boost.js.map +1 -0
- package/out/concert/partial/actions/vocal_down.d.ts +2 -0
- package/out/concert/partial/actions/vocal_down.js +35 -0
- package/out/concert/partial/actions/vocal_down.js.map +1 -0
- package/out/concert/partial/actions/vocal_up.d.ts +2 -0
- package/out/concert/partial/actions/vocal_up.js +35 -0
- package/out/concert/partial/actions/vocal_up.js.map +1 -0
- package/out/concert/partial/actions/weakness_effect_inversion.d.ts +2 -0
- package/out/concert/partial/actions/weakness_effect_inversion.js +60 -0
- package/out/concert/partial/actions/weakness_effect_inversion.js.map +1 -0
- package/out/concert/partial/actions/weakness_effect_recovery.d.ts +2 -0
- package/out/concert/partial/actions/weakness_effect_recovery.js +34 -0
- package/out/concert/partial/actions/weakness_effect_recovery.js.map +1 -0
- package/out/concert/partial/apply_continuous_effects.d.ts +2 -0
- package/out/concert/partial/apply_continuous_effects.js +22 -0
- package/out/concert/partial/apply_continuous_effects.js.map +1 -0
- package/out/concert/partial/b_check_existence.d.ts +2 -0
- package/out/concert/partial/b_check_existence.js +37 -0
- package/out/concert/partial/b_check_existence.js.map +1 -0
- package/out/concert/partial/c_check_act_skill_stamina.d.ts +2 -0
- package/out/concert/partial/c_check_act_skill_stamina.js +28 -0
- package/out/concert/partial/c_check_act_skill_stamina.js.map +1 -0
- package/out/concert/partial/d_check_act_skill_cool_time.d.ts +2 -0
- package/out/concert/partial/d_check_act_skill_cool_time.js +24 -0
- package/out/concert/partial/d_check_act_skill_cool_time.js.map +1 -0
- package/out/concert/partial/e_check_act_skill_possibility.d.ts +2 -0
- package/out/concert/partial/e_check_act_skill_possibility.js +21 -0
- package/out/concert/partial/e_check_act_skill_possibility.js.map +1 -0
- package/out/concert/partial/f_determine_act_skill_privilege.d.ts +2 -0
- package/out/concert/partial/f_determine_act_skill_privilege.js +28 -0
- package/out/concert/partial/f_determine_act_skill_privilege.js.map +1 -0
- package/out/concert/partial/handle_combo.d.ts +16 -0
- package/out/concert/partial/handle_combo.js +44 -0
- package/out/concert/partial/handle_combo.js.map +1 -0
- package/out/concert/partial/impl_efficacy.d.ts +7 -0
- package/out/concert/partial/impl_efficacy.js +19 -0
- package/out/concert/partial/impl_efficacy.js.map +1 -0
- package/out/concert/partial/init_concert.d.ts +7 -0
- package/out/concert/partial/init_concert.js +114 -0
- package/out/concert/partial/init_concert.js.map +1 -0
- package/out/concert/partial/perform_beat.d.ts +2 -0
- package/out/concert/partial/perform_beat.js +19 -0
- package/out/concert/partial/perform_beat.js.map +1 -0
- package/out/concert/partial/perform_skill.d.ts +15 -0
- package/out/concert/partial/perform_skill.js +166 -0
- package/out/concert/partial/perform_skill.js.map +1 -0
- package/out/concert/partial/prepare_p_skill.d.ts +5 -0
- package/out/concert/partial/prepare_p_skill.js +68 -0
- package/out/concert/partial/prepare_p_skill.js.map +1 -0
- package/out/concert/partial/rotate_ct.d.ts +2 -0
- package/out/concert/partial/rotate_ct.js +24 -0
- package/out/concert/partial/rotate_ct.js.map +1 -0
- package/out/concert/partial/rotate_remains.d.ts +2 -0
- package/out/concert/partial/rotate_remains.js +14 -0
- package/out/concert/partial/rotate_remains.js.map +1 -0
- package/out/concert/target_analyze.d.ts +4 -0
- package/out/concert/target_analyze.js +32 -0
- package/out/concert/target_analyze.js.map +1 -0
- package/out/concert/target_proc.d.ts +3 -0
- package/out/concert/target_proc.js +200 -0
- package/out/concert/target_proc.js.map +1 -0
- package/out/concert/trigger_analyze.d.ts +4 -0
- package/out/concert/trigger_analyze.js +38 -0
- package/out/concert/trigger_analyze.js.map +1 -0
- package/out/concert/trigger_proc.d.ts +5 -0
- package/out/concert/trigger_proc.js +334 -0
- package/out/concert/trigger_proc.js.map +1 -0
- package/out/database/Card.json +7641 -0
- package/out/database/CardParameter.json +4682 -0
- package/out/database/CardRarity.json +62 -0
- package/out/database/LiveAbility.json +26906 -0
- package/out/database/LiveBonus.json +464 -0
- package/out/database/LiveBonusGroup.json +466 -0
- package/out/database/Music.json +20282 -0
- package/out/database/MusicChartPattern.json +99842 -0
- package/out/database/Quest.json +95671 -0
- package/out/database/Setting.json +280 -0
- package/out/database/Skill.json +94030 -0
- package/out/database/SkillEfficacy.json +37042 -0
- package/out/database/SkillTarget.json +212 -0
- package/out/database/SkillTrigger.json +511 -0
- package/out/db/dao/card_dao.d.ts +5 -0
- package/out/db/dao/card_dao.js +27 -0
- package/out/db/dao/card_dao.js.map +1 -0
- package/out/db/dao/quest_dao.d.ts +8 -0
- package/out/db/dao/quest_dao.js +49 -0
- package/out/db/dao/quest_dao.js.map +1 -0
- package/out/db/dao/setting_dao.d.ts +3 -0
- package/out/db/dao/setting_dao.js +13 -0
- package/out/db/dao/setting_dao.js.map +1 -0
- package/out/db/dao/skill_dao.d.ts +6 -0
- package/out/db/dao/skill_dao.js +42 -0
- package/out/db/dao/skill_dao.js.map +1 -0
- package/out/db/repository/card_repository.d.ts +6 -0
- package/out/db/repository/card_repository.js +39 -0
- package/out/db/repository/card_repository.js.map +1 -0
- package/out/db/repository/quest_repository.d.ts +2 -0
- package/out/db/repository/quest_repository.js +17 -0
- package/out/db/repository/quest_repository.js.map +1 -0
- package/out/db/repository/setting_repository.d.ts +2 -0
- package/out/db/repository/setting_repository.js +9 -0
- package/out/db/repository/setting_repository.js.map +1 -0
- package/out/db/repository/skill_repository.d.ts +2 -0
- package/out/db/repository/skill_repository.js +31 -0
- package/out/db/repository/skill_repository.js.map +1 -0
- package/out/db/wrapper/card_wrapper.d.ts +2 -0
- package/out/db/wrapper/card_wrapper.js +30 -0
- package/out/db/wrapper/card_wrapper.js.map +1 -0
- package/out/db/wrapper/quest_wrapper.d.ts +2 -0
- package/out/db/wrapper/quest_wrapper.js +47 -0
- package/out/db/wrapper/quest_wrapper.js.map +1 -0
- package/out/db/wrapper/skill_wrapper.d.ts +5 -0
- package/out/db/wrapper/skill_wrapper.js +34 -0
- package/out/db/wrapper/skill_wrapper.js.map +1 -0
- package/out/index.d.ts +3 -0
- package/out/index.js +18 -0
- package/out/index.js.map +1 -0
- package/out/main.d.ts +1 -0
- package/out/main.js +67 -0
- package/out/main.js.map +1 -0
- package/out/satomi/card.d.ts +4 -0
- package/out/satomi/card.js +36 -0
- package/out/satomi/card.js.map +1 -0
- package/out/satomi/deck.d.ts +3 -0
- package/out/satomi/deck.js +28 -0
- package/out/satomi/deck.js.map +1 -0
- package/out/satomi/live.d.ts +4 -0
- package/out/satomi/live.js +14 -0
- package/out/satomi/live.js.map +1 -0
- package/out/types/card_types.d.ts +40 -0
- package/out/types/card_types.js +3 -0
- package/out/types/card_types.js.map +1 -0
- package/out/types/concert_types.d.ts +134 -0
- package/out/types/concert_types.js +3 -0
- package/out/types/concert_types.js.map +1 -0
- package/out/types/misc_types.d.ts +15 -0
- package/out/types/misc_types.js +3 -0
- package/out/types/misc_types.js.map +1 -0
- package/out/types/proto/proto_api.d.ts +4353 -0
- package/out/types/proto/proto_api.js +4 -0
- package/out/types/proto/proto_api.js.map +1 -0
- package/out/types/proto/proto_enum.d.ts +1607 -0
- package/out/types/proto/proto_enum.js +1744 -0
- package/out/types/proto/proto_enum.js.map +1 -0
- package/out/types/proto/proto_master.d.ts +1963 -0
- package/out/types/proto/proto_master.js +4 -0
- package/out/types/proto/proto_master.js.map +1 -0
- package/out/types/proto/proto_transaction.d.ts +395 -0
- package/out/types/proto/proto_transaction.js +4 -0
- package/out/types/proto/proto_transaction.js.map +1 -0
- package/out/types/trans_types.d.ts +23 -0
- package/out/types/trans_types.js +3 -0
- package/out/types/trans_types.js.map +1 -0
- package/out/types/wap/card_waps.d.ts +9 -0
- package/out/types/wap/card_waps.js +3 -0
- package/out/types/wap/card_waps.js.map +1 -0
- package/out/types/wap/misc_waps.d.ts +11 -0
- package/out/types/wap/misc_waps.js +3 -0
- package/out/types/wap/misc_waps.js.map +1 -0
- package/out/types/wap/quest_waps.d.ts +12 -0
- package/out/types/wap/quest_waps.js +3 -0
- package/out/types/wap/quest_waps.js.map +1 -0
- package/out/types/wap/skill_waps.d.ts +24 -0
- package/out/types/wap/skill_waps.js +3 -0
- package/out/types/wap/skill_waps.js.map +1 -0
- package/out/utils/calc_utils.d.ts +20 -0
- package/out/utils/calc_utils.js +137 -0
- package/out/utils/calc_utils.js.map +1 -0
- package/out/utils/chart_utils.d.ts +49 -0
- package/out/utils/chart_utils.js +218 -0
- package/out/utils/chart_utils.js.map +1 -0
- package/out/utils/console_utils.d.ts +1 -0
- package/out/utils/console_utils.js +9 -0
- package/out/utils/console_utils.js.map +1 -0
- package/out/utils/skill_utils.d.ts +9 -0
- package/out/utils/skill_utils.js +86 -0
- package/out/utils/skill_utils.js.map +1 -0
- package/package.json +32 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getLiveDeck = void 0;
|
4
|
+
const chart_utils_1 = require("../utils/chart_utils");
|
5
|
+
const card_1 = require("./card");
|
6
|
+
function getLiveDeck(transDeck, transOpntDeck) {
|
7
|
+
const liveDeck = {
|
8
|
+
isBattle: false,
|
9
|
+
liveCards: transDeck.transCards.map(it => ({
|
10
|
+
index: it.index,
|
11
|
+
liveCard: (0, card_1.getLiveCard)(it.card)
|
12
|
+
})),
|
13
|
+
getCard: chart_utils_1.getCardByIndex
|
14
|
+
};
|
15
|
+
if (transOpntDeck) {
|
16
|
+
liveDeck.isBattle = true;
|
17
|
+
transOpntDeck.transCards.forEach(it => {
|
18
|
+
liveDeck.liveCards.push({
|
19
|
+
index: it.index,
|
20
|
+
liveCard: (0, card_1.getLiveCard)(it.card)
|
21
|
+
});
|
22
|
+
});
|
23
|
+
}
|
24
|
+
liveDeck.liveCards.sort((a, b) => a.index - b.index);
|
25
|
+
return liveDeck;
|
26
|
+
}
|
27
|
+
exports.getLiveDeck = getLiveDeck;
|
28
|
+
//# sourceMappingURL=deck.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"deck.js","sourceRoot":"","sources":["../../satomi/deck.ts"],"names":[],"mappings":";;;AAEA,sDAAqD;AACrD,iCAAoC;AAEpC,SAAgB,WAAW,CACzB,SAAoB,EACpB,aAAyB;IAEzB,MAAM,QAAQ,GAAa;QACzB,QAAQ,EAAE,KAAK;QACf,SAAS,EAAE,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;YACzC,KAAK,EAAE,EAAE,CAAC,KAAK;YACf,QAAQ,EAAE,IAAA,kBAAW,EAAC,EAAE,CAAC,IAAI,CAAC;SAC/B,CAAC,CAAC;QACH,OAAO,EAAE,4BAAc;KACxB,CAAA;IACD,IAAI,aAAa,EAAE;QACjB,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAA;QACxB,aAAa,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE;YACpC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC;gBACtB,KAAK,EAAE,EAAE,CAAC,KAAK;gBACf,QAAQ,EAAE,IAAA,kBAAW,EAAC,EAAE,CAAC,IAAI,CAAC;aAC/B,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;KACH;IACD,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAA;IACpD,OAAO,QAAQ,CAAA;AACjB,CAAC;AAvBD,kCAuBC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getLive = void 0;
|
4
|
+
function getLive(quest, deck, isBattle) {
|
5
|
+
// TODO: implement exSkills
|
6
|
+
return {
|
7
|
+
isBattle: isBattle,
|
8
|
+
quest: quest,
|
9
|
+
liveDeck: deck,
|
10
|
+
charts: [],
|
11
|
+
};
|
12
|
+
}
|
13
|
+
exports.getLive = getLive;
|
14
|
+
//# sourceMappingURL=live.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"live.js","sourceRoot":"","sources":["../../satomi/live.ts"],"names":[],"mappings":";;;AAIA,SAAgB,OAAO,CACrB,KAAe,EACf,IAAc,EACd,QAAiB;IAEjB,2BAA2B;IAC3B,OAAO;QACL,QAAQ,EAAE,QAAQ;QAClB,KAAK,EAAE,KAAK;QACZ,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,EAAE;KACX,CAAA;AACH,CAAC;AAZD,0BAYC"}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { WapCard } from "./wap/card_waps";
|
2
|
+
import { WapSkillLevel } from "./wap/skill_waps";
|
3
|
+
export declare type LiveDeck = {
|
4
|
+
isBattle: boolean;
|
5
|
+
liveCards: {
|
6
|
+
index: number;
|
7
|
+
liveCard: LiveCard;
|
8
|
+
}[];
|
9
|
+
getCard: (index: number) => LiveCard;
|
10
|
+
};
|
11
|
+
export declare type LiveCard = UserCard & {
|
12
|
+
readonly deckVocal: number;
|
13
|
+
readonly deckDance: number;
|
14
|
+
readonly deckVisual: number;
|
15
|
+
readonly deckStamina: number;
|
16
|
+
readonly deckMental: number;
|
17
|
+
readonly deckTechnique: number;
|
18
|
+
isArbitrary: boolean;
|
19
|
+
audienceAmount?: number;
|
20
|
+
};
|
21
|
+
export declare type UserCard = WapCard & {
|
22
|
+
level: number;
|
23
|
+
rarity: number;
|
24
|
+
vocal: number;
|
25
|
+
dance: number;
|
26
|
+
visual: number;
|
27
|
+
stamina: number;
|
28
|
+
mental: number;
|
29
|
+
technique: number;
|
30
|
+
skillLevel1: number;
|
31
|
+
skillLevel2: number;
|
32
|
+
skillLevel3: number;
|
33
|
+
skills: {
|
34
|
+
index: number;
|
35
|
+
skill: WapSkillLevel;
|
36
|
+
}[];
|
37
|
+
liveAbilityLevel?: number;
|
38
|
+
activityAbilityLevel?: number;
|
39
|
+
getSkill: (index: number) => WapSkillLevel;
|
40
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"card_types.js","sourceRoot":"","sources":["../../types/card_types.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,134 @@
|
|
1
|
+
import { SkillEfficacyType, MusicChartType, SkillFailureType } from "./proto/proto_enum";
|
2
|
+
import { LiveCard, LiveDeck } from "./card_types";
|
3
|
+
import { WapLiveBeat } from "./wap/misc_waps";
|
4
|
+
import { WapQuest } from "./wap/quest_waps";
|
5
|
+
import { WapSkillLevel } from "./wap/skill_waps";
|
6
|
+
export declare type Live = {
|
7
|
+
charts: Chart[];
|
8
|
+
quest: WapQuest;
|
9
|
+
liveDeck: LiveDeck;
|
10
|
+
isBattle: boolean;
|
11
|
+
};
|
12
|
+
export declare type Chart = {
|
13
|
+
chartType: MusicChartType;
|
14
|
+
sequence: number;
|
15
|
+
actPosition: number;
|
16
|
+
cardStatuses: CardStatus[];
|
17
|
+
userStatuses: UserStatus[];
|
18
|
+
beats?: WapLiveBeat[];
|
19
|
+
stageSkillStatuses?: StageSkillStatus[];
|
20
|
+
actSkill?: ActSkill;
|
21
|
+
actPSkills: ActSkill[];
|
22
|
+
failureFlag?: SkillFailureType;
|
23
|
+
getCardStatus: (this: Chart, index: number) => CardStatus;
|
24
|
+
getUserStatus: (this: Chart, index: number) => UserStatus;
|
25
|
+
getStageStatus: (this: Chart, cardIndex: number, skillIndex: number) => StageSkillStatus | undefined;
|
26
|
+
};
|
27
|
+
export declare type CardStatus = {
|
28
|
+
cardIndex: number;
|
29
|
+
vocal: number;
|
30
|
+
dance: number;
|
31
|
+
visual: number;
|
32
|
+
stamina: number;
|
33
|
+
technique: number;
|
34
|
+
mental: number;
|
35
|
+
skillStatuses: SkillStatus[];
|
36
|
+
effects: Effect[];
|
37
|
+
getSkillStatus: (this: CardStatus, index: number) => SkillStatus;
|
38
|
+
/**
|
39
|
+
* Get all specified type `Effect`s in this CardStatus.
|
40
|
+
* By default zero-remaining effects will be ignored.
|
41
|
+
*/
|
42
|
+
getEffects: (this: CardStatus, type: SkillEfficacyType, needZeroRemain?: boolean) => Effect[];
|
43
|
+
/**
|
44
|
+
* Get sum of specified type effect grades.
|
45
|
+
* If this CardStatus doesn't possess the effect, 0 will be returned.
|
46
|
+
*/
|
47
|
+
getEffectSumGrade: (this: CardStatus, type: SkillEfficacyType) => number;
|
48
|
+
/**
|
49
|
+
* Get sum of specified type effect grade.
|
50
|
+
* If the grade exceeds maxGrade, maxGrade will be returned.
|
51
|
+
* 🚨CAUTION: If given `type` is not belong to `StrengthList`,
|
52
|
+
* maxGrade exceeding check will not be performed and sumGrade
|
53
|
+
* will be returned instead.
|
54
|
+
*/
|
55
|
+
getEffectSumOrMaxGrade: (this: CardStatus, type: SkillEfficacyType) => number;
|
56
|
+
/**
|
57
|
+
* Get and calculate effect value of specified type.
|
58
|
+
* If the grade exceeds maxGrade, maxGrade will be used to calculate.
|
59
|
+
* If the type is not belong to `StrengthList`, always returns 0.
|
60
|
+
*/
|
61
|
+
getEffectValue: (this: CardStatus, type: SkillEfficacyType) => number;
|
62
|
+
/**
|
63
|
+
* Apply all attribute-related effects, calculate sum of their permils, then return that sum.
|
64
|
+
* Note exceeding grades will be excluded.
|
65
|
+
*/
|
66
|
+
getBuffedPermil: (this: CardStatus, type: "dance" | "vocal" | "visual") => number;
|
67
|
+
/**
|
68
|
+
* Refreshes property of given `type` in this `CardStatus`.
|
69
|
+
* If efficacy's grade reaches its maxGrade, exceeding grades will be ignored.
|
70
|
+
*/
|
71
|
+
refreshParam: (this: CardStatus, card: LiveCard, type: "dance" | "vocal" | "visual") => void;
|
72
|
+
refreshAllParam: (this: CardStatus, card: LiveCard) => void;
|
73
|
+
};
|
74
|
+
export declare type ConcertSkill = WapSkillLevel & {
|
75
|
+
deckPosition: number;
|
76
|
+
skillIndex: number;
|
77
|
+
isFirstTime: boolean;
|
78
|
+
isOpponentSide: boolean;
|
79
|
+
};
|
80
|
+
export declare type UserStatus = {
|
81
|
+
userIndex: number;
|
82
|
+
combo: number;
|
83
|
+
};
|
84
|
+
export declare type SkillStatus = {
|
85
|
+
skillIndex: number;
|
86
|
+
coolTime: number;
|
87
|
+
remainCount: number;
|
88
|
+
initCount: number;
|
89
|
+
used: boolean;
|
90
|
+
hasTimes: () => boolean;
|
91
|
+
};
|
92
|
+
export declare type StageSkillStatus = SkillStatus & {
|
93
|
+
userIndex: number;
|
94
|
+
cardIndex: number;
|
95
|
+
};
|
96
|
+
export declare type DetEffect = {
|
97
|
+
efficacyType: SkillEfficacyType;
|
98
|
+
grade: number;
|
99
|
+
value: number;
|
100
|
+
isInstant: boolean;
|
101
|
+
ajusted?: boolean;
|
102
|
+
};
|
103
|
+
export declare type Effect = DetEffect & {
|
104
|
+
remain: number;
|
105
|
+
maxGrade: number;
|
106
|
+
include: boolean;
|
107
|
+
id: string;
|
108
|
+
sourceIndex: number;
|
109
|
+
sourceSkillIndex: number;
|
110
|
+
};
|
111
|
+
export declare type EfficacyDetail = {
|
112
|
+
name: string;
|
113
|
+
description: string;
|
114
|
+
grade: number;
|
115
|
+
maxGrade: number;
|
116
|
+
efficacyIndex: number;
|
117
|
+
efficacyType: SkillEfficacyType;
|
118
|
+
targetIndexes?: number[];
|
119
|
+
value?: number;
|
120
|
+
};
|
121
|
+
export declare type ActSkill = {
|
122
|
+
cardIndex: number;
|
123
|
+
skillIndex: number;
|
124
|
+
order: number;
|
125
|
+
stamina: number;
|
126
|
+
details: EfficacyDetail[];
|
127
|
+
isCritical: boolean;
|
128
|
+
isComboBreak: boolean;
|
129
|
+
score?: number;
|
130
|
+
};
|
131
|
+
export declare type Actable = {
|
132
|
+
index: number;
|
133
|
+
skills: number[];
|
134
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"concert_types.js","sourceRoot":"","sources":["../../types/concert_types.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Accessory } from "./proto/proto_master";
|
2
|
+
import { WapPhotoAbility } from "./wap/misc_waps";
|
3
|
+
export declare type Equipment = {
|
4
|
+
wapPhotos: UserPhoto[];
|
5
|
+
accessories: Accessory[];
|
6
|
+
};
|
7
|
+
export declare type UserPhoto = {
|
8
|
+
photoId: string;
|
9
|
+
name: string;
|
10
|
+
rarity: number;
|
11
|
+
level: number;
|
12
|
+
abilities: WapPhotoAbility[];
|
13
|
+
focusCharacterId: string;
|
14
|
+
photoRecipeId: string;
|
15
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"misc_types.js","sourceRoot":"","sources":["../../types/misc_types.ts"],"names":[],"mappings":""}
|