@dchighs/dc-config 0.1.139 → 0.1.141
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/dist/dtos/game-config.d.ts +41 -26
- package/package.json +1 -1
|
@@ -130,10 +130,9 @@ export interface IapDiscountUid {
|
|
|
130
130
|
}
|
|
131
131
|
export interface IapDiscountUidAvailability {
|
|
132
132
|
from: string;
|
|
133
|
-
dur?:
|
|
133
|
+
dur?: string;
|
|
134
134
|
to?: string;
|
|
135
135
|
}
|
|
136
|
-
export type Dur = "15d" | "7d" | "10d" | "14d" | "28d" | "29d" | "42d" | "32d" | "25d" | "11d" | "91d";
|
|
137
136
|
export type IapDiscountUidIap = "battle_pass_tier_9_99" | "battle_pass_7_99" | "battle_pass_19_99" | "blackfriday_9_99";
|
|
138
137
|
export interface DiscountUid {
|
|
139
138
|
iap: IapEliteDiscountUidIap;
|
|
@@ -143,6 +142,7 @@ export interface IapEliteDiscountUidAvailability {
|
|
|
143
142
|
from: string;
|
|
144
143
|
dur: Dur;
|
|
145
144
|
}
|
|
145
|
+
export type Dur = "7d" | "10d" | "14d" | "15d" | "28d" | "29d" | "42d";
|
|
146
146
|
export type IapEliteDiscountUidIap = "elite_pass_promo_31_99" | "elite_pass_59_99" | "blackfriday_31_99" | "elite_upgrade_promo_23_99" | "special_ebp_upgrade_discount_39_99" | "blackfriday_21_99" | "battle_pass_19_99" | "battle_pass_7_99";
|
|
147
147
|
export type IapEliteUid = "battle_pass_29_99" | "elite_upgrade_19_99" | "elite_pass_39_99" | "elite_pass_89_99" | "blackfriday_49_99" | "elite_pass_promo_31_99";
|
|
148
148
|
export type IapEliteUpgradeUid = "battle_pass_19_99" | "battle_pass_39_99" | "elite_upgrade_29_99" | "special_ebp_upgrade_59_99" | "blackfriday_34_99" | "elite_pass_promo_23_99";
|
|
@@ -719,7 +719,7 @@ export interface ItemsUnitsAttributeModifier {
|
|
|
719
719
|
index?: number;
|
|
720
720
|
}
|
|
721
721
|
export type ItemsUnitsAttributeModifierAttribute = "attacks" | "base_attack" | "trainable_attacks" | "base_life" | "passive_skills" | "post_skills" | "speed" | "background_vfx" | "foreground_vfx";
|
|
722
|
-
export type Behaviour = "REPLACE" | "REPLACE_BY_INDEX" | "MULTIPLY";
|
|
722
|
+
export type Behaviour = "REPLACE" | "REPLACE_BY_INDEX" | "MULTIPLY" | "ADD_ARRAY";
|
|
723
723
|
export interface BattlesConfigElement {
|
|
724
724
|
id: number;
|
|
725
725
|
name: string;
|
|
@@ -1153,7 +1153,7 @@ export interface Encounter {
|
|
|
1153
1153
|
fight_background?: string;
|
|
1154
1154
|
fight_background_id: FightBackgroundID;
|
|
1155
1155
|
}
|
|
1156
|
-
export type FightBackgroundID = "bg_battle_background_gi_treasurehunt" | "bg_battle_background_hr_medievalholidays" | "bg_battle_background_mr_108_mythical_gelbarrier" | "bg_battle_background_hr_clashofthenorth" | "bg_battle_background_mi_mystery_in_paradise" | "bg_battle_background_mi_dragonmysteries" | "bg_battle_background_mi_fall_from_grace";
|
|
1156
|
+
export type FightBackgroundID = "bg_battle_background_gi_treasurehunt" | "bg_battle_background_hr_medievalholidays" | "bg_battle_background_mr_108_mythical_gelbarrier" | "bg_battle_background_hr_clashofthenorth" | "bg_battle_background_mr_109_mythical_porpoise" | "bg_battle_background_mi_mystery_in_paradise" | "bg_battle_background_mi_dragonmysteries" | "bg_battle_background_mi_fall_from_grace";
|
|
1157
1157
|
export interface EnemyElement {
|
|
1158
1158
|
id: number;
|
|
1159
1159
|
dragon_ids: number[];
|
|
@@ -1320,7 +1320,9 @@ export interface LapRewardReward {
|
|
|
1320
1320
|
"album_pack_aces.1"?: number;
|
|
1321
1321
|
"pet_food_pack.l"?: number;
|
|
1322
1322
|
"album_pack_aces.2"?: number;
|
|
1323
|
+
"permanent_gacha.legendary"?: number;
|
|
1323
1324
|
"album_pack.xl"?: number;
|
|
1325
|
+
"permanent_gacha.mythical"?: number;
|
|
1324
1326
|
"album_pack_aces.3"?: number;
|
|
1325
1327
|
trade_tickets?: TradeTicket[];
|
|
1326
1328
|
"album_pack_aces.4"?: number;
|
|
@@ -1555,7 +1557,7 @@ export interface LiveopsChallenges {
|
|
|
1555
1557
|
}
|
|
1556
1558
|
export interface Challenge {
|
|
1557
1559
|
id: number;
|
|
1558
|
-
availability:
|
|
1560
|
+
availability: IapDiscountUidAvailability[];
|
|
1559
1561
|
goals: number[];
|
|
1560
1562
|
title_tid: string;
|
|
1561
1563
|
hud_icon_tid: HudIconTid;
|
|
@@ -1705,12 +1707,12 @@ export interface News {
|
|
|
1705
1707
|
"0": The0;
|
|
1706
1708
|
"1": The1;
|
|
1707
1709
|
"2": The2;
|
|
1708
|
-
"3":
|
|
1709
|
-
"4":
|
|
1710
|
-
"5":
|
|
1711
|
-
"6":
|
|
1712
|
-
"7":
|
|
1713
|
-
"8":
|
|
1710
|
+
"3": The3;
|
|
1711
|
+
"4": The3;
|
|
1712
|
+
"5": The3;
|
|
1713
|
+
"6": The3;
|
|
1714
|
+
"7": The3;
|
|
1715
|
+
"8": The8;
|
|
1714
1716
|
canvas: Canva[];
|
|
1715
1717
|
}
|
|
1716
1718
|
export interface The0 {
|
|
@@ -1740,7 +1742,7 @@ export interface The0_Slide {
|
|
|
1740
1742
|
slide_type: string;
|
|
1741
1743
|
slide_type_2: string;
|
|
1742
1744
|
timer: string;
|
|
1743
|
-
times_to_show
|
|
1745
|
+
times_to_show?: number;
|
|
1744
1746
|
}
|
|
1745
1747
|
export interface The1 {
|
|
1746
1748
|
active_platforms: ValueClass;
|
|
@@ -1748,16 +1750,12 @@ export interface The1 {
|
|
|
1748
1750
|
assets_name: string;
|
|
1749
1751
|
direct_to_shop: number;
|
|
1750
1752
|
end_ts: string;
|
|
1751
|
-
filter_category: null;
|
|
1752
1753
|
hud_button: The1_HudButton;
|
|
1753
1754
|
id: number;
|
|
1754
|
-
label_text_tid: null;
|
|
1755
|
-
label_title_tid: null;
|
|
1756
1755
|
min_level: number;
|
|
1757
1756
|
popup_type: string;
|
|
1758
|
-
priority: null;
|
|
1759
1757
|
show_on_startup: number;
|
|
1760
|
-
slides:
|
|
1758
|
+
slides: The0_Slide[];
|
|
1761
1759
|
start_ts: string;
|
|
1762
1760
|
}
|
|
1763
1761
|
export interface The1_HudButton {
|
|
@@ -1765,7 +1763,25 @@ export interface The1_HudButton {
|
|
|
1765
1763
|
title: string;
|
|
1766
1764
|
viral_icon_tier: number;
|
|
1767
1765
|
}
|
|
1768
|
-
export interface
|
|
1766
|
+
export interface The2 {
|
|
1767
|
+
active_platforms: ValueClass;
|
|
1768
|
+
allow_island_tutorial: number;
|
|
1769
|
+
assets_name: string;
|
|
1770
|
+
direct_to_shop: number;
|
|
1771
|
+
end_ts: string;
|
|
1772
|
+
filter_category: null;
|
|
1773
|
+
hud_button: The1_HudButton;
|
|
1774
|
+
id: number;
|
|
1775
|
+
label_text_tid: null;
|
|
1776
|
+
label_title_tid: null;
|
|
1777
|
+
min_level: number;
|
|
1778
|
+
popup_type: string;
|
|
1779
|
+
priority: null;
|
|
1780
|
+
show_on_startup: number;
|
|
1781
|
+
slides: The2_Slide[];
|
|
1782
|
+
start_ts: string;
|
|
1783
|
+
}
|
|
1784
|
+
export interface The2_Slide {
|
|
1769
1785
|
content_localized_key: string;
|
|
1770
1786
|
custom_title_localized_key: string;
|
|
1771
1787
|
forceClose?: boolean;
|
|
@@ -1773,7 +1789,7 @@ export interface The1_Slide {
|
|
|
1773
1789
|
image_url: string;
|
|
1774
1790
|
multiple_buttons: MultipleButton[];
|
|
1775
1791
|
times_to_show: number;
|
|
1776
|
-
type:
|
|
1792
|
+
type: string;
|
|
1777
1793
|
}
|
|
1778
1794
|
export interface MultipleButton {
|
|
1779
1795
|
animation: AnimationNameEnum;
|
|
@@ -1800,8 +1816,7 @@ export interface SizeClass {
|
|
|
1800
1816
|
}
|
|
1801
1817
|
export type SpineAsset = "pointer_animation_v2";
|
|
1802
1818
|
export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
|
|
1803
|
-
export
|
|
1804
|
-
export interface The2 {
|
|
1819
|
+
export interface The3 {
|
|
1805
1820
|
active_platforms: ValueClass;
|
|
1806
1821
|
allow_island_tutorial: number;
|
|
1807
1822
|
assets_name: string;
|
|
@@ -1812,10 +1827,10 @@ export interface The2 {
|
|
|
1812
1827
|
popup_frequency: string;
|
|
1813
1828
|
popup_type: string;
|
|
1814
1829
|
show_on_startup: number;
|
|
1815
|
-
slides:
|
|
1830
|
+
slides: The2_Slide[];
|
|
1816
1831
|
start_ts: string;
|
|
1817
1832
|
}
|
|
1818
|
-
export interface
|
|
1833
|
+
export interface The8 {
|
|
1819
1834
|
active_platforms: ValueClass;
|
|
1820
1835
|
allow_island_tutorial: number;
|
|
1821
1836
|
assets_name: string;
|
|
@@ -1832,7 +1847,7 @@ export interface The7 {
|
|
|
1832
1847
|
popup_type: string;
|
|
1833
1848
|
priority: null;
|
|
1834
1849
|
show_on_startup: number;
|
|
1835
|
-
slides:
|
|
1850
|
+
slides: The2_Slide[];
|
|
1836
1851
|
start_ts: string;
|
|
1837
1852
|
}
|
|
1838
1853
|
export interface Canva {
|
|
@@ -1849,7 +1864,7 @@ export interface CanvaSlide {
|
|
|
1849
1864
|
header_localized_key?: string;
|
|
1850
1865
|
image_url?: string;
|
|
1851
1866
|
times_to_show?: number;
|
|
1852
|
-
type?:
|
|
1867
|
+
type?: string;
|
|
1853
1868
|
multiple_buttons?: MultipleButton[];
|
|
1854
1869
|
bg?: string;
|
|
1855
1870
|
content?: Content[];
|
|
@@ -2643,8 +2658,8 @@ export interface MultiplierTime {
|
|
|
2643
2658
|
multiplier_time: number;
|
|
2644
2659
|
}
|
|
2645
2660
|
export interface TreeOfLifePowerupRaritySeed {
|
|
2646
|
-
rarity: Rarity;
|
|
2647
2661
|
max_rarity_seeds_per_grade: number[];
|
|
2662
|
+
rarity: Rarity;
|
|
2648
2663
|
}
|
|
2649
2664
|
export interface Visual {
|
|
2650
2665
|
id: number;
|