hypixel-api-reborn 11.2.1 → 11.3.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/package.json +8 -8
- package/src/API/housing/getActiveHouses.js +7 -0
- package/src/API/housing/getHouse.js +9 -0
- package/src/API/housing/getPlayerHouses.js +11 -0
- package/src/API/index.js +6 -1
- package/src/API/skyblock/getGarden.js +7 -0
- package/src/API/skyblock/getMember.js +4 -2
- package/src/API/skyblock/getProfiles.js +4 -2
- package/src/Client.js +46 -2
- package/src/Private/requests.js +1 -1
- package/src/index.js +5 -0
- package/src/structures/House.js +54 -0
- package/src/structures/MiniGames/Arcade.js +754 -270
- package/src/structures/MiniGames/ArenaBrawl.js +97 -31
- package/src/structures/MiniGames/BlitzSurvivalGames.js +378 -127
- package/src/structures/MiniGames/BuildBattle.js +19 -8
- package/src/structures/MiniGames/CopsAndCrims.js +252 -25
- package/src/structures/MiniGames/Duels.js +899 -656
- package/src/structures/MiniGames/MegaWalls.js +390 -51
- package/src/structures/MiniGames/MurderMystery.js +151 -30
- package/src/structures/MiniGames/Paintball.js +31 -11
- package/src/structures/MiniGames/Quakecraft.js +113 -50
- package/src/structures/MiniGames/SkyWars.js +340 -195
- package/src/structures/MiniGames/SmashHeroes.js +195 -69
- package/src/structures/MiniGames/SpeedUHC.js +76 -36
- package/src/structures/MiniGames/TNTGames.js +242 -73
- package/src/structures/MiniGames/TurboKartRacers.js +55 -115
- package/src/structures/MiniGames/UHC.js +135 -124
- package/src/structures/MiniGames/VampireZ.js +70 -37
- package/src/structures/MiniGames/Warlords.js +126 -1
- package/src/structures/MiniGames/WoolWars.js +54 -4
- package/src/structures/Player.js +30 -24
- package/src/structures/SkyBlock/SkyblockGarden.js +146 -0
- package/src/structures/SkyBlock/SkyblockMember.js +12 -5
- package/src/utils/Constants.js +507 -5
- package/src/utils/SkyblockUtils.js +33 -0
- package/typings/index.d.ts +911 -802
|
@@ -1,15 +1,64 @@
|
|
|
1
1
|
const divide = require('../../utils/divide');
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
|
|
3
|
+
class ArenaBrawlMode {
|
|
4
|
+
/**
|
|
5
|
+
* @param {object} data ArenaBrawl data
|
|
6
|
+
* @param {string} mode mode
|
|
7
|
+
*/
|
|
8
|
+
constructor(data, mode) {
|
|
9
|
+
/**
|
|
10
|
+
* Damage
|
|
11
|
+
* @type {number}
|
|
12
|
+
*/
|
|
13
|
+
this.damage = data[`damage_${mode}`];
|
|
14
|
+
/**
|
|
15
|
+
* Kills
|
|
16
|
+
* @type {number}
|
|
17
|
+
*/
|
|
18
|
+
this.kills = data[`kills_${mode}`];
|
|
19
|
+
/**
|
|
20
|
+
* Deaths
|
|
21
|
+
* @type {number}
|
|
22
|
+
*/
|
|
23
|
+
this.deaths = data[`deaths_${mode}`];
|
|
24
|
+
/**
|
|
25
|
+
* KDRatio
|
|
26
|
+
* @type {number}
|
|
27
|
+
*/
|
|
28
|
+
this.KDRatio = divide(this.kills, this.deaths);
|
|
29
|
+
/**
|
|
30
|
+
* Healed
|
|
31
|
+
* @type {number}
|
|
32
|
+
*/
|
|
33
|
+
this.healed = data[`healed_${mode}`];
|
|
34
|
+
/**
|
|
35
|
+
* Wins
|
|
36
|
+
* @type {number}
|
|
37
|
+
*/
|
|
38
|
+
this.wins = data[`wins_${mode}`];
|
|
39
|
+
/**
|
|
40
|
+
* Losses
|
|
41
|
+
* @type {number}
|
|
42
|
+
*/
|
|
43
|
+
this.losses = data[`losses_${mode}`];
|
|
44
|
+
/**
|
|
45
|
+
* WLRatio
|
|
46
|
+
* @type {number}
|
|
47
|
+
*/
|
|
48
|
+
this.WLRatio = divide(this.wins, this.losses);
|
|
49
|
+
/**
|
|
50
|
+
* Games Played
|
|
51
|
+
* @type {number}
|
|
52
|
+
*/
|
|
53
|
+
this.games = data[`games_${mode}`];
|
|
54
|
+
/**
|
|
55
|
+
* Winstreak
|
|
56
|
+
* @type {number}
|
|
57
|
+
*/
|
|
58
|
+
this.winstreak = data[`win_streaks_${mode}`];
|
|
59
|
+
}
|
|
12
60
|
}
|
|
61
|
+
|
|
13
62
|
/**
|
|
14
63
|
* ArenaBrawl class
|
|
15
64
|
*/
|
|
@@ -23,30 +72,47 @@ class ArenaBrawl {
|
|
|
23
72
|
* @type {number}
|
|
24
73
|
*/
|
|
25
74
|
this.coins = data.coins || 0;
|
|
75
|
+
/**
|
|
76
|
+
* Coins Spent
|
|
77
|
+
* @type {number}
|
|
78
|
+
*/
|
|
79
|
+
this.coinsSpent = data.coins_spent || 0;
|
|
80
|
+
/**
|
|
81
|
+
* Wins
|
|
82
|
+
* @type {number}
|
|
83
|
+
*/
|
|
84
|
+
this.wins = data.wins || 0;
|
|
85
|
+
/**
|
|
86
|
+
* Keys
|
|
87
|
+
* @type {number}
|
|
88
|
+
*/
|
|
89
|
+
this.keys = data.keys || 0;
|
|
90
|
+
/**
|
|
91
|
+
* Chests
|
|
92
|
+
* @type {number}
|
|
93
|
+
*/
|
|
94
|
+
this.chests = data.magical_chest || 0;
|
|
95
|
+
/**
|
|
96
|
+
* Rune
|
|
97
|
+
* @type {string}
|
|
98
|
+
*/
|
|
99
|
+
this.rune = data.active_rune || '';
|
|
100
|
+
/**
|
|
101
|
+
* ArenaBrawl mode stats
|
|
102
|
+
* @type {ArenaBrawlMode}
|
|
103
|
+
*/
|
|
104
|
+
this['1v1'] = new ArenaBrawlMode(data, '1v1');
|
|
26
105
|
/**
|
|
27
106
|
* ArenaBrawl mode stats
|
|
28
|
-
* @type {
|
|
107
|
+
* @type {ArenaBrawlMode}
|
|
29
108
|
*/
|
|
30
|
-
this
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
109
|
+
this['2v2'] = new ArenaBrawlMode(data, '2v2');
|
|
110
|
+
/**
|
|
111
|
+
* ArenaBrawl mode stats
|
|
112
|
+
* @type {ArenaBrawlMode}
|
|
113
|
+
*/
|
|
114
|
+
this['4v4'] = new ArenaBrawlMode(data, '4v4');
|
|
35
115
|
}
|
|
36
116
|
}
|
|
37
|
-
|
|
38
|
-
* @typedef {Object} ArenaBrawlStats
|
|
39
|
-
* @property {ArenaBrawlModeStats} '1v1' ArenaBrawl 1v1 stats
|
|
40
|
-
* @property {ArenaBrawlModeStats} '2v2' ArenaBrawl 2v2 stats
|
|
41
|
-
* @property {ArenaBrawlModeStats} '4v4' ArenaBrawl 4v4 stats
|
|
42
|
-
*/
|
|
43
|
-
/**
|
|
44
|
-
* @typedef {Object} ArenaBrawlModeStats
|
|
45
|
-
* @property {number} kills ArenaBrawl kills
|
|
46
|
-
* @property {number} deaths ArenaBrawl deaths
|
|
47
|
-
* @property {number} KDRatio ArenaBrawl Kill Death ratio
|
|
48
|
-
* @property {number} wins ArenaBrawl wins
|
|
49
|
-
* @property {number} losses ArenaBrawl losses
|
|
50
|
-
* @property {number} WLRatio ArenaBrawl Win Loss ratio
|
|
51
|
-
*/
|
|
117
|
+
|
|
52
118
|
module.exports = ArenaBrawl;
|
|
@@ -1,71 +1,109 @@
|
|
|
1
1
|
const divide = require('../../utils/divide');
|
|
2
|
-
const kits = [
|
|
3
|
-
'arachnologist',
|
|
4
|
-
'archer',
|
|
5
|
-
'armorer',
|
|
6
|
-
'astronaut',
|
|
7
|
-
'baker',
|
|
8
|
-
'blaze',
|
|
9
|
-
'creepertamer',
|
|
10
|
-
'fisherman',
|
|
11
|
-
'horsetamer',
|
|
12
|
-
'hunter',
|
|
13
|
-
'knight',
|
|
14
|
-
'meatmaster',
|
|
15
|
-
'necromancer',
|
|
16
|
-
'pigman',
|
|
17
|
-
'reddragon',
|
|
18
|
-
'rogue',
|
|
19
|
-
'scout',
|
|
20
|
-
'slimeyslime',
|
|
21
|
-
'speleologist',
|
|
22
|
-
'tim',
|
|
23
|
-
'toxicologist',
|
|
24
|
-
'troll',
|
|
25
|
-
'wolftamer',
|
|
26
|
-
'paladin',
|
|
27
|
-
'shadow knight',
|
|
28
|
-
'hype train',
|
|
29
|
-
'jockey',
|
|
30
|
-
'reaper',
|
|
31
|
-
'golem',
|
|
32
|
-
'farmer',
|
|
33
|
-
'florist',
|
|
34
|
-
'snowman',
|
|
35
|
-
'guardian',
|
|
36
|
-
'warlock',
|
|
37
|
-
'viking',
|
|
38
|
-
'diver',
|
|
39
|
-
'ranger',
|
|
40
|
-
'donkeytamer',
|
|
41
|
-
'phoenix',
|
|
42
|
-
'warrior',
|
|
43
|
-
'rambo'
|
|
44
|
-
];
|
|
45
2
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
3
|
+
class BlitzSGKit {
|
|
4
|
+
/**
|
|
5
|
+
* @param {object} data Blitz SG data
|
|
6
|
+
* @param {string} kitName Kit name
|
|
7
|
+
*/
|
|
8
|
+
constructor(data, kitName) {
|
|
9
|
+
/**
|
|
10
|
+
* Kit Level
|
|
11
|
+
* @type {number}
|
|
12
|
+
*/
|
|
13
|
+
this.level = data[kitName] || 0;
|
|
14
|
+
/**
|
|
15
|
+
* Kit Level
|
|
16
|
+
* @type {number}
|
|
17
|
+
*/
|
|
18
|
+
this.exp = data[`exp_${kitName}`] || 0;
|
|
19
|
+
/**
|
|
20
|
+
* Kills
|
|
21
|
+
* @type {number}
|
|
22
|
+
*/
|
|
23
|
+
this.kills = data[`kills_${kitName}`] || 0;
|
|
24
|
+
/**
|
|
25
|
+
* Deaths
|
|
26
|
+
* @type {number}
|
|
27
|
+
*/
|
|
28
|
+
this.deaths = data[`deaths_${kitName}`] || 0;
|
|
29
|
+
/**
|
|
30
|
+
* Kill Death ratio
|
|
31
|
+
* @type {number}
|
|
32
|
+
*/
|
|
33
|
+
this.KDRatio = divide(this.kills, this.deaths);
|
|
34
|
+
/**
|
|
35
|
+
* Wins
|
|
36
|
+
* @type {number}
|
|
37
|
+
*/
|
|
38
|
+
this.wins = data[`wins_${kitName}`] || 0;
|
|
39
|
+
/**
|
|
40
|
+
* Games Played
|
|
41
|
+
* @type {number}
|
|
42
|
+
*/
|
|
43
|
+
this.gamesPlayed = data[`games_played_${kitName}`] || 0;
|
|
44
|
+
/**
|
|
45
|
+
* Losses
|
|
46
|
+
* @type {number}
|
|
47
|
+
*/
|
|
48
|
+
this.losses = this.gamesPlayed - this.wins;
|
|
49
|
+
/**
|
|
50
|
+
* Win Loss ratio
|
|
51
|
+
* @type {number}
|
|
52
|
+
*/
|
|
53
|
+
this.WLRatio = divide(this.wins, this.losses);
|
|
54
|
+
/**
|
|
55
|
+
* Arrows Shot
|
|
56
|
+
* @type {number}
|
|
57
|
+
*/
|
|
58
|
+
this.arrowsShot = data[`arrows_fired_${kitName}`] || 0;
|
|
59
|
+
/**
|
|
60
|
+
* Arrows Hit
|
|
61
|
+
* @type {number}
|
|
62
|
+
*/
|
|
63
|
+
this.arrowsHit = data[`arrows_hit_${kitName}`] || 0;
|
|
64
|
+
/**
|
|
65
|
+
* Bow Accuracy
|
|
66
|
+
* @type {number}
|
|
67
|
+
*/
|
|
68
|
+
this.bowAccuracy = divide(this.arrowsHit, this.arrowsShot);
|
|
69
|
+
/**
|
|
70
|
+
* Damage Delt
|
|
71
|
+
* @type {number}
|
|
72
|
+
*/
|
|
73
|
+
this.damage = data[`damage_${kitName}`] || 0;
|
|
74
|
+
/**
|
|
75
|
+
* Damage Taken
|
|
76
|
+
* @type {number}
|
|
77
|
+
*/
|
|
78
|
+
this.damageTaken = data[`damage_taken_${kitName}`] || 0;
|
|
79
|
+
/**
|
|
80
|
+
* Potions Drunk
|
|
81
|
+
* @type {number}
|
|
82
|
+
*/
|
|
83
|
+
this.potionsDrunk = data[`potions_drunk_${kitName}`] || 0;
|
|
84
|
+
/**
|
|
85
|
+
* Potions Thrown
|
|
86
|
+
* @type {number}
|
|
87
|
+
*/
|
|
88
|
+
this.potionsThrown = data[`potions_thrown_${kitName}`] || 0;
|
|
89
|
+
/**
|
|
90
|
+
* Time Played (In seconds)
|
|
91
|
+
* @type {number}
|
|
92
|
+
*/
|
|
93
|
+
this.playTime = data[`time_played_${kitName}`] || 0;
|
|
94
|
+
/**
|
|
95
|
+
* Mobs Spawned
|
|
96
|
+
* @type {number}
|
|
97
|
+
*/
|
|
98
|
+
this.mobsSpawned = data[`mobs_spawned_${kitName}`] || 0;
|
|
99
|
+
/**
|
|
100
|
+
* Chests Opened
|
|
101
|
+
* @type {number}
|
|
102
|
+
*/
|
|
103
|
+
this.chestsOpened = data[`chests_opened_${kitName}`] || 0;
|
|
66
104
|
}
|
|
67
|
-
return stats;
|
|
68
105
|
}
|
|
106
|
+
|
|
69
107
|
/**
|
|
70
108
|
* Blitz SG class
|
|
71
109
|
*/
|
|
@@ -84,6 +122,21 @@ class BlitzSurvivalGames {
|
|
|
84
122
|
* @type {number}
|
|
85
123
|
*/
|
|
86
124
|
this.kills = data.kills || 0;
|
|
125
|
+
/**
|
|
126
|
+
* Kit
|
|
127
|
+
* @type {string}
|
|
128
|
+
*/
|
|
129
|
+
this.kit = data.defaultkit || '';
|
|
130
|
+
/**
|
|
131
|
+
* Solo Kills
|
|
132
|
+
* @type {number}
|
|
133
|
+
*/
|
|
134
|
+
this.killsSolo = data.kills_solo_normal || 0;
|
|
135
|
+
/**
|
|
136
|
+
* Teams Kills
|
|
137
|
+
* @type {number}
|
|
138
|
+
*/
|
|
139
|
+
this.killsTeams = data.kills_teams_normal || 0;
|
|
87
140
|
/**
|
|
88
141
|
* Deaths
|
|
89
142
|
* @type {number}
|
|
@@ -94,80 +147,278 @@ class BlitzSurvivalGames {
|
|
|
94
147
|
* @type {number}
|
|
95
148
|
*/
|
|
96
149
|
this.KDRatio = divide(this.kills, this.deaths);
|
|
150
|
+
/**
|
|
151
|
+
* Wins
|
|
152
|
+
* @type {number}
|
|
153
|
+
*/
|
|
154
|
+
this.wins = data.wins || 0;
|
|
97
155
|
/**
|
|
98
156
|
* Solo wins
|
|
99
157
|
* @type {number}
|
|
100
158
|
*/
|
|
101
|
-
this.winsSolo = data.
|
|
159
|
+
this.winsSolo = data.wins_solo_normal || 0;
|
|
102
160
|
/**
|
|
103
161
|
* Team wins
|
|
104
162
|
* @type {number}
|
|
105
163
|
*/
|
|
106
164
|
this.winsTeam = data.wins_teams || 0;
|
|
107
165
|
/**
|
|
108
|
-
*
|
|
109
|
-
* @type {
|
|
166
|
+
* Games Played
|
|
167
|
+
* @type {number}
|
|
168
|
+
*/
|
|
169
|
+
this.gamesPlayed = data.games_played || 0;
|
|
170
|
+
/**
|
|
171
|
+
* Losses
|
|
172
|
+
* @type {number}
|
|
173
|
+
*/
|
|
174
|
+
this.losses = this.gamesPlayed - this.wins;
|
|
175
|
+
/**
|
|
176
|
+
* Win Loss ratio
|
|
177
|
+
* @type {number}
|
|
178
|
+
*/
|
|
179
|
+
this.WLRatio = divide(this.wins, this.losses);
|
|
180
|
+
/**
|
|
181
|
+
* Arrows Shot
|
|
182
|
+
* @type {number}
|
|
183
|
+
*/
|
|
184
|
+
this.arrowsShot = data.arrows_fired || 0;
|
|
185
|
+
/**
|
|
186
|
+
* Arrows Hit
|
|
187
|
+
* @type {number}
|
|
188
|
+
*/
|
|
189
|
+
this.arrowsHit = data.arrows_hit || 0;
|
|
190
|
+
/**
|
|
191
|
+
* Bow Accuracy
|
|
192
|
+
* @type {number}
|
|
193
|
+
*/
|
|
194
|
+
this.bowAccuracy = divide(this.arrowsHit, this.arrowsShot);
|
|
195
|
+
/**
|
|
196
|
+
* Damage Delt
|
|
197
|
+
* @type {number}
|
|
198
|
+
*/
|
|
199
|
+
this.damage = data.damage || 0;
|
|
200
|
+
/**
|
|
201
|
+
* Damage Taken
|
|
202
|
+
* @type {number}
|
|
203
|
+
*/
|
|
204
|
+
this.damageTaken = data.damage_taken || 0;
|
|
205
|
+
/**
|
|
206
|
+
* Potions Drunk
|
|
207
|
+
* @type {number}
|
|
208
|
+
*/
|
|
209
|
+
this.potionsDrunk = data.potions_drunk || 0;
|
|
210
|
+
/**
|
|
211
|
+
* Potions Thrown
|
|
212
|
+
* @type {number}
|
|
213
|
+
*/
|
|
214
|
+
this.potionsThrown = data.potions_thrown || 0;
|
|
215
|
+
/**
|
|
216
|
+
* Mobs Spawned
|
|
217
|
+
* @type {number}
|
|
218
|
+
*/
|
|
219
|
+
this.mobsSpawned = data.mobs_spawned || 0;
|
|
220
|
+
/**
|
|
221
|
+
* Time Played (In seconds)
|
|
222
|
+
* @type {number}
|
|
223
|
+
*/
|
|
224
|
+
this.playTime = data.time_played || 0;
|
|
225
|
+
/**
|
|
226
|
+
* Blitz Uses
|
|
227
|
+
* @type {number}
|
|
228
|
+
*/
|
|
229
|
+
this.blitzUses = data.blitz_uses || 0;
|
|
230
|
+
/**
|
|
231
|
+
* Chests Opened
|
|
232
|
+
* @type {number}
|
|
233
|
+
*/
|
|
234
|
+
this.chestsOpened = data.chests_opened || 0;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Archer Kit Stats
|
|
238
|
+
* @type {BlitzSGKit}
|
|
239
|
+
*/
|
|
240
|
+
this.archer = new BlitzSGKit(data, 'archer');
|
|
241
|
+
/**
|
|
242
|
+
* Meatmaster Kit Stats
|
|
243
|
+
* @type {BlitzSGKit}
|
|
244
|
+
*/
|
|
245
|
+
this.meatmaster = new BlitzSGKit(data, 'meatmaster');
|
|
246
|
+
/**
|
|
247
|
+
* Speleologist Kit Stats
|
|
248
|
+
* @type {BlitzSGKit}
|
|
249
|
+
*/
|
|
250
|
+
this.speleologist = new BlitzSGKit(data, 'speleologist');
|
|
251
|
+
/**
|
|
252
|
+
* Baker Kit Stats
|
|
253
|
+
* @type {BlitzSGKit}
|
|
254
|
+
*/
|
|
255
|
+
this.baker = new BlitzSGKit(data, 'baker');
|
|
256
|
+
/**
|
|
257
|
+
* Knight Kit Stats
|
|
258
|
+
* @type {BlitzSGKit}
|
|
259
|
+
*/
|
|
260
|
+
this.knight = new BlitzSGKit(data, 'knight');
|
|
261
|
+
/**
|
|
262
|
+
* Guardian Kit Stats
|
|
263
|
+
* @type {BlitzSGKit}
|
|
264
|
+
*/
|
|
265
|
+
this.guardian = new BlitzSGKit(data, 'guardian');
|
|
266
|
+
/**
|
|
267
|
+
* Scout Kit Stats
|
|
268
|
+
* @type {BlitzSGKit}
|
|
269
|
+
*/
|
|
270
|
+
this.scout = new BlitzSGKit(data, 'scout');
|
|
271
|
+
/**
|
|
272
|
+
* Hunter Kit Stats
|
|
273
|
+
* @type {BlitzSGKit}
|
|
274
|
+
*/
|
|
275
|
+
this.hunter = new BlitzSGKit(data, 'hunter');
|
|
276
|
+
/**
|
|
277
|
+
* Hype Train Kit Stats
|
|
278
|
+
* @type {BlitzSGKit}
|
|
279
|
+
*/
|
|
280
|
+
this.hypeTrain = new BlitzSGKit(data, 'hype train');
|
|
281
|
+
/**
|
|
282
|
+
* Fisherman Kit Stats
|
|
283
|
+
* @type {BlitzSGKit}
|
|
284
|
+
*/
|
|
285
|
+
this.fisherman = new BlitzSGKit(data, 'fisherman');
|
|
286
|
+
/**
|
|
287
|
+
* Armorer Kit Stats
|
|
288
|
+
* @type {BlitzSGKit}
|
|
289
|
+
*/
|
|
290
|
+
this.armorer = new BlitzSGKit(data, 'armorer');
|
|
291
|
+
/**
|
|
292
|
+
* Horsetamer Kit Stats
|
|
293
|
+
* @type {BlitzSGKit}
|
|
294
|
+
*/
|
|
295
|
+
this.horsetamer = new BlitzSGKit(data, 'horsetamer');
|
|
296
|
+
/**
|
|
297
|
+
* Astronaut Kit Stats
|
|
298
|
+
* @type {BlitzSGKit}
|
|
299
|
+
*/
|
|
300
|
+
this.astronaut = new BlitzSGKit(data, 'astronaut');
|
|
301
|
+
/**
|
|
302
|
+
* Troll Kit Stats
|
|
303
|
+
* @type {BlitzSGKit}
|
|
304
|
+
*/
|
|
305
|
+
this.troll = new BlitzSGKit(data, 'troll');
|
|
306
|
+
/**
|
|
307
|
+
* Reaper Kit Stats
|
|
308
|
+
* @type {BlitzSGKit}
|
|
110
309
|
*/
|
|
111
|
-
this.
|
|
310
|
+
this.reaper = new BlitzSGKit(data, 'reaper');
|
|
311
|
+
/**
|
|
312
|
+
* Shark Kit Stats
|
|
313
|
+
* @type {BlitzSGKit}
|
|
314
|
+
*/
|
|
315
|
+
this.shark = new BlitzSGKit(data, 'shark');
|
|
316
|
+
/**
|
|
317
|
+
* Reddragon Kit Stats
|
|
318
|
+
* @type {BlitzSGKit}
|
|
319
|
+
*/
|
|
320
|
+
this.reddragon = new BlitzSGKit(data, 'reddragon');
|
|
321
|
+
/**
|
|
322
|
+
* Toxicologist Kit Stats
|
|
323
|
+
* @type {BlitzSGKit}
|
|
324
|
+
*/
|
|
325
|
+
this.toxicologist = new BlitzSGKit(data, 'toxicologist');
|
|
326
|
+
/**
|
|
327
|
+
* Rogue Kit Stats
|
|
328
|
+
* @type {BlitzSGKit}
|
|
329
|
+
*/
|
|
330
|
+
this.rogue = new BlitzSGKit(data, 'rogue');
|
|
331
|
+
/**
|
|
332
|
+
* Warlock Kit Stats
|
|
333
|
+
* @type {BlitzSGKit}
|
|
334
|
+
*/
|
|
335
|
+
this.warlock = new BlitzSGKit(data, 'warlock');
|
|
336
|
+
/**
|
|
337
|
+
* Slimeyslime Kit Stats
|
|
338
|
+
* @type {BlitzSGKit}
|
|
339
|
+
*/
|
|
340
|
+
this.slimeyslime = new BlitzSGKit(data, 'slimeyslime');
|
|
341
|
+
/**
|
|
342
|
+
* Jockey Kit Stats
|
|
343
|
+
* @type {BlitzSGKit}
|
|
344
|
+
*/
|
|
345
|
+
this.jockey = new BlitzSGKit(data, 'jockey');
|
|
346
|
+
/**
|
|
347
|
+
* Golem Kit Stats
|
|
348
|
+
* @type {BlitzSGKit}
|
|
349
|
+
*/
|
|
350
|
+
this.golem = new BlitzSGKit(data, 'golem');
|
|
351
|
+
/**
|
|
352
|
+
* Viking Kit Stats
|
|
353
|
+
* @type {BlitzSGKit}
|
|
354
|
+
*/
|
|
355
|
+
this.viking = new BlitzSGKit(data, 'viking');
|
|
356
|
+
/**
|
|
357
|
+
* Shadow Knight Kit Stats
|
|
358
|
+
* @type {BlitzSGKit}
|
|
359
|
+
*/
|
|
360
|
+
this.shadowKnight = new BlitzSGKit(data, 'shadow knight');
|
|
361
|
+
/**
|
|
362
|
+
* Pigman Kit Stats
|
|
363
|
+
* @type {BlitzSGKit}
|
|
364
|
+
*/
|
|
365
|
+
this.pigman = new BlitzSGKit(data, 'pigman');
|
|
366
|
+
/**
|
|
367
|
+
* Paladin Kit Stats
|
|
368
|
+
* @type {BlitzSGKit}
|
|
369
|
+
*/
|
|
370
|
+
this.paladin = new BlitzSGKit(data, 'paladin');
|
|
371
|
+
/**
|
|
372
|
+
* Necromancer Kit Stats
|
|
373
|
+
* @type {BlitzSGKit}
|
|
374
|
+
*/
|
|
375
|
+
this.necromancer = new BlitzSGKit(data, 'necromancer');
|
|
376
|
+
/**
|
|
377
|
+
* Florist Kit Stats
|
|
378
|
+
* @type {BlitzSGKit}
|
|
379
|
+
*/
|
|
380
|
+
this.florist = new BlitzSGKit(data, 'florist');
|
|
381
|
+
/**
|
|
382
|
+
* Diver Kit Stats
|
|
383
|
+
* @type {BlitzSGKit}
|
|
384
|
+
*/
|
|
385
|
+
this.diver = new BlitzSGKit(data, 'diver');
|
|
386
|
+
/**
|
|
387
|
+
* Arachnologist Kit Stats
|
|
388
|
+
* @type {BlitzSGKit}
|
|
389
|
+
*/
|
|
390
|
+
this.arachnologist = new BlitzSGKit(data, 'arachnologist');
|
|
391
|
+
/**
|
|
392
|
+
* Blaze Kit Stats
|
|
393
|
+
* @type {BlitzSGKit}
|
|
394
|
+
*/
|
|
395
|
+
this.blaze = new BlitzSGKit(data, 'blaze');
|
|
396
|
+
/**
|
|
397
|
+
* Wolftamer Kit Stats
|
|
398
|
+
* @type {BlitzSGKit}
|
|
399
|
+
*/
|
|
400
|
+
this.wolftamer = new BlitzSGKit(data, 'wolftamer');
|
|
401
|
+
/**
|
|
402
|
+
* Tim Kit Stats
|
|
403
|
+
* @type {BlitzSGKit}
|
|
404
|
+
*/
|
|
405
|
+
this.tim = new BlitzSGKit(data, 'tim');
|
|
406
|
+
/**
|
|
407
|
+
* Farmer Kit Stats
|
|
408
|
+
* @type {BlitzSGKit}
|
|
409
|
+
*/
|
|
410
|
+
this.farmer = new BlitzSGKit(data, 'farmer');
|
|
411
|
+
/**
|
|
412
|
+
* Creepertamer Kit Stats
|
|
413
|
+
* @type {BlitzSGKit}
|
|
414
|
+
*/
|
|
415
|
+
this.creepertamer = new BlitzSGKit(data, 'creepertamer');
|
|
416
|
+
/**
|
|
417
|
+
* Snowman Kit Stats
|
|
418
|
+
* @type {BlitzSGKit}
|
|
419
|
+
*/
|
|
420
|
+
this.snowman = new BlitzSGKit(data, 'snowman');
|
|
112
421
|
}
|
|
113
422
|
}
|
|
114
|
-
|
|
115
|
-
* @typedef {string} BlitzSGKit
|
|
116
|
-
* * `arachnologist`
|
|
117
|
-
* * `archer`
|
|
118
|
-
* * `armorer`
|
|
119
|
-
* * `astronaut`
|
|
120
|
-
* * `baker`
|
|
121
|
-
* * `blaze`
|
|
122
|
-
* * `creepertamer`
|
|
123
|
-
* * `fisherman`
|
|
124
|
-
* * `horsetamer`
|
|
125
|
-
* * `hunter`
|
|
126
|
-
* * `knight`
|
|
127
|
-
* * `meatmaster`
|
|
128
|
-
* * `necromancer`
|
|
129
|
-
* * `pigman`
|
|
130
|
-
* * `reddragon`
|
|
131
|
-
* * `rogue`
|
|
132
|
-
* * `scout`
|
|
133
|
-
* * `slimeyslime`
|
|
134
|
-
* * `speleologist`
|
|
135
|
-
* * `tim`
|
|
136
|
-
* * `toxicologist`
|
|
137
|
-
* * `troll`
|
|
138
|
-
* * `wolftamer`
|
|
139
|
-
* * `paladin`
|
|
140
|
-
* * `shadow knight`
|
|
141
|
-
* * `hype train`
|
|
142
|
-
* * `jockey`
|
|
143
|
-
* * `reaper`
|
|
144
|
-
* * `golem`
|
|
145
|
-
* * `farmer`
|
|
146
|
-
* * `florist`
|
|
147
|
-
* * `snowman`
|
|
148
|
-
* * `guardian`
|
|
149
|
-
* * `warlock`
|
|
150
|
-
* * `viking`
|
|
151
|
-
* * `diver`
|
|
152
|
-
* * `ranger`
|
|
153
|
-
* * `donkeytamer`
|
|
154
|
-
* * `phoenix`
|
|
155
|
-
* * `warrior`
|
|
156
|
-
* * `rambo`
|
|
157
|
-
*/
|
|
158
|
-
/**
|
|
159
|
-
* @typedef {object} BlitzSGKitStats
|
|
160
|
-
* @property {BlitzSGKit} name Kit name
|
|
161
|
-
* @property {number} games Played games
|
|
162
|
-
* @property {number} level level
|
|
163
|
-
* @property {number} experience Total experience
|
|
164
|
-
* @property {number} prestige Prestige
|
|
165
|
-
* @property {number} kills Kills
|
|
166
|
-
* @property {number} deaths Deaths
|
|
167
|
-
* @property {number} KDRatio Kill Death ratio
|
|
168
|
-
* @property {number} wins Wins
|
|
169
|
-
* @property {number} losses Losses
|
|
170
|
-
* @property {number} WLRatio Win Loss ratio
|
|
171
|
-
* @property {number|null} timePlayed Time played
|
|
172
|
-
*/
|
|
423
|
+
|
|
173
424
|
module.exports = BlitzSurvivalGames;
|