clashofclans.js 2.7.0 → 2.8.0-dev.6f98e0f
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/CHANGELOG.md +9 -1
- package/dist/client/Client.d.ts +3 -2
- package/dist/client/Client.js +2 -2
- package/dist/index.mjs +1 -0
- package/dist/rest/RESTManager.d.ts +1 -1
- package/dist/rest/RequestHandler.d.ts +2 -2
- package/dist/rest/RequestHandler.js +2 -7
- package/dist/rest/Throttler.d.ts +10 -12
- package/dist/rest/Throttler.js +27 -50
- package/dist/struct/Unit.js +3 -4
- package/dist/types/lib.d.ts +8 -3
- package/dist/util/Constants.d.ts +42 -0
- package/dist/util/Constants.js +11 -2
- package/dist/util/Util.d.ts +13 -0
- package/dist/util/Util.js +30 -0
- package/dist/util/raw.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## 2.8.0 (2022-07-22)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- Better Throttler with JS generator function. ([#111](https://github.com/clashperk/clashofclans.js/pull/111))
|
|
10
|
+
- Updated raw data from game files. ([#111](https://github.com/clashperk/clashofclans.js/pull/111))
|
|
11
|
+
- New method Util#parseArmyLink has been added. ([#110](https://github.com/clashperk/clashofclans.js/pull/110))
|
|
12
|
+
|
|
5
13
|
## 2.7.0 (2022-05-22)
|
|
6
14
|
|
|
7
15
|
### Features
|
|
8
16
|
|
|
9
|
-
-
|
|
17
|
+
- Some useful QOL methods have been added. ([#106](https://github.com/clashperk/clashofclans.js/pull/106))
|
|
10
18
|
|
|
11
19
|
## 2.6.1 (2022-02-03)
|
|
12
20
|
|
package/dist/client/Client.d.ts
CHANGED
|
@@ -15,9 +15,9 @@ import { Clan, ClanMember, ClanWar, ClanWarLog, League, Location, Player, WarLea
|
|
|
15
15
|
*/
|
|
16
16
|
export declare class Client extends EventEmitter {
|
|
17
17
|
/** Event Manager for the client. */
|
|
18
|
-
|
|
18
|
+
events: EventManager;
|
|
19
19
|
/** REST Handler of the client. */
|
|
20
|
-
|
|
20
|
+
rest: RESTManager;
|
|
21
21
|
constructor(options?: ClientOptions);
|
|
22
22
|
/** Contains various general-purpose utility methods. */
|
|
23
23
|
get util(): typeof Util;
|
|
@@ -186,6 +186,7 @@ interface ClientEvents {
|
|
|
186
186
|
[EVENTS.WAR_LOOP_START]: [];
|
|
187
187
|
[EVENTS.WAR_LOOP_END]: [];
|
|
188
188
|
[EVENTS.ERROR]: [error: unknown];
|
|
189
|
+
[EVENTS.DEBUG]: [path: string, status: string, message: string];
|
|
189
190
|
}
|
|
190
191
|
interface CustomEvents {
|
|
191
192
|
[key: `clan${string}`]: [oldClan: Clan, newClan: Clan];
|
package/dist/client/Client.js
CHANGED
|
@@ -129,9 +129,9 @@ class Client extends events_1.EventEmitter {
|
|
|
129
129
|
.reverse();
|
|
130
130
|
const wars = await this.util.allSettled(warTags.map((warTag) => this.getClanWarLeagueRound({ warTag, clanTag: args.clanTag }, { ...options, ignoreRateLimit: true })));
|
|
131
131
|
if (args.round && args.round in Constants_1.CWL_ROUNDS) {
|
|
132
|
-
return wars.find((war) => war.state === state) ?? null;
|
|
132
|
+
return wars.find((war) => war.clan.tag === args.clanTag && war.state === state) ?? null;
|
|
133
133
|
}
|
|
134
|
-
return wars.find((war) => war.state === state) ?? wars.at(0) ?? null;
|
|
134
|
+
return wars.find((war) => war.clan.tag === args.clanTag && war.state === state) ?? wars.at(0) ?? null;
|
|
135
135
|
}
|
|
136
136
|
async _getCurrentLeagueWars(clanTag, options) {
|
|
137
137
|
const data = await this.getClanWarLeagueGroup(clanTag, options);
|
package/dist/index.mjs
CHANGED
|
@@ -46,6 +46,7 @@ export const Player = mod.Player;
|
|
|
46
46
|
export const PlayerClan = mod.PlayerClan;
|
|
47
47
|
export const PrivateWarLogError = mod.PrivateWarLogError;
|
|
48
48
|
export const QueueThrottler = mod.QueueThrottler;
|
|
49
|
+
export const RAW_DATA = mod.RAW_DATA;
|
|
49
50
|
export const RESTManager = mod.RESTManager;
|
|
50
51
|
export const RankedClan = mod.RankedClan;
|
|
51
52
|
export const RankedPlayer = mod.RankedPlayer;
|
|
@@ -4,7 +4,7 @@ import { APIClan, APIClanList, APIClanMemberList, APIClanRankingList, APIClanVer
|
|
|
4
4
|
/** Represents a REST Manager of the client. */
|
|
5
5
|
export declare class RESTManager {
|
|
6
6
|
/** Request Handler for the RESTManager. */
|
|
7
|
-
|
|
7
|
+
handler: RequestHandler;
|
|
8
8
|
constructor(options?: RESTOptions);
|
|
9
9
|
/** Contains various general-purpose utility methods. */
|
|
10
10
|
get util(): typeof Util;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Response, RequestOptions, LoginOptions, RequestHandlerOptions } from '../types';
|
|
2
2
|
/** Represents a Request Handler. */
|
|
3
3
|
export declare class RequestHandler {
|
|
4
4
|
#private;
|
|
@@ -14,7 +14,7 @@ export declare class RequestHandler {
|
|
|
14
14
|
private readonly restRequestTimeout;
|
|
15
15
|
private readonly throttler?;
|
|
16
16
|
private readonly cached;
|
|
17
|
-
constructor(options?:
|
|
17
|
+
constructor(options?: RequestHandlerOptions);
|
|
18
18
|
private get _keys();
|
|
19
19
|
private get _key();
|
|
20
20
|
setKeys(keys: string[]): this;
|
|
@@ -54,19 +54,14 @@ class RequestHandler {
|
|
|
54
54
|
return Boolean(this.email && this.password);
|
|
55
55
|
}
|
|
56
56
|
async request(path, options = {}) {
|
|
57
|
-
const cached = (await this.cached
|
|
57
|
+
const cached = this.cached ? (await this.cached.get(path)) ?? null : null;
|
|
58
58
|
if (cached && options.force !== true) {
|
|
59
59
|
return { data: cached.data, maxAge: cached.ttl - Date.now(), status: cached.status, path, ok: cached.status === 200 };
|
|
60
60
|
}
|
|
61
61
|
if (!this.throttler || options.ignoreRateLimit)
|
|
62
62
|
return this.exec(path, options);
|
|
63
63
|
await this.throttler.wait();
|
|
64
|
-
|
|
65
|
-
return await this.exec(path, options);
|
|
66
|
-
}
|
|
67
|
-
finally {
|
|
68
|
-
await this.throttler.throttle();
|
|
69
|
-
}
|
|
64
|
+
return this.exec(path, options);
|
|
70
65
|
}
|
|
71
66
|
async exec(path, options = {}, retries = 0) {
|
|
72
67
|
const res = await (0, node_fetch_1.default)(`${this.baseURL}${path}`, {
|
package/dist/rest/Throttler.d.ts
CHANGED
|
@@ -6,26 +6,24 @@
|
|
|
6
6
|
* ```
|
|
7
7
|
*/
|
|
8
8
|
export declare class QueueThrottler {
|
|
9
|
-
private lastRun?;
|
|
10
9
|
private readonly sleepTime;
|
|
11
|
-
private readonly
|
|
10
|
+
private readonly generator;
|
|
12
11
|
constructor(sleepTime?: number);
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
wait(): Promise<void>;
|
|
16
|
-
private shift;
|
|
12
|
+
private init;
|
|
13
|
+
wait(): Promise<IteratorResult<undefined, void>>;
|
|
17
14
|
}
|
|
18
15
|
/**
|
|
19
16
|
* Represents a throttler that allows x requests per second before sleeping until the next second.
|
|
20
17
|
* ```js
|
|
21
|
-
* const throttler = new BatchThrottler(
|
|
22
|
-
* //
|
|
18
|
+
* const throttler = new BatchThrottler(15);
|
|
19
|
+
* // 15 requests every second.
|
|
23
20
|
* ```
|
|
24
21
|
*/
|
|
25
22
|
export declare class BatchThrottler {
|
|
26
|
-
#private;
|
|
27
23
|
private readonly rateLimit;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
private readonly sleepTime;
|
|
25
|
+
private readonly generator;
|
|
26
|
+
constructor(rateLimit?: number, sleepTime?: number);
|
|
27
|
+
private init;
|
|
28
|
+
wait(): Promise<IteratorResult<undefined, void>>;
|
|
31
29
|
}
|
package/dist/rest/Throttler.js
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
3
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
5
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6
|
-
};
|
|
7
|
-
var _BatchThrottler_taskLogs;
|
|
8
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
3
|
exports.BatchThrottler = exports.QueueThrottler = void 0;
|
|
10
4
|
const Util_1 = require("../util/Util");
|
|
@@ -17,70 +11,53 @@ const Util_1 = require("../util/Util");
|
|
|
17
11
|
*/
|
|
18
12
|
class QueueThrottler {
|
|
19
13
|
constructor(sleepTime = 100) {
|
|
20
|
-
this.
|
|
14
|
+
this.generator = this.init();
|
|
21
15
|
this.sleepTime = sleepTime;
|
|
22
16
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const difference = Date.now() - this.lastRun;
|
|
17
|
+
async *init() {
|
|
18
|
+
let lastRan = 0;
|
|
19
|
+
// eslint-disable-next-line
|
|
20
|
+
while (true) {
|
|
21
|
+
const difference = Date.now() - lastRan;
|
|
29
22
|
const needToSleep = this.sleepTime - difference;
|
|
30
23
|
if (needToSleep > 0)
|
|
31
24
|
await Util_1.Util.delay(needToSleep);
|
|
25
|
+
lastRan = Date.now();
|
|
26
|
+
yield;
|
|
32
27
|
}
|
|
33
|
-
this.lastRun = Date.now();
|
|
34
|
-
return this.shift();
|
|
35
|
-
}
|
|
36
|
-
wait() {
|
|
37
|
-
const next = this.promises.length ? this.promises[this.promises.length - 1].promise : Promise.resolve();
|
|
38
|
-
let resolve;
|
|
39
|
-
const promise = new Promise((res) => {
|
|
40
|
-
resolve = res;
|
|
41
|
-
});
|
|
42
|
-
this.promises.push({ resolve: resolve, promise });
|
|
43
|
-
return next;
|
|
44
28
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
if (typeof deferred !== 'undefined')
|
|
48
|
-
deferred.resolve();
|
|
29
|
+
async wait() {
|
|
30
|
+
return this.generator.next();
|
|
49
31
|
}
|
|
50
32
|
}
|
|
51
33
|
exports.QueueThrottler = QueueThrottler;
|
|
52
34
|
/**
|
|
53
35
|
* Represents a throttler that allows x requests per second before sleeping until the next second.
|
|
54
36
|
* ```js
|
|
55
|
-
* const throttler = new BatchThrottler(
|
|
56
|
-
* //
|
|
37
|
+
* const throttler = new BatchThrottler(15);
|
|
38
|
+
* // 15 requests every second.
|
|
57
39
|
* ```
|
|
58
40
|
*/
|
|
59
41
|
class BatchThrottler {
|
|
60
|
-
constructor(rateLimit =
|
|
61
|
-
|
|
42
|
+
constructor(rateLimit = 15, sleepTime = 1000) {
|
|
43
|
+
this.generator = this.init();
|
|
62
44
|
this.rateLimit = rateLimit;
|
|
45
|
+
this.sleepTime = sleepTime;
|
|
63
46
|
}
|
|
64
|
-
async
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
__classPrivateFieldGet(this, _BatchThrottler_taskLogs, "f").shift();
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
break;
|
|
76
|
-
}
|
|
47
|
+
async *init() {
|
|
48
|
+
let count = 0;
|
|
49
|
+
// eslint-disable-next-line
|
|
50
|
+
while (true) {
|
|
51
|
+
if (count++ >= this.rateLimit) {
|
|
52
|
+
if (this.sleepTime > 0)
|
|
53
|
+
await Util_1.Util.delay(this.sleepTime);
|
|
54
|
+
count = 0;
|
|
77
55
|
}
|
|
78
|
-
|
|
79
|
-
break;
|
|
80
|
-
await Util_1.Util.delay(1000);
|
|
56
|
+
yield;
|
|
81
57
|
}
|
|
82
|
-
|
|
58
|
+
}
|
|
59
|
+
async wait() {
|
|
60
|
+
return this.generator.next();
|
|
83
61
|
}
|
|
84
62
|
}
|
|
85
63
|
exports.BatchThrottler = BatchThrottler;
|
|
86
|
-
_BatchThrottler_taskLogs = new WeakMap();
|
package/dist/struct/Unit.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Hero = exports.Spell = exports.Troop = exports.Unit = void 0;
|
|
4
|
-
const raw_json_1 = require("../util/raw.json");
|
|
5
4
|
const Constants_1 = require("../util/Constants");
|
|
6
5
|
/** Represents a Player's Unit. */
|
|
7
6
|
class Unit {
|
|
@@ -11,14 +10,14 @@ class Unit {
|
|
|
11
10
|
this.level = unit.level;
|
|
12
11
|
this.maxLevel = unit.maxLevel;
|
|
13
12
|
this.village = unit.village;
|
|
14
|
-
const rawSuperUnit =
|
|
15
|
-
const rawUnit =
|
|
13
|
+
const rawSuperUnit = Constants_1.RAW_DATA.RAW_SUPER_UNITS.find((unit) => unit.name === this.name && this.isHomeBase);
|
|
14
|
+
const rawUnit = Constants_1.RAW_DATA.RAW_UNITS.find((unit) => unit.name === this.name && unit.village === this.village);
|
|
16
15
|
if (rawSuperUnit) {
|
|
17
16
|
this.id = rawSuperUnit.id;
|
|
18
17
|
this.housingSpace = rawSuperUnit.housingSpace;
|
|
19
18
|
this.originalName = rawSuperUnit.original;
|
|
20
19
|
this.minOriginalLevel = rawSuperUnit.minOriginalLevel;
|
|
21
|
-
const original =
|
|
20
|
+
const original = Constants_1.RAW_DATA.RAW_UNITS.find((unit) => unit.village === 'home' && unit.name === rawSuperUnit.original);
|
|
22
21
|
this.unlockHallLevel = original.levels.findIndex((level) => level >= rawSuperUnit.minOriginalLevel) + 1;
|
|
23
22
|
this.unlockCost = original.unlock.cost;
|
|
24
23
|
this.unlockTime = original.unlock.time;
|
package/dist/types/lib.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export interface Store<T = any> {
|
|
|
5
5
|
delete(key: string): boolean | Promise<boolean>;
|
|
6
6
|
clear(): void | Promise<void>;
|
|
7
7
|
}
|
|
8
|
-
/** Options for a Client
|
|
8
|
+
/** Options for a {@link Client} */
|
|
9
9
|
export interface ClientOptions {
|
|
10
10
|
/** Keys from Clash of Clans API developer site. */
|
|
11
11
|
keys?: string[];
|
|
@@ -36,13 +36,18 @@ export interface ClientOptions {
|
|
|
36
36
|
* const client = new Client({ throttler: new BatchThrottler(30) });
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
|
-
throttler?: QueueThrottler | BatchThrottler;
|
|
39
|
+
throttler?: QueueThrottler | BatchThrottler | null;
|
|
40
40
|
}
|
|
41
|
-
/** Options for a RESTManager
|
|
41
|
+
/** Options for a {@link RESTManager} */
|
|
42
42
|
export interface RESTOptions extends ClientOptions {
|
|
43
43
|
/** Set this `false` to use `res.ok` property. */
|
|
44
44
|
rejectIfNotValid?: boolean;
|
|
45
45
|
}
|
|
46
|
+
/** Options for a {@link RequestHandler} */
|
|
47
|
+
export interface RequestHandlerOptions extends ClientOptions {
|
|
48
|
+
/** Set this `false` to use `res.ok` property. */
|
|
49
|
+
rejectIfNotValid?: boolean;
|
|
50
|
+
}
|
|
46
51
|
/** Search options for request. */
|
|
47
52
|
export interface SearchOptions extends OverrideOptions {
|
|
48
53
|
/** Limit the number of items returned in the response. */
|
package/dist/util/Constants.d.ts
CHANGED
|
@@ -34,9 +34,51 @@ export declare const EVENTS: {
|
|
|
34
34
|
readonly MAINTENANCE_START: "maintenanceStart";
|
|
35
35
|
readonly MAINTENANCE_END: "maintenanceEnd";
|
|
36
36
|
readonly ERROR: "error";
|
|
37
|
+
readonly DEBUG: "debug";
|
|
37
38
|
};
|
|
38
39
|
export declare const CWL_ROUNDS: {
|
|
39
40
|
readonly PREVIOUS_ROUND: "warEnded";
|
|
40
41
|
readonly CURRENT_ROUND: "inWar";
|
|
41
42
|
readonly NEXT_ROUND: "preparation";
|
|
42
43
|
};
|
|
44
|
+
export declare const RAW_DATA: {
|
|
45
|
+
RAW_UNITS: {
|
|
46
|
+
id: number;
|
|
47
|
+
name: string;
|
|
48
|
+
housingSpace: number;
|
|
49
|
+
village: string;
|
|
50
|
+
category: string;
|
|
51
|
+
subCategory: string;
|
|
52
|
+
unlock: {
|
|
53
|
+
hall: number;
|
|
54
|
+
cost: number;
|
|
55
|
+
time: number;
|
|
56
|
+
resource: string;
|
|
57
|
+
building: string;
|
|
58
|
+
buildingLevel: number;
|
|
59
|
+
};
|
|
60
|
+
resourceType: string;
|
|
61
|
+
trainingTime: number;
|
|
62
|
+
regenerationTimes: number[];
|
|
63
|
+
dps: number[];
|
|
64
|
+
upgrade: {
|
|
65
|
+
cost: number[];
|
|
66
|
+
time: number[];
|
|
67
|
+
resource: string;
|
|
68
|
+
};
|
|
69
|
+
seasonal: boolean;
|
|
70
|
+
levels: number[];
|
|
71
|
+
}[];
|
|
72
|
+
RAW_SUPER_UNITS: {
|
|
73
|
+
name: string;
|
|
74
|
+
id: number;
|
|
75
|
+
original: string;
|
|
76
|
+
minOriginalLevel: number;
|
|
77
|
+
village: string;
|
|
78
|
+
duration: number;
|
|
79
|
+
cooldown: number;
|
|
80
|
+
resource: string;
|
|
81
|
+
resourceCost: number;
|
|
82
|
+
housingSpace: number;
|
|
83
|
+
}[];
|
|
84
|
+
};
|
package/dist/util/Constants.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CWL_ROUNDS = exports.EVENTS = exports.FRIENDLY_WAR_PREPARATION_TIMES = exports.WAR_LEAGUES = exports.LEAGUES = exports.LEGEND_LEAGUE_ID = exports.UNRANKED_LEAGUE_DATA = exports.HERO_PETS = exports.HEROES = exports.BUILDER_TROOPS = exports.SPELLS = exports.DARK_ELIXIR_SPELLS = exports.ELIXIR_SPELLS = exports.SUPER_TROOPS = exports.SIEGE_MACHINES = exports.HOME_TROOPS = exports.DARK_ELIXIR_TROOPS = exports.ELIXIR_TROOPS = exports.DEV_SITE_API_BASE_URL = exports.API_BASE_URL = void 0;
|
|
6
|
+
exports.RAW_DATA = exports.CWL_ROUNDS = exports.EVENTS = exports.FRIENDLY_WAR_PREPARATION_TIMES = exports.WAR_LEAGUES = exports.LEAGUES = exports.LEGEND_LEAGUE_ID = exports.UNRANKED_LEAGUE_DATA = exports.HERO_PETS = exports.HEROES = exports.BUILDER_TROOPS = exports.SPELLS = exports.DARK_ELIXIR_SPELLS = exports.ELIXIR_SPELLS = exports.SUPER_TROOPS = exports.SIEGE_MACHINES = exports.HOME_TROOPS = exports.DARK_ELIXIR_TROOPS = exports.ELIXIR_TROOPS = exports.DEV_SITE_API_BASE_URL = exports.API_BASE_URL = void 0;
|
|
7
|
+
const raw_json_1 = __importDefault(require("../util/raw.json"));
|
|
4
8
|
exports.API_BASE_URL = 'https://api.clashofclans.com/v1';
|
|
5
9
|
exports.DEV_SITE_API_BASE_URL = 'https://developer.clashofclans.com/api';
|
|
6
10
|
exports.ELIXIR_TROOPS = [
|
|
@@ -127,10 +131,15 @@ exports.EVENTS = {
|
|
|
127
131
|
WAR_LOOP_END: 'warLoopEnd',
|
|
128
132
|
MAINTENANCE_START: 'maintenanceStart',
|
|
129
133
|
MAINTENANCE_END: 'maintenanceEnd',
|
|
130
|
-
ERROR: 'error'
|
|
134
|
+
ERROR: 'error',
|
|
135
|
+
DEBUG: 'debug'
|
|
131
136
|
};
|
|
132
137
|
exports.CWL_ROUNDS = {
|
|
133
138
|
PREVIOUS_ROUND: 'warEnded',
|
|
134
139
|
CURRENT_ROUND: 'inWar',
|
|
135
140
|
NEXT_ROUND: 'preparation'
|
|
136
141
|
};
|
|
142
|
+
exports.RAW_DATA = {
|
|
143
|
+
RAW_UNITS: raw_json_1.default.RAW_UNITS,
|
|
144
|
+
RAW_SUPER_UNITS: raw_json_1.default.RAW_SUPER_UNITS
|
|
145
|
+
};
|
package/dist/util/Util.d.ts
CHANGED
|
@@ -39,4 +39,17 @@ export declare class Util extends null {
|
|
|
39
39
|
static getSeasonEndTime(timestamp?: Date): Date;
|
|
40
40
|
static allSettled<T>(values: Promise<T>[]): Promise<T[]>;
|
|
41
41
|
static delay(ms: number): Promise<unknown>;
|
|
42
|
+
/** Parse in-game army link into troops and spells count with respective Id's. */
|
|
43
|
+
static parseArmyLink(link: string): {
|
|
44
|
+
units: {
|
|
45
|
+
name: string | null;
|
|
46
|
+
count: number;
|
|
47
|
+
id: number;
|
|
48
|
+
}[];
|
|
49
|
+
spells: {
|
|
50
|
+
name: string | null;
|
|
51
|
+
count: number;
|
|
52
|
+
id: number;
|
|
53
|
+
}[];
|
|
54
|
+
};
|
|
42
55
|
}
|
package/dist/util/Util.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Util = void 0;
|
|
4
|
+
const Constants_1 = require("../util/Constants");
|
|
4
5
|
const TAG_CHARACTERS = '0289PYLQGRJCUV';
|
|
5
6
|
const params = [
|
|
6
7
|
'name',
|
|
@@ -111,5 +112,34 @@ class Util extends null {
|
|
|
111
112
|
static async delay(ms) {
|
|
112
113
|
return new Promise((res) => setTimeout(res, ms));
|
|
113
114
|
}
|
|
115
|
+
/** Parse in-game army link into troops and spells count with respective Id's. */
|
|
116
|
+
static parseArmyLink(link) {
|
|
117
|
+
const unitsMatches = link.match(/u(?<units>[\d+x-]+)/);
|
|
118
|
+
const spellsMatches = link.match(/s(?<spells>[\d+x-]+)/);
|
|
119
|
+
const unitsPart = unitsMatches?.groups?.unit?.split('-') ?? [];
|
|
120
|
+
const spellParts = spellsMatches?.groups?.spells?.split('-') ?? [];
|
|
121
|
+
const units = unitsPart
|
|
122
|
+
.map((parts) => parts.split(/x/))
|
|
123
|
+
.map((parts) => ({
|
|
124
|
+
id: Number(parts[1]),
|
|
125
|
+
total: Number(parts[0])
|
|
126
|
+
}));
|
|
127
|
+
const spells = spellParts
|
|
128
|
+
.map((parts) => parts.split(/x/))
|
|
129
|
+
.map((parts) => ({
|
|
130
|
+
id: Number(parts[1]),
|
|
131
|
+
total: Number(parts[0])
|
|
132
|
+
}));
|
|
133
|
+
return {
|
|
134
|
+
units: units.map((unit) => {
|
|
135
|
+
const _unit = Constants_1.RAW_DATA.RAW_UNITS.find((raw) => raw.category === 'troop' && raw.id === unit.id);
|
|
136
|
+
return { name: _unit?.name ?? null, count: unit.total, id: unit.id };
|
|
137
|
+
}),
|
|
138
|
+
spells: spells.map((spell) => {
|
|
139
|
+
const _spell = Constants_1.RAW_DATA.RAW_UNITS.find((raw) => raw.category === 'spell' && raw.id === spell.id);
|
|
140
|
+
return { name: _spell?.name ?? null, count: spell.total, id: spell.id };
|
|
141
|
+
})
|
|
142
|
+
};
|
|
143
|
+
}
|
|
114
144
|
}
|
|
115
145
|
exports.Util = Util;
|
package/dist/util/raw.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "RAW_UNITS": [{ "id": 0, "name": "Barbarian", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 1, "cost": 100, "time": 10, "resource": "Elixir", "building": "Barracks", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 20, "regenerationTimes": [], "dps": [8, 11, 14, 18, 23, 26, 30, 34, 38, 42], "upgrade": { "cost": [20000, 60000, 200000, 650000, 1400000, 2500000, 4000000, 8000000, 15000000], "time": [7200, 18000, 43200, 86400, 129600, 259200, 388800, 864000, 1209600], "resource": "Elixir" }, "seasonal": false, "levels": [1, 1, 2, 2, 3, 3, 4, 5, 6, 7, 8, 9, 9, 10] }, { "id": 1, "name": "Archer", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 500, "time": 60, "resource": "Elixir", "building": "Barracks", "buildingLevel": 2 }, "resourceType": "Elixir", "trainingTime": 24, "regenerationTimes": [], "dps": [7, 9, 12, 16, 20, 22, 25, 28, 31, 34], "upgrade": { "cost": [30000, 80000, 300000, 800000, 2000000, 3000000, 4500000, 9000000, 15500000], "time": [10800, 21600, 43200, 86400, 129600, 259200, 432000, 907200, 1209600], "resource": "Elixir" }, "seasonal": false, "levels": [0, 1, 2, 2, 3, 3, 4, 5, 6, 7, 8, 9, 9, 10] }, { "id": 2, "name": "Goblin", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 5000, "time": 3600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 4 }, "resourceType": "Elixir", "trainingTime": 28, "regenerationTimes": [], "dps": [11, 14, 19, 24, 32, 42, 52, 62], "upgrade": { "cost": [45000, 175000, 500000, 1200000, 2000000, 3500000, 9000000], "time": [18000, 32400, 43200, 86400, 129600, 345600, 1036800], "resource": "Elixir" }, "seasonal": false, "levels": [0, 1, 2, 2, 3, 3, 4, 5, 6, 7, 7, 8, 8, 8] }, { "id": 3, "name": "Giant", "housingSpace": 5, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 2500, "time": 600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 3 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [11, 14, 19, 24, 31, 43, 50, 57, 64, 72], "upgrade": { "cost": [40000, 150000, 500000, 1200000, 2000000, 3500000, 5000000, 9000000, 13000000], "time": [14400, 28800, 43200, 86400, 172800, 345600, 691200, 1123200, 1296000], "resource": "Elixir" }, "seasonal": false, "levels": [0, 1, 1, 2, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10] }, { "id": 4, "name": "Wall Breaker", "housingSpace": 2, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 3, "cost": 10000, "time": 14400, "resource": "Elixir", "building": "Barracks", "buildingLevel": 5 }, "resourceType": "Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [6, 10, 15, 20, 43, 55, 66, 75, 86, 94], "upgrade": { "cost": [100000, 250000, 600000, 1200000, 3000000, 6000000, 10500000, 13000000, 16000000], "time": [21600, 43200, 64800, 86400, 216000, 432000, 864000, 1252800, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 9, 10] }, { "id": 5, "name": "Balloon", "housingSpace": 5, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 4, "cost": 75000, "time": 28800, "resource": "Elixir", "building": "Barracks", "buildingLevel": 6 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [25, 32, 48, 72, 108, 162, 198, 236, 256, 276], "upgrade": { "cost": [125000, 400000, 800000, 1500000, 2750000, 6500000, 11000000, 14000000, 18000000], "time": [28800, 43200, 64800, 86400, 302400, 648000, 1166400, 1382400, 1555200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 2, 2, 3, 4, 5, 6, 6, 7, 8, 9, 10] }, { "id": 6, "name": "Wizard", "housingSpace": 4, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 5, "cost": 200000, "time": 43200, "resource": "Elixir", "building": "Barracks", "buildingLevel": 7 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [50, 70, 90, 125, 170, 185, 200, 215, 230, 245], "upgrade": { "cost": [120000, 320000, 620000, 1200000, 2200000, 4200000, 7200000, 9200000, 14200000], "time": [28800, 43200, 64800, 86400, 172800, 345600, 648000, 1080000, 1252800], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10] }, { "id": 7, "name": "Healer", "housingSpace": 14, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 6, "cost": 600000, "time": 57600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 8 }, "resourceType": "Elixir", "trainingTime": 480, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [450000, 900000, 2700000, 6000000, 13000000, 17000000], "time": [43200, 86400, 172800, 864000, 1209600, 1468800], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 1, 2, 3, 4, 4, 5, 5, 6, 7] }, { "id": 8, "name": "Dragon", "housingSpace": 20, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 7, "cost": 900000, "time": 86400, "resource": "Elixir", "building": "Barracks", "buildingLevel": 9 }, "resourceType": "Elixir", "trainingTime": 720, "regenerationTimes": [], "dps": [140, 160, 180, 210, 240, 270, 310, 330, 350], "upgrade": { "cost": [1000000, 2000000, 3000000, 4500000, 7000000, 10000000, 15000000, 18500000], "time": [64800, 129600, 259200, 518400, 691200, 1209600, 1382400, 1555200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 6, 7, 8, 9] }, { "id": 9, "name": "P.E.K.K.A", "housingSpace": 25, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 8, "cost": 1200000, "time": 129600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 10 }, "resourceType": "Elixir", "trainingTime": 720, "regenerationTimes": [], "dps": [260, 290, 320, 360, 410, 470, 540, 610, 680], "upgrade": { "cost": [1200000, 1800000, 2800000, 3800000, 5000000, 7500000, 11000000, 14000000], "time": [43200, 86400, 172800, 345600, 475200, 734400, 1209600, 1296000], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 3, 4, 6, 7, 8, 9, 9] }, { "id": 10, "name": "Minion", "housingSpace": 2, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 7, "cost": 100000, "time": 14400, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 1 }, "resourceType": "Dark Elixir", "trainingTime": 36, "regenerationTimes": [], "dps": [38, 41, 44, 47, 50, 54, 58, 62, 66, 70], "upgrade": { "cost": [3000, 7000, 15000, 25000, 40000, 90000, 150000, 250000, 300000], "time": [28800, 57600, 86400, 172800, 345600, 604800, 1209600, 1339200, 1425600], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 2, 4, 5, 6, 7, 8, 9, 10] }, { "id": 11, "name": "Hog Rider", "housingSpace": 5, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 7, "cost": 300000, "time": 43200, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 2 }, "resourceType": "Dark Elixir", "trainingTime": 90, "regenerationTimes": [], "dps": [60, 70, 80, 92, 105, 118, 135, 148, 161, 174, 187], "upgrade": { "cost": [5000, 9000, 16000, 30000, 50000, 100000, 150000, 240000, 280000, 320000], "time": [36000, 72000, 108000, 172800, 345600, 648000, 993600, 1209600, 1382400, 1468800], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 2, 4, 5, 6, 7, 9, 10, 11] }, { "id": 12, "name": "Valkyrie", "housingSpace": 8, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 8, "cost": 500000, "time": 64800, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 3 }, "resourceType": "Dark Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [94, 106, 119, 133, 148, 163, 178, 193, 208], "upgrade": { "cost": [8000, 12000, 25000, 45000, 90000, 175000, 260000, 310000], "time": [86400, 172800, 259200, 432000, 648000, 950400, 1382400, 1468800], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 2, 4, 5, 6, 7, 8, 9] }, { "id": 13, "name": "Golem", "housingSpace": 30, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 8, "cost": 900000, "time": 86400, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 4 }, "resourceType": "Dark Elixir", "trainingTime": 600, "regenerationTimes": [], "dps": [35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85], "upgrade": { "cost": [10000, 20000, 30000, 50000, 75000, 110000, 160000, 200000, 270000, 320000], "time": [108000, 216000, 324000, 432000, 604800, 691200, 907200, 1209600, 1382400, 1468800], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 2, 4, 5, 7, 9, 10, 11] }, { "id": 15, "name": "Witch", "housingSpace": 12, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 9, "cost": 1500000, "time": 172800, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 5 }, "resourceType": "Dark Elixir", "trainingTime": 240, "regenerationTimes": [], "dps": [100, 110, 140, 160, 180], "upgrade": { "cost": [50000, 80000, 130000, 200000], "time": [345600, 475200, 820800, 1209600], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 5, 5] }, { "id": 17, "name": "Lava Hound", "housingSpace": 30, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 9, "cost": 2200000, "time": 259200, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 6 }, "resourceType": "Dark Elixir", "trainingTime": 600, "regenerationTimes": [], "dps": [10, 12, 14, 16, 18, 20], "upgrade": { "cost": [35000, 60000, 120000, 190000, 270000], "time": [216000, 432000, 777600, 1209600, 1382400], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 6, 6] }, { "id": 22, "name": "Bowler", "housingSpace": 6, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 10, "cost": 3000000, "time": 432000, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 7 }, "resourceType": "Dark Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [60, 70, 80, 90, 96, 102], "upgrade": { "cost": [75000, 125000, 200000, 280000, 320000], "time": [345600, 604800, 1036800, 1252800, 1512000], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 6] }, { "id": 23, "name": "Baby Dragon", "housingSpace": 10, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 9, "cost": 1800000, "time": 216000, "resource": "Elixir", "building": "Barracks", "buildingLevel": 11 }, "resourceType": "Elixir", "trainingTime": 360, "regenerationTimes": [], "dps": [75, 85, 95, 105, 115, 125, 135, 145], "upgrade": { "cost": [2000000, 3000000, 4000000, 6000000, 9000000, 12000000, 17000000], "time": [172800, 345600, 518400, 777600, 1036800, 1209600, 1425600], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 5, 6, 7, 8] }, { "id": 24, "name": "Miner", "housingSpace": 6, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 10, "cost": 2500000, "time": 345600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 12 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [80, 88, 96, 104, 112, 120, 128, 136], "upgrade": { "cost": [3000000, 4000000, 5000000, 7000000, 9500000, 13000000, 17500000], "time": [216000, 345600, 518400, 864000, 1123200, 1339200, 1468800], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 6, 7, 8] }, { "id": 26, "name": "Super Barbarian", "housingSpace": 5, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 1, "cost": 100, "time": 10, "resource": "Elixir", "building": "Barracks", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 100, "regenerationTimes": [], "dps": [180, 200, 220], "upgrade": { "cost": [80000], "time": [864000], "resource": "Dark Elixir" }, "seasonal": false, "levels": [1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3] }, { "id": 27, "name": "Super Archer", "housingSpace": 12, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 500, "time": 60, "resource": "Elixir", "building": "Barracks", "buildingLevel": 2 }, "resourceType": "Elixir", "trainingTime": 288, "regenerationTimes": [], "dps": [120, 132, 144], "upgrade": { "cost": [80000], "time": [864000], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3] }, { "id": 28, "name": "Super Wall Breaker", "housingSpace": 8, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 3, "cost": 10000, "time": 14400, "resource": "Elixir", "building": "Barracks", "buildingLevel": 5 }, "resourceType": "Elixir", "trainingTime": 240, "regenerationTimes": [], "dps": [78, 100, 120, 130], "upgrade": { "cost": [80000], "time": [864000], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4] }, { "id": 29, "name": "Super Giant", "housingSpace": 10, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 2500, "time": 600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 3 }, "resourceType": "Elixir", "trainingTime": 240, "regenerationTimes": [], "dps": [130, 140], "upgrade": { "cost": [80000], "time": [864000], "resource": "Elixir" }, "seasonal": false, "levels": [0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2] }, { "id": 30, "name": "Ice Wizard", "housingSpace": 4, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 5, "cost": 200000, "time": 43200, "resource": "Elixir", "building": "Barracks", "buildingLevel": 7 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [40, 56, 72, 100, 136, 148, 160, 172, 184, 196], "upgrade": { "cost": [150000, 450000, 1350000, 2500000, 5000000, 7000000, 9000000, 11000000, 15000000], "time": [43200, 129600, 172800, 259200, 432000, 518400, 864000, 1209600, 1296000], "resource": "Elixir" }, "seasonal": true, "levels": [0, 0, 0, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10] }, { "id": 31, "name": "Raged Barbarian", "housingSpace": 2, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 1, "cost": 1000, "time": 0, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 1 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [50, 50, 55, 55, 61, 61, 67, 67, 74, 74, 81, 81, 89, 89, 98, 98, 108, 108], "upgrade": { "cost": [3500, 6000, 9000, 50000, 100000, 300000, 330000, 700000, 900000, 1000000, 1200000, 2000000, 2200000, 3000000, 3200000, 3800000, 4000000], "time": [300, 900, 10800, 21600, 43200, 43200, 86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [2, 4, 6, 8, 10, 12, 14, 16, 18] }, { "id": 32, "name": "Sneaky Archer", "housingSpace": 2, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 4000, "time": 60, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 2 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [36, 36, 40, 40, 44, 44, 48, 48, 53, 53, 58, 58, 64, 64, 70, 70, 77, 77], "upgrade": { "cost": [5000, 8000, 12000, 60000, 120000, 320000, 350000, 800000, 1000000, 1100000, 1300000, 2100000, 2300000, 3100000, 3300000, 3900000, 4100000], "time": [180, 600, 1800, 14400, 21600, 43200, 43200, 86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 4, 6, 8, 10, 12, 14, 16, 18] }, { "id": 33, "name": "Beta Minion", "housingSpace": 2, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 3, "cost": 25000, "time": 1800, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 4 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [36, 36, 40, 40, 44, 44, 48, 48, 53, 53, 58, 58, 64, 64, 70, 70, 77, 77], "upgrade": { "cost": [50000, 80000, 120000, 250000, 280000, 320000, 360000, 900000, 1100000, 1300000, 1500000, 2300000, 2500000, 3300000, 3500000, 4000000, 4200000], "time": [3600, 10800, 18000, 28800, 43200, 43200, 43200, 86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 4, 8, 10, 12, 14, 16, 18] }, { "id": 34, "name": "Boxer Giant", "housingSpace": 8, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 3, "cost": 10000, "time": 600, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 3 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [36, 36, 40, 40, 44, 44, 48, 48, 53, 53, 58, 58, 64, 64, 70, 70, 77, 85], "upgrade": { "cost": [20000, 40000, 60000, 300000, 320000, 340000, 380000, 1000000, 1200000, 1300000, 1500000, 2300000, 2500000, 3300000, 3500000, 4000000, 4200000], "time": [1800, 3600, 7200, 28800, 43200, 43200, 43200, 86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 4, 8, 10, 12, 14, 16, 18] }, { "id": 35, "name": "Bomber", "housingSpace": 4, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 4, "cost": 100000, "time": 10800, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 5 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [36, 36, 40, 40, 44, 44, 48, 48, 53, 53, 58, 58, 64, 64, 70, 70, 77, 77], "upgrade": { "cost": [150000, 200000, 250000, 280000, 320000, 340000, 360000, 900000, 1000000, 1200000, 1400000, 2200000, 2400000, 3200000, 3400000, 3900000, 4100000], "time": [10800, 18000, 28800, 43200, 43200, 43200, 43200, 86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 8, 10, 12, 14, 16, 18] }, { "id": 36, "name": "Super P.E.K.K.A", "housingSpace": 25, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 8, "cost": 1500000, "time": 86400, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 10 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [305, 305, 336, 336, 369, 369, 406, 406, 447, 447, 491, 491, 540, 540, 594, 594, 653, 718], "upgrade": { "cost": [1600000, 1700000, 1800000, 1900000, 2000000, 2200000, 2400000, 2600000, 2800000, 3000000, 3200000, 3400000, 3600000, 3800000, 4000000, 4600000, 4800000], "time": [86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 345600, 345600, 345600, 345600, 345600, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 16, 18] }, { "id": 37, "name": "Cannon Cart", "housingSpace": 8, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 5, "cost": 300000, "time": 28800, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 7 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [85, 85, 94, 94, 103, 120, 130, 130, 141, 141, 153, 153, 167, 184, 199, 216, 233, 251], "upgrade": { "cost": [400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1400000, 1600000, 2400000, 2600000, 3400000, 3600000, 4100000, 4300000], "time": [43200, 43200, 86400, 86400, 86400, 86400, 86400, 86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 10, 12, 14, 16, 18] }, { "id": 38, "name": "Drop Ship", "housingSpace": 5, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 7, "cost": 1000000, "time": 43200, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 9 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10], "upgrade": { "cost": [1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 2000000, 2200000, 2400000, 2600000, 2800000, 3600000, 3800000, 4300000, 4500000], "time": [43200, 43200, 86400, 86400, 172800, 172800, 259200, 259200, 259200, 259200, 259200, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 14, 16, 18] }, { "id": 41, "name": "Baby Dragon", "housingSpace": 10, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 4, "cost": 150000, "time": 21600, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 6 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [40, 40, 44, 44, 48, 48, 53, 53, 58, 58, 64, 64, 70, 70, 77, 77, 85, 85], "upgrade": { "cost": [200000, 240000, 280000, 320000, 360000, 380000, 400000, 1000000, 1200000, 1400000, 1600000, 2400000, 2600000, 3400000, 3600000, 4100000, 4300000], "time": [18000, 28800, 43200, 43200, 43200, 43200, 43200, 86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 8, 10, 12, 14, 16, 18] }, { "id": 42, "name": "Night Witch", "housingSpace": 12, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 6, "cost": 500000, "time": 36000, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 8 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [90, 90, 99, 99, 109, 109, 120, 120, 132, 132, 145, 145, 160, 160, 176, 176, 194, 213], "upgrade": { "cost": [600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1600000, 1800000, 2500000, 2700000, 3500000, 3700000, 4200000, 4400000], "time": [43200, 43200, 86400, 86400, 172800, 172800, 172800, 172800, 172800, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 12, 14, 16, 18] }, { "id": 45, "name": "Battle Ram", "housingSpace": 4, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 2500, "time": 600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 3 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [6000], "upgrade": { "cost": [100000], "time": [86400], "resource": "Elixir" }, "seasonal": true, "levels": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] }, { "id": 47, "name": "Royal Ghost", "housingSpace": 8, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 5, "cost": 200000, "time": 43200, "resource": "Elixir", "building": "Barracks", "buildingLevel": 7 }, "resourceType": "Elixir", "trainingTime": 150, "regenerationTimes": [], "dps": [200, 280, 360, 440, 520, 600, 680], "upgrade": { "cost": [5000], "time": [86400], "resource": "Elixir" }, "seasonal": true, "levels": [0, 0, 0, 0, 1, 2, 2, 3, 4, 5, 6, 7, 7, 7] }, { "id": 48, "name": "Pumpkin Barbarian", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 1, "cost": 100, "time": 10, "resource": "Elixir", "building": "Barracks", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 20, "regenerationTimes": [], "dps": [8, 11, 14, 18, 23, 26, 30], "upgrade": { "cost": [50000, 150000, 500000, 1500000, 4500000, 6000000], "time": [21600, 86400, 259200, 432000, 864000, 1209600], "resource": "Elixir" }, "seasonal": true, "levels": [1, 1, 2, 2, 3, 3, 4, 5, 6, 7, 7, 7, 7, 7] }, { "id": 50, "name": "Giant Skeleton", "housingSpace": 20, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 2500, "time": 600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 3 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [22, 28, 38, 48, 62, 86, 100, 114], "upgrade": { "cost": [100000, 250000, 750000, 2250000, 5000000, 6000000, 9500000], "time": [86400, 172800, 259200, 432000, 864000, 1036800, 1209600], "resource": "Elixir" }, "seasonal": true, "levels": [0, 1, 1, 2, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8] }, { "id": 51, "name": "Wall Wrecker", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "siege", "unlock": { "hall": 12, "cost": 5000000, "time": 518400, "resource": "Elixir", "building": "Workshop", "buildingLevel": 1 }, "resourceType": "Gold", "trainingTime": 1200, "regenerationTimes": [], "dps": [250, 300, 350, 400], "upgrade": { "cost": [6000000, 8000000, 14000000], "time": [691200, 864000, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 4] }, { "id": 52, "name": "Battle Blimp", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "siege", "unlock": { "hall": 12, "cost": 8000000, "time": 691200, "resource": "Elixir", "building": "Workshop", "buildingLevel": 2 }, "resourceType": "Gold", "trainingTime": 1200, "regenerationTimes": [], "dps": [100, 140, 180, 220], "upgrade": { "cost": [6000000, 8000000, 14000000], "time": [691200, 864000, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 4] }, { "id": 53, "name": "Yeti", "housingSpace": 18, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 12, "cost": 5000000, "time": 777600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 14 }, "resourceType": "Elixir", "trainingTime": 720, "regenerationTimes": [], "dps": [230, 250, 270, 290], "upgrade": { "cost": [11000000, 15000000, 18000000], "time": [950400, 1382400, 1555200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4] }, { "id": 55, "name": "Sneaky Goblin", "housingSpace": 3, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 5000, "time": 3600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 4 }, "resourceType": "Elixir", "trainingTime": 84, "regenerationTimes": [], "dps": [160, 190], "upgrade": { "cost": [80000], "time": [43200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2] }, { "id": 57, "name": "Rocket Balloon", "housingSpace": 8, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 4, "cost": 75000, "time": 28800, "resource": "Elixir", "building": "Barracks", "buildingLevel": 6 }, "resourceType": "Elixir", "trainingTime": 192, "regenerationTimes": [], "dps": [236, 256, 276], "upgrade": { "cost": [150000], "time": [43200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3] }, { "id": 58, "name": "Ice Golem", "housingSpace": 15, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 11, "cost": 4000000, "time": 777600, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 8 }, "resourceType": "Dark Elixir", "trainingTime": 300, "regenerationTimes": [], "dps": [24, 28, 32, 36, 40, 44], "upgrade": { "cost": [80000, 120000, 160000, 200000, 320000], "time": [345600, 604800, 907200, 1209600, 1468800], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 5, 6] }, { "id": 59, "name": "Electro Dragon", "housingSpace": 30, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 11, "cost": 4000000, "time": 518400, "resource": "Elixir", "building": "Barracks", "buildingLevel": 13 }, "resourceType": "Elixir", "trainingTime": 1440, "regenerationTimes": [], "dps": [240, 270, 300, 330, 360], "upgrade": { "cost": [9000000, 11000000, 16000000, 19000000], "time": [691200, 1209600, 1382400, 1555200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5] }, { "id": 61, "name": "Skeleton Barrel", "housingSpace": 5, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 4, "cost": 75000, "time": 28800, "resource": "Elixir", "building": "Barracks", "buildingLevel": 6 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [75, 96, 144, 216, 324, 486, 594, 708, 768], "upgrade": { "cost": [150000, 450000, 1350000, 2500000, 6000000, 9500000, 12000000, 12000000], "time": [43200, 129600, 172800, 302400, 561600, 993600, 1209600, 1209600], "resource": "Elixir" }, "seasonal": true, "levels": [0, 0, 0, 2, 2, 3, 4, 5, 6, 6, 7, 8, 9, 9] }, { "id": 62, "name": "Stone Slammer", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "siege", "unlock": { "hall": 12, "cost": 10500000, "time": 864000, "resource": "Elixir", "building": "Workshop", "buildingLevel": 3 }, "resourceType": "Gold", "trainingTime": 1200, "regenerationTimes": [], "dps": [400, 500, 600, 700], "upgrade": { "cost": [6000000, 8000000, 14000000], "time": [691200, 864000, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 4] }, { "id": 63, "name": "Inferno Dragon", "housingSpace": 15, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 9, "cost": 1800000, "time": 216000, "resource": "Elixir", "building": "Barracks", "buildingLevel": 11 }, "resourceType": "Elixir", "trainingTime": 540, "regenerationTimes": [], "dps": [75, 79, 83], "upgrade": { "cost": [240000], "time": [1209600], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3] }, { "id": 64, "name": "Super Valkyrie", "housingSpace": 20, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 8, "cost": 500000, "time": 64800, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 3 }, "resourceType": "Dark Elixir", "trainingTime": 450, "regenerationTimes": [], "dps": [250, 300, 325], "upgrade": { "cost": [40000], "time": [345600], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3] }, { "id": 65, "name": "Dragon Rider", "housingSpace": 25, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 13, "cost": 6000000, "time": 950400, "resource": "Elixir", "building": "Barracks", "buildingLevel": 15 }, "resourceType": "Elixir", "trainingTime": 1000, "regenerationTimes": [], "dps": [340, 370, 400], "upgrade": { "cost": [16000000, 17500000], "time": [1296000, 1468800], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3] }, { "id": 66, "name": "Super Witch", "housingSpace": 40, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 9, "cost": 1500000, "time": 172800, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 5 }, "resourceType": "Dark Elixir", "trainingTime": 800, "regenerationTimes": [], "dps": [360], "upgrade": { "cost": [75000], "time": [518400], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1] }, { "id": 67, "name": "El Primo", "housingSpace": 10, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 5, "cost": 200000, "time": 43200, "resource": "Elixir", "building": "Barracks", "buildingLevel": 7 }, "resourceType": "Dark Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [120], "upgrade": { "cost": [120000], "time": [734400], "resource": "Dark Elixir" }, "seasonal": true, "levels": [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] }, { "id": 70, "name": "Hog Glider", "housingSpace": 5, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 9, "cost": 2000000, "time": 129600, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 11 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [700, 700, 700, 700, 700, 700, 700, 700, 700, 900, 900, 900, 900, 1100, 1100, 1100, 1100, 1100], "upgrade": { "cost": [1600000, 1700000, 1800000, 1900000, 2000000, 2200000, 2400000, 2600000, 2800000, 3000000, 3200000, 3400000, 3600000, 3800000, 4000000, 4200000, 4400000], "time": [86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 345600, 345600, 345600, 345600, 345600, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 18] }, { "id": 72, "name": "Party Wizard", "housingSpace": 4, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 5, "cost": 200000, "time": 43200, "resource": "Elixir", "building": "Barracks", "buildingLevel": 7 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [75, 105, 135, 188, 255, 278, 300, 322, 345, 367], "upgrade": { "cost": [], "time": [], "resource": "Elixir" }, "seasonal": true, "levels": [0, 0, 0, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10] }, { "id": 75, "name": "Siege Barracks", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "siege", "unlock": { "hall": 13, "cost": 14500000, "time": 1209600, "resource": "Elixir", "building": "Workshop", "buildingLevel": 4 }, "resourceType": "Gold", "trainingTime": 1200, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [8000000, 11000000, 14000000], "time": [864000, 1209600, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4] }, { "id": 76, "name": "Ice Hound", "housingSpace": 40, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 9, "cost": 2200000, "time": 259200, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 6 }, "resourceType": "Dark Elixir", "trainingTime": 800, "regenerationTimes": [], "dps": [10, 15], "upgrade": { "cost": [240000, 280000], "time": [1209600, 1382400], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2] }, { "id": 80, "name": "Super Bowler", "housingSpace": 30, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 10, "cost": 3000000, "time": 432000, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 7 }, "resourceType": "Dark Elixir", "trainingTime": 600, "regenerationTimes": [], "dps": [170, 185, 200], "upgrade": { "cost": [75000], "time": [], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3] }, { "id": 81, "name": "Super Dragon", "housingSpace": 40, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 7, "cost": 900000, "time": 86400, "resource": "Elixir", "building": "Barracks", "buildingLevel": 9 }, "resourceType": "Elixir", "trainingTime": 1440, "regenerationTimes": [], "dps": [80, 87, 94], "upgrade": { "cost": [], "time": [], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3] }, { "id": 82, "name": "Headhunter", "housingSpace": 6, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 12, "cost": 7500000, "time": 1123200, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 9 }, "resourceType": "Dark Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [105, 115, 125], "upgrade": { "cost": [180000, 240000], "time": [1209600, 1382400], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 3] }, { "id": 83, "name": "Super Wizard", "housingSpace": 10, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 5, "cost": 200000, "time": 43200, "resource": "Elixir", "building": "Barracks", "buildingLevel": 7 }, "resourceType": "Elixir", "trainingTime": 300, "regenerationTimes": [], "dps": [220, 240], "upgrade": { "cost": [4000000], "time": [432000], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2] }, { "id": 84, "name": "Super Minion", "housingSpace": 12, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 7, "cost": 100000, "time": 14400, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 1 }, "resourceType": "Dark Elixir", "trainingTime": 216, "regenerationTimes": [], "dps": [300, 325, 350], "upgrade": { "cost": [10000], "time": [259200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3] }, { "id": 87, "name": "Log Launcher", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "siege", "unlock": { "hall": 13, "cost": 16000000, "time": 1382400, "resource": "Elixir", "building": "Workshop", "buildingLevel": 5 }, "resourceType": "Gold", "trainingTime": 1200, "regenerationTimes": [], "dps": [140, 160, 180, 200], "upgrade": { "cost": [8000000, 11000000, 14000000], "time": [864000, 1209600, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4] }, { "id": 91, "name": "Flame Flinger", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "siege", "unlock": { "hall": 14, "cost": 17500000, "time": 1555200, "resource": "Elixir", "building": "Workshop", "buildingLevel": 6 }, "resourceType": "Gold", "trainingTime": 1200, "regenerationTimes": [], "dps": [135, 145, 155, 165], "upgrade": { "cost": [8000000, 11000000, 14000000], "time": [864000, 1209600, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4] }, { "id": 0, "name": "Lightning Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 5, "cost": 150000, "time": 28800, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [50000, 100000, 200000, 600000, 1500000, 3000000, 6000000, 10000000], "time": [14400, 28800, 43200, 86400, 345600, 604800, 907200, 1123200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 4, 4, 4, 5, 6, 7, 8, 9, 9, 9] }, { "id": 1, "name": "Healing Spell", "housingSpace": 2, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 6, "cost": 300000, "time": 86400, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 2 }, "resourceType": "Elixir", "trainingTime": 360, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [75000, 150000, 300000, 900000, 1800000, 3600000, 14000000], "time": [18000, 36000, 72000, 129600, 345600, 604800, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 3, 4, 5, 6, 7, 7, 7, 8, 8] }, { "id": 2, "name": "Rage Spell", "housingSpace": 2, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 7, "cost": 600000, "time": 172800, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 3 }, "resourceType": "Elixir", "trainingTime": 360, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [400000, 800000, 1600000, 2400000, 11000000], "time": [43200, 86400, 172800, 345600, 993600], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 4, 5, 5, 5, 5, 6, 6, 6] }, { "id": 3, "name": "Jump Spell", "housingSpace": 2, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 9, "cost": 1200000, "time": 302400, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 4 }, "resourceType": "Elixir", "trainingTime": 360, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [2000000, 4000000, 12000000], "time": [345600, 604800, 1296000], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 3, 3, 4, 4] }, { "id": 5, "name": "Freeze Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 9, "cost": 1200000, "time": 302400, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 4 }, "resourceType": "Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [1200000, 2000000, 3600000, 5000000, 8500000, 11000000], "time": [129600, 259200, 432000, 648000, 777600, 993600], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 2, 5, 6, 7, 7, 7] }, { "id": 4, "name": "Santa's Surprise", "housingSpace": 2, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 5, "cost": 150000, "time": 28800, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 360, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [], "time": [], "resource": "Elixir" }, "seasonal": true, "levels": [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] }, { "id": 9, "name": "Poison Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 8, "cost": 150000, "time": 21600, "resource": "Elixir", "building": "Dark Spell Factory", "buildingLevel": 1 }, "resourceType": "Dark Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [12000, 25000, 50000, 100000, 175000, 260000, 300000], "time": [28800, 86400, 259200, 777600, 950400, 1339200, 1512000], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 6, 7, 8] }, { "id": 10, "name": "Earthquake Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 8, "cost": 300000, "time": 64800, "resource": "Elixir", "building": "Dark Spell Factory", "buildingLevel": 2 }, "resourceType": "Dark Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [15000, 30000, 60000, 120000], "time": [64800, 129600, 432000, 950400], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 5, 5, 5] }, { "id": 11, "name": "Haste Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 9, "cost": 600000, "time": 172800, "resource": "Elixir", "building": "Dark Spell Factory", "buildingLevel": 3 }, "resourceType": "Dark Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [20000, 40000, 70000, 110000], "time": [129600, 259200, 518400, 950400], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 5, 5, 5, 5] }, { "id": 16, "name": "Clone Spell", "housingSpace": 3, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 10, "cost": 2400000, "time": 432000, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 5 }, "resourceType": "Elixir", "trainingTime": 540, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [2500000, 4000000, 6000000, 8000000, 12000000, 16500000], "time": [172800, 345600, 475200, 864000, 1296000, 1425600], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 5, 6, 7] }, { "id": 17, "name": "Skeleton Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 9, "cost": 1200000, "time": 345600, "resource": "Elixir", "building": "Dark Spell Factory", "buildingLevel": 4 }, "resourceType": "Dark Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [25000, 40000, 70000, 125000, 150000, 250000], "time": [129600, 259200, 518400, 734400, 907200, 1296000], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 4, 6, 7, 7] }, { "id": 22, "name": "Birthday Boom", "housingSpace": 2, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 5, "cost": 150000, "time": 28800, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 360, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [], "time": [], "resource": "Elixir" }, "seasonal": true, "levels": [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] }, { "id": 28, "name": "Bat Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 10, "cost": 2500000, "time": 518400, "resource": "Elixir", "building": "Dark Spell Factory", "buildingLevel": 5 }, "resourceType": "Dark Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [30000, 60000, 100000, 150000], "time": [172800, 345600, 648000, 777600], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 5, 5, 5] }, { "id": 35, "name": "Invisibility Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 11, "cost": 4800000, "time": 604800, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 6 }, "resourceType": "Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [8000000, 12000000, 15000000], "time": [691200, 993600, 1339200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 4] }, { "id": 0, "name": "Barbarian King", "housingSpace": 25, "village": "home", "category": "hero", "subCategory": "hero", "unlock": { "hall": 7, "cost": 5000, "time": 0, "resource": "Dark Elixir", "building": "Barbarian King", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 0, "regenerationTimes": [600, 600, 600, 600, 720, 720, 720, 720, 720, 840, 840, 840, 840, 840, 960, 960, 960, 960, 960, 1080, 1080, 1080, 1080, 1080, 1200, 1200, 1200, 1200, 1200, 1320, 1320, 1320, 1320, 1320, 1440, 1440, 1440, 1440, 1440, 1560, 1560, 1560, 1560, 1560, 1680, 1680, 1680, 1680, 1680, 1800, 1800, 1800, 1800, 1800, 1920, 1920, 1920, 1920, 1920, 2040, 2040, 2040, 2040, 2040, 2160, 2160, 2160, 2160, 2160, 2280, 2280, 2280, 2280, 2280, 2400, 2400, 2400, 2400, 2400, 2520], "dps": [120, 122, 124, 127, 129, 132, 135, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 168, 171, 174, 178, 181, 185, 189, 193, 196, 200, 204, 208, 213, 217, 221, 226, 230, 235, 239, 244, 249, 254, 259, 275, 281, 287, 293, 299, 305, 312, 318, 325, 332, 339, 346, 353, 361, 369, 377, 385, 393, 401, 410, 418, 426, 435, 444, 453, 462, 471, 480, 490, 500, 510, 520, 530, 540, 550, 559, 568, 577, 586, 595], "upgrade": { "cost": [6000, 7000, 8000, 10000, 11000, 12000, 13000, 14000, 15000, 17000, 19000, 21000, 23000, 25000, 27000, 29000, 31000, 33000, 35000, 37000, 39000, 41000, 43000, 45000, 47000, 49000, 51000, 53000, 55000, 57000, 59000, 61000, 63000, 65000, 68000, 71000, 74000, 77000, 80000, 86000, 92000, 98000, 104000, 110000, 116000, 122000, 128000, 134000, 140000, 146000, 152000, 158000, 164000, 170000, 178000, 186000, 194000, 202000, 210000, 217000, 224000, 230000, 235000, 240000, 250000, 260000, 270000, 280000, 290000, 292000, 294000, 296000, 298000, 300000, 305000, 310000, 315000, 320000, 325000], "time": [14400, 21600, 28800, 36000, 43200, 50400, 57600, 64800, 72000, 79200, 86400, 115200, 144000, 172800, 172800, 172800, 172800, 172800, 216000, 216000, 216000, 216000, 216000, 259200, 259200, 259200, 259200, 259200, 345600, 345600, 345600, 345600, 345600, 432000, 432000, 432000, 432000, 432000, 518400, 518400, 518400, 518400, 518400, 561600, 561600, 561600, 561600, 561600, 561600, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 648000, 648000, 648000, 648000, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 5, 10, 30, 40, 50, 65, 75, 80] }, { "id": 1, "name": "Archer Queen", "housingSpace": 25, "village": "home", "category": "hero", "subCategory": "hero", "unlock": { "hall": 9, "cost": 10000, "time": 0, "resource": "Dark Elixir", "building": "Archer Queen", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 0, "regenerationTimes": [600, 600, 600, 600, 720, 720, 720, 720, 720, 840, 840, 840, 840, 840, 960, 960, 960, 960, 960, 1080, 1080, 1080, 1080, 1080, 1200, 1200, 1200, 1200, 1200, 1320, 1320, 1320, 1320, 1320, 1440, 1440, 1440, 1440, 1440, 1560, 1560, 1560, 1560, 1560, 1680, 1680, 1680, 1680, 1680, 1800, 1800, 1800, 1800, 1800, 1920, 1920, 1920, 1920, 1920, 2040, 2040, 2040, 2040, 2040, 2160, 2160, 2160, 2160, 2160, 2280, 2280, 2280, 2280, 2280, 2400, 2400, 2400, 2400, 2400, 2520], "dps": [160, 164, 168, 172, 176, 181, 185, 190, 194, 199, 204, 209, 215, 220, 226, 231, 237, 243, 249, 255, 262, 268, 275, 282, 289, 296, 304, 311, 319, 327, 335, 344, 352, 361, 370, 379, 389, 398, 408, 419, 429, 440, 451, 462, 474, 486, 498, 510, 523, 536, 547, 558, 570, 582, 594, 606, 619, 632, 645, 658, 671, 684, 698, 712, 726, 739, 751, 762, 772, 781, 789, 796, 802, 808, 814, 820, 825, 830, 835, 840], "upgrade": { "cost": [11000, 12000, 13000, 15000, 16000, 17000, 18000, 19000, 20000, 22000, 24000, 26000, 28000, 30000, 32000, 34000, 36000, 38000, 40000, 42000, 44000, 46000, 48000, 50000, 52000, 54000, 56000, 58000, 60000, 63000, 66000, 69000, 72000, 75000, 78000, 81000, 84000, 87000, 90000, 96000, 102000, 108000, 114000, 120000, 126000, 132000, 138000, 144000, 150000, 156000, 162000, 168000, 174000, 180000, 187000, 194000, 201000, 208000, 215000, 220000, 225000, 230000, 235000, 240000, 250000, 260000, 270000, 280000, 290000, 292000, 294000, 296000, 298000, 300000, 306000, 312000, 318000, 324000, 330000], "time": [14400, 21600, 28800, 36000, 43200, 50400, 57600, 64800, 72000, 79200, 86400, 115200, 144000, 172800, 172800, 172800, 172800, 172800, 216000, 216000, 216000, 216000, 216000, 259200, 259200, 259200, 259200, 259200, 345600, 345600, 345600, 345600, 345600, 432000, 432000, 432000, 432000, 432000, 518400, 518400, 518400, 518400, 518400, 561600, 561600, 561600, 561600, 561600, 561600, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 648000, 648000, 648000, 648000, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 30, 40, 50, 65, 75, 80] }, { "id": 2, "name": "Grand Warden", "housingSpace": 25, "village": "home", "category": "hero", "subCategory": "hero", "unlock": { "hall": 11, "cost": 1000000, "time": 0, "resource": "Elixir", "building": "Grand Warden", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 0, "regenerationTimes": [1200, 1200, 1200, 1200, 1320, 1320, 1320, 1320, 1320, 1440, 1440, 1440, 1440, 1440, 1560, 1560, 1560, 1560, 1560, 1680, 1680, 1680, 1680, 1680, 1800, 1800, 1800, 1800, 1800, 1920, 1920, 1920, 1920, 1920, 2040, 2040, 2040, 2040, 2040, 2160, 2160, 2160, 2160, 2160, 2280, 2280, 2280, 2280, 2280, 2400, 2400, 2400, 2400, 2400, 2520], "dps": [50, 52, 54, 56, 58, 60, 63, 66, 69, 72, 75, 78, 82, 86, 90, 94, 98, 102, 106, 110, 115, 120, 125, 130, 136, 142, 148, 154, 161, 168, 175, 182, 190, 198, 206, 215, 224, 233, 243, 253, 260, 266, 271, 275, 279, 283, 287, 291, 295, 299, 303, 307, 311, 315, 319], "upgrade": { "cost": [1250000, 1500000, 1750000, 2000000, 2250000, 2500000, 2750000, 3000000, 3500000, 4000000, 4500000, 5000000, 5500000, 6000000, 6500000, 7000000, 7500000, 8000000, 9000000, 10000000, 10100000, 10200000, 10300000, 10400000, 10500000, 10600000, 10700000, 10800000, 10900000, 11000000, 11100000, 11200000, 11300000, 11400000, 11500000, 11600000, 11700000, 11800000, 11900000, 12000000, 12500000, 13000000, 13500000, 14000000, 14500000, 15000000, 15500000, 16000000, 16500000, 17000000, 17500000, 18000000, 18500000, 19000000], "time": [7200, 14400, 28800, 43200, 64800, 86400, 108000, 129600, 172800, 216000, 259200, 345600, 432000, 518400, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 648000, 648000, 648000, 648000, 648000, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 40, 50, 55] }, { "id": 3, "name": "Battle Machine", "housingSpace": 25, "village": "builderBase", "category": "hero", "subCategory": "hero", "unlock": { "hall": 5, "cost": 900000, "time": 43200, "resource": "Builder Elixir", "building": "Battle Machine", "buildingLevel": 1 }, "resourceType": "Builder Elixir", "trainingTime": 0, "regenerationTimes": [0], "dps": [125, 127, 130, 132, 135, 137, 140, 142, 145, 147, 150, 154, 157, 160, 164, 167, 170, 174, 177, 180, 186, 192, 198, 204, 210, 218, 226, 234, 242, 250], "upgrade": { "cost": [1000000, 1100000, 1200000, 1300000, 1500000, 1600000, 1700000, 1800000, 1900000, 2100000, 2200000, 2300000, 2400000, 2500000, 2600000, 2700000, 2800000, 2900000, 3000000, 3100000, 3200000, 3300000, 3400000, 3500000, 3600000, 3700000, 3800000, 3900000, 4000000, 4000000], "time": [43200, 43200, 86400, 86400, 86400, 86400, 86400, 86400, 86400, 172800, 172800, 172800, 172800, 172800, 259200, 259200, 259200, 259200, 259200, 259200, 259200, 259200, 259200, 259200, 345600, 345600, 345600, 345600, 345600, 345600], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 5, 10, 20, 25, 30] }, { "id": 4, "name": "Royal Champion", "housingSpace": 25, "village": "home", "category": "hero", "subCategory": "hero", "unlock": { "hall": 13, "cost": 60000, "time": 0, "resource": "Dark Elixir", "building": "Royal Champion", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 0, "regenerationTimes": [1800, 1800, 1800, 1800, 1920, 1920, 1920, 1920, 1920, 2040, 2040, 2040, 2040, 2040, 2160, 2160, 2160, 2160, 2160, 2280, 2280, 2280, 2280, 2280, 2400, 2400, 2400, 2400, 2400, 2520], "dps": [374, 383, 392, 401, 410, 418, 426, 434, 442, 450, 458, 466, 474, 482, 490, 498, 506, 514, 522, 530, 535, 540, 545, 550, 555, 560, 565, 570, 575, 580], "upgrade": { "cost": [80000, 100000, 120000, 140000, 160000, 180000, 190000, 200000, 210000, 220000, 230000, 235000, 240000, 245000, 250000, 255000, 260000, 265000, 270000, 275000, 280000, 285000, 290000, 295000, 300000, 305000, 310000, 315000, 320000], "time": [28800, 57600, 86400, 172800, 259200, 302400, 345600, 388800, 432000, 475200, 518400, 561600, 604800, 604800, 648000, 648000, 648000, 648000, 648000, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 30] }, { "id": 0, "name": "L.A.S.S.I", "housingSpace": 20, "village": "home", "category": "troop", "subCategory": "pet", "unlock": { "hall": 14, "cost": 15000000, "time": 1123200, "resource": "Elixir", "building": "Pet House", "buildingLevel": 1 }, "resourceType": "Dark Elixir", "trainingTime": 0, "regenerationTimes": [], "dps": [150, 160, 170, 180, 190, 200, 210, 220, 230, 240], "upgrade": { "cost": [115000, 130000, 145000, 160000, 175000, 190000, 205000, 220000, 235000], "time": [259200, 345600, 432000, 475200, 518400, 561600, 604800, 648000, 691200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10] }, { "id": 1, "name": "Mighty Yak", "housingSpace": 20, "village": "home", "category": "troop", "subCategory": "pet", "unlock": { "hall": 14, "cost": 18500000, "time": 1468800, "resource": "Elixir", "building": "Pet House", "buildingLevel": 3 }, "resourceType": "Dark Elixir", "trainingTime": 0, "regenerationTimes": [], "dps": [60, 64, 68, 72, 76, 80, 84, 88, 92, 96], "upgrade": { "cost": [165000, 185000, 205000, 225000, 245000, 255000, 265000, 275000, 285000], "time": [259200, 345600, 432000, 475200, 518400, 561600, 604800, 648000, 691200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10] }, { "id": 2, "name": "Electro Owl", "housingSpace": 20, "village": "home", "category": "troop", "subCategory": "pet", "unlock": { "hall": 14, "cost": 17500000, "time": 1296000, "resource": "Elixir", "building": "Pet House", "buildingLevel": 2 }, "resourceType": "Dark Elixir", "trainingTime": 0, "regenerationTimes": [], "dps": [100, 105, 110, 115, 120, 125, 130, 135, 140, 145], "upgrade": { "cost": [135000, 150000, 165000, 180000, 195000, 210000, 225000, 240000, 255000], "time": [259200, 345600, 432000, 475200, 518400, 561600, 604800, 648000, 691200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10] }, { "id": 3, "name": "Unicorn", "housingSpace": 20, "village": "home", "category": "troop", "subCategory": "pet", "unlock": { "hall": 14, "cost": 19500000, "time": 1641600, "resource": "Elixir", "building": "Pet House", "buildingLevel": 4 }, "resourceType": "Dark Elixir", "trainingTime": 0, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [210000, 220000, 230000, 240000, 250000, 260000, 270000, 280000, 290000], "time": [259200, 345600, 432000, 475200, 518400, 561600, 604800, 648000, 691200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10] }], "RAW_SUPER_UNITS": [{ "name": "Super Barbarian", "id": 26, "original": "Barbarian", "minOriginalLevel": 8, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 5 }, { "name": "Sneaky Goblin", "id": 55, "original": "Goblin", "minOriginalLevel": 7, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 3 }, { "name": "Super Giant", "id": 29, "original": "Giant", "minOriginalLevel": 9, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 10 }, { "name": "Super Wall Breaker", "id": 28, "original": "Wall Breaker", "minOriginalLevel": 7, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 8 }, { "name": "Super Archer", "id": 27, "original": "Archer", "minOriginalLevel": 8, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 12 }, { "name": "Super Witch", "id": 66, "original": "Witch", "minOriginalLevel": 5, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 40 }, { "name": "Inferno Dragon", "id": 63, "original": "Baby Dragon", "minOriginalLevel": 6, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 15 }, { "name": "Super Valkyrie", "id": 64, "original": "Valkyrie", "minOriginalLevel": 7, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 20 }, { "name": "Super Minion", "id": 84, "original": "Minion", "minOriginalLevel": 8, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 12 }, { "name": "Super Wizard", "id": 83, "original": "Wizard", "minOriginalLevel": 9, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 10 }, { "name": "Ice Hound", "id": 76, "original": "Lava Hound", "minOriginalLevel": 5, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 40 }, { "name": "Rocket Balloon", "id": 57, "original": "Balloon", "minOriginalLevel": 8, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 8 }, { "name": "Super Bowler", "id": 80, "original": "Bowler", "minOriginalLevel": 4, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 30 }, { "name": "Super Dragon", "id": 81, "original": "Dragon", "minOriginalLevel": 7, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 40 }] }
|
|
1
|
+
{ "RAW_UNITS": [{ "id": 0, "name": "Barbarian", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 1, "cost": 100, "time": 10, "resource": "Elixir", "building": "Barracks", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 20, "regenerationTimes": [], "dps": [8, 11, 14, 18, 23, 26, 30, 34, 38, 42], "upgrade": { "cost": [20000, 60000, 200000, 650000, 1400000, 2500000, 4000000, 8000000, 15000000], "time": [7200, 18000, 43200, 86400, 129600, 259200, 388800, 864000, 1209600], "resource": "Elixir" }, "seasonal": false, "levels": [1, 1, 2, 2, 3, 3, 4, 5, 6, 7, 8, 9, 9, 10] }, { "id": 1, "name": "Archer", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 500, "time": 60, "resource": "Elixir", "building": "Barracks", "buildingLevel": 2 }, "resourceType": "Elixir", "trainingTime": 24, "regenerationTimes": [], "dps": [7, 9, 12, 16, 20, 22, 25, 28, 31, 34], "upgrade": { "cost": [30000, 80000, 300000, 800000, 2000000, 3000000, 4500000, 9000000, 15500000], "time": [10800, 21600, 43200, 86400, 129600, 259200, 432000, 907200, 1209600], "resource": "Elixir" }, "seasonal": false, "levels": [0, 1, 2, 2, 3, 3, 4, 5, 6, 7, 8, 9, 9, 10] }, { "id": 2, "name": "Goblin", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 5000, "time": 3600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 4 }, "resourceType": "Elixir", "trainingTime": 28, "regenerationTimes": [], "dps": [11, 14, 19, 24, 32, 42, 52, 62], "upgrade": { "cost": [45000, 175000, 500000, 1200000, 2000000, 3500000, 9000000], "time": [18000, 32400, 43200, 86400, 129600, 345600, 1036800], "resource": "Elixir" }, "seasonal": false, "levels": [0, 1, 2, 2, 3, 3, 4, 5, 6, 7, 7, 8, 8, 8] }, { "id": 3, "name": "Giant", "housingSpace": 5, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 2500, "time": 600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 3 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [11, 14, 19, 24, 31, 43, 55, 62, 70, 78], "upgrade": { "cost": [40000, 150000, 500000, 1200000, 2000000, 3500000, 5000000, 9000000, 13000000], "time": [14400, 28800, 43200, 86400, 172800, 345600, 691200, 1123200, 1296000], "resource": "Elixir" }, "seasonal": false, "levels": [0, 1, 1, 2, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10] }, { "id": 4, "name": "Wall Breaker", "housingSpace": 2, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 3, "cost": 10000, "time": 14400, "resource": "Elixir", "building": "Barracks", "buildingLevel": 5 }, "resourceType": "Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [6, 10, 15, 20, 43, 55, 66, 75, 86, 94], "upgrade": { "cost": [100000, 250000, 600000, 1200000, 3000000, 6000000, 10500000, 13000000, 16000000], "time": [21600, 43200, 64800, 86400, 216000, 432000, 864000, 1252800, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 1, 2, 2, 3, 4, 5, 5, 6, 7, 8, 9, 10] }, { "id": 5, "name": "Balloon", "housingSpace": 5, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 4, "cost": 75000, "time": 28800, "resource": "Elixir", "building": "Barracks", "buildingLevel": 6 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [25, 32, 48, 72, 108, 162, 198, 236, 256, 276], "upgrade": { "cost": [125000, 400000, 800000, 1500000, 2750000, 6500000, 11000000, 14000000, 18000000], "time": [28800, 43200, 64800, 86400, 302400, 648000, 1166400, 1382400, 1555200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 2, 2, 3, 4, 5, 6, 6, 7, 8, 9, 10] }, { "id": 6, "name": "Wizard", "housingSpace": 4, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 5, "cost": 200000, "time": 43200, "resource": "Elixir", "building": "Barracks", "buildingLevel": 7 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [50, 70, 90, 125, 170, 185, 200, 215, 230, 245], "upgrade": { "cost": [120000, 320000, 620000, 1200000, 2200000, 4200000, 7200000, 9200000, 14200000], "time": [28800, 43200, 64800, 86400, 172800, 345600, 648000, 1080000, 1252800], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10] }, { "id": 7, "name": "Healer", "housingSpace": 14, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 6, "cost": 600000, "time": 57600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 8 }, "resourceType": "Elixir", "trainingTime": 480, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [450000, 900000, 2700000, 6000000, 13000000, 17000000], "time": [43200, 86400, 172800, 864000, 1209600, 1468800], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 1, 2, 3, 4, 4, 5, 5, 6, 7] }, { "id": 8, "name": "Dragon", "housingSpace": 20, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 7, "cost": 900000, "time": 86400, "resource": "Elixir", "building": "Barracks", "buildingLevel": 9 }, "resourceType": "Elixir", "trainingTime": 720, "regenerationTimes": [], "dps": [140, 160, 180, 210, 240, 270, 310, 330, 350], "upgrade": { "cost": [1000000, 2000000, 3000000, 4500000, 7000000, 10000000, 15000000, 18500000], "time": [64800, 129600, 259200, 518400, 691200, 1209600, 1382400, 1555200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 6, 7, 8, 9] }, { "id": 9, "name": "P.E.K.K.A", "housingSpace": 25, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 8, "cost": 1200000, "time": 129600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 10 }, "resourceType": "Elixir", "trainingTime": 720, "regenerationTimes": [], "dps": [260, 290, 320, 360, 410, 470, 540, 610, 680], "upgrade": { "cost": [1200000, 1800000, 2800000, 3800000, 5000000, 7500000, 11000000, 14000000], "time": [43200, 86400, 172800, 345600, 475200, 734400, 1209600, 1296000], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 3, 4, 6, 7, 8, 9, 9] }, { "id": 10, "name": "Minion", "housingSpace": 2, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 7, "cost": 100000, "time": 14400, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 1 }, "resourceType": "Dark Elixir", "trainingTime": 36, "regenerationTimes": [], "dps": [38, 41, 44, 47, 50, 54, 58, 62, 66, 70], "upgrade": { "cost": [3000, 7000, 15000, 25000, 40000, 90000, 150000, 250000, 300000], "time": [28800, 57600, 86400, 172800, 345600, 604800, 1209600, 1339200, 1425600], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 2, 4, 5, 6, 7, 8, 9, 10] }, { "id": 11, "name": "Hog Rider", "housingSpace": 5, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 7, "cost": 300000, "time": 43200, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 2 }, "resourceType": "Dark Elixir", "trainingTime": 90, "regenerationTimes": [], "dps": [60, 70, 80, 92, 105, 118, 135, 148, 161, 174, 187], "upgrade": { "cost": [5000, 9000, 16000, 30000, 50000, 100000, 150000, 240000, 280000, 320000], "time": [36000, 72000, 108000, 172800, 345600, 648000, 993600, 1209600, 1382400, 1468800], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 2, 4, 5, 6, 7, 9, 10, 11] }, { "id": 12, "name": "Valkyrie", "housingSpace": 8, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 8, "cost": 500000, "time": 64800, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 3 }, "resourceType": "Dark Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [94, 106, 119, 133, 148, 163, 178, 193, 208], "upgrade": { "cost": [8000, 12000, 25000, 45000, 90000, 175000, 260000, 310000], "time": [86400, 172800, 259200, 432000, 648000, 950400, 1382400, 1468800], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 2, 4, 5, 6, 7, 8, 9] }, { "id": 13, "name": "Golem", "housingSpace": 30, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 8, "cost": 900000, "time": 86400, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 4 }, "resourceType": "Dark Elixir", "trainingTime": 600, "regenerationTimes": [], "dps": [35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85], "upgrade": { "cost": [10000, 20000, 30000, 50000, 75000, 110000, 160000, 200000, 270000, 320000], "time": [108000, 216000, 324000, 432000, 604800, 691200, 907200, 1209600, 1382400, 1468800], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 2, 4, 5, 7, 9, 10, 11] }, { "id": 15, "name": "Witch", "housingSpace": 12, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 9, "cost": 1500000, "time": 172800, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 5 }, "resourceType": "Dark Elixir", "trainingTime": 240, "regenerationTimes": [], "dps": [100, 110, 140, 160, 180], "upgrade": { "cost": [50000, 80000, 130000, 200000], "time": [345600, 475200, 820800, 1209600], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 5, 5] }, { "id": 17, "name": "Lava Hound", "housingSpace": 30, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 9, "cost": 2200000, "time": 259200, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 6 }, "resourceType": "Dark Elixir", "trainingTime": 600, "regenerationTimes": [], "dps": [10, 12, 14, 16, 18, 20], "upgrade": { "cost": [35000, 60000, 120000, 190000, 270000], "time": [216000, 432000, 777600, 1209600, 1382400], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 6, 6] }, { "id": 22, "name": "Bowler", "housingSpace": 6, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 10, "cost": 3000000, "time": 432000, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 7 }, "resourceType": "Dark Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [60, 70, 80, 90, 96, 102], "upgrade": { "cost": [75000, 125000, 200000, 280000, 320000], "time": [345600, 604800, 1036800, 1252800, 1512000], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 6] }, { "id": 23, "name": "Baby Dragon", "housingSpace": 10, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 9, "cost": 1800000, "time": 216000, "resource": "Elixir", "building": "Barracks", "buildingLevel": 11 }, "resourceType": "Elixir", "trainingTime": 360, "regenerationTimes": [], "dps": [75, 85, 95, 105, 115, 125, 135, 145], "upgrade": { "cost": [2000000, 3000000, 4000000, 6000000, 9000000, 12000000, 17000000], "time": [172800, 345600, 518400, 777600, 1036800, 1209600, 1425600], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 5, 6, 7, 8] }, { "id": 24, "name": "Miner", "housingSpace": 6, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 10, "cost": 2500000, "time": 345600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 12 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [80, 88, 96, 104, 112, 120, 128, 136], "upgrade": { "cost": [3000000, 4000000, 5000000, 7000000, 9500000, 13000000, 17500000], "time": [216000, 345600, 518400, 864000, 1123200, 1339200, 1468800], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 6, 7, 8] }, { "id": 26, "name": "Super Barbarian", "housingSpace": 5, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 1, "cost": 100, "time": 10, "resource": "Elixir", "building": "Barracks", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 100, "regenerationTimes": [], "dps": [180, 200, 220], "upgrade": { "cost": [80000], "time": [864000], "resource": "Dark Elixir" }, "seasonal": false, "levels": [1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3] }, { "id": 27, "name": "Super Archer", "housingSpace": 12, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 500, "time": 60, "resource": "Elixir", "building": "Barracks", "buildingLevel": 2 }, "resourceType": "Elixir", "trainingTime": 288, "regenerationTimes": [], "dps": [120, 132, 144], "upgrade": { "cost": [80000], "time": [864000], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3] }, { "id": 28, "name": "Super Wall Breaker", "housingSpace": 8, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 3, "cost": 10000, "time": 14400, "resource": "Elixir", "building": "Barracks", "buildingLevel": 5 }, "resourceType": "Elixir", "trainingTime": 240, "regenerationTimes": [], "dps": [78, 100, 120, 130], "upgrade": { "cost": [80000], "time": [864000], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4] }, { "id": 29, "name": "Super Giant", "housingSpace": 10, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 2500, "time": 600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 3 }, "resourceType": "Elixir", "trainingTime": 240, "regenerationTimes": [], "dps": [130, 140], "upgrade": { "cost": [80000], "time": [864000], "resource": "Elixir" }, "seasonal": false, "levels": [0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2] }, { "id": 30, "name": "Ice Wizard", "housingSpace": 4, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 5, "cost": 200000, "time": 43200, "resource": "Elixir", "building": "Barracks", "buildingLevel": 7 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [40, 56, 72, 100, 136, 148, 160, 172, 184, 196], "upgrade": { "cost": [150000, 450000, 1350000, 2500000, 5000000, 7000000, 9000000, 11000000, 15000000], "time": [43200, 129600, 172800, 259200, 432000, 518400, 864000, 1209600, 1296000], "resource": "Elixir" }, "seasonal": true, "levels": [0, 0, 0, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10] }, { "id": 31, "name": "Raged Barbarian", "housingSpace": 2, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 1, "cost": 1000, "time": 0, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 1 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [50, 50, 55, 55, 61, 61, 67, 67, 74, 74, 81, 81, 89, 89, 98, 98, 108, 108], "upgrade": { "cost": [3500, 6000, 9000, 50000, 100000, 300000, 330000, 700000, 900000, 1000000, 1200000, 2000000, 2200000, 3000000, 3200000, 3800000, 4000000], "time": [300, 900, 10800, 21600, 43200, 43200, 86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [2, 4, 6, 8, 10, 12, 14, 16, 18] }, { "id": 32, "name": "Sneaky Archer", "housingSpace": 2, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 4000, "time": 60, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 2 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [36, 36, 40, 40, 44, 44, 48, 48, 53, 53, 58, 58, 64, 64, 70, 70, 77, 77], "upgrade": { "cost": [5000, 8000, 12000, 60000, 120000, 320000, 350000, 800000, 1000000, 1100000, 1300000, 2100000, 2300000, 3100000, 3300000, 3900000, 4100000], "time": [180, 600, 1800, 14400, 21600, 43200, 43200, 86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 4, 6, 8, 10, 12, 14, 16, 18] }, { "id": 33, "name": "Beta Minion", "housingSpace": 2, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 3, "cost": 25000, "time": 1800, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 4 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [36, 36, 40, 40, 44, 44, 48, 48, 53, 53, 58, 58, 64, 64, 70, 70, 77, 77], "upgrade": { "cost": [50000, 80000, 120000, 250000, 280000, 320000, 360000, 900000, 1100000, 1300000, 1500000, 2300000, 2500000, 3300000, 3500000, 4000000, 4200000], "time": [3600, 10800, 18000, 28800, 43200, 43200, 43200, 86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 4, 8, 10, 12, 14, 16, 18] }, { "id": 34, "name": "Boxer Giant", "housingSpace": 8, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 3, "cost": 10000, "time": 600, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 3 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [36, 36, 40, 40, 44, 44, 48, 48, 53, 53, 58, 58, 64, 64, 70, 70, 77, 85], "upgrade": { "cost": [20000, 40000, 60000, 300000, 320000, 340000, 380000, 1000000, 1200000, 1300000, 1500000, 2300000, 2500000, 3300000, 3500000, 4000000, 4200000], "time": [1800, 3600, 7200, 28800, 43200, 43200, 43200, 86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 4, 8, 10, 12, 14, 16, 18] }, { "id": 35, "name": "Bomber", "housingSpace": 4, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 4, "cost": 100000, "time": 10800, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 5 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [36, 36, 40, 40, 44, 44, 48, 48, 53, 53, 58, 58, 64, 64, 70, 70, 77, 77], "upgrade": { "cost": [150000, 200000, 250000, 280000, 320000, 340000, 360000, 900000, 1000000, 1200000, 1400000, 2200000, 2400000, 3200000, 3400000, 3900000, 4100000], "time": [10800, 18000, 28800, 43200, 43200, 43200, 43200, 86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 8, 10, 12, 14, 16, 18] }, { "id": 36, "name": "Super P.E.K.K.A", "housingSpace": 25, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 8, "cost": 1500000, "time": 86400, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 10 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [305, 305, 336, 336, 369, 369, 406, 406, 447, 447, 491, 491, 540, 540, 594, 594, 653, 718], "upgrade": { "cost": [1600000, 1700000, 1800000, 1900000, 2000000, 2200000, 2400000, 2600000, 2800000, 3000000, 3200000, 3400000, 3600000, 3800000, 4000000, 4600000, 4800000], "time": [86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 345600, 345600, 345600, 345600, 345600, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 16, 18] }, { "id": 37, "name": "Cannon Cart", "housingSpace": 8, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 5, "cost": 300000, "time": 28800, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 7 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [85, 85, 94, 94, 103, 120, 130, 130, 141, 141, 153, 153, 167, 184, 199, 216, 233, 251], "upgrade": { "cost": [400000, 500000, 600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1400000, 1600000, 2400000, 2600000, 3400000, 3600000, 4100000, 4300000], "time": [43200, 43200, 86400, 86400, 86400, 86400, 86400, 86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 10, 12, 14, 16, 18] }, { "id": 38, "name": "Drop Ship", "housingSpace": 5, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 7, "cost": 1000000, "time": 43200, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 9 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10], "upgrade": { "cost": [1100000, 1200000, 1300000, 1400000, 1500000, 1600000, 1700000, 1800000, 2000000, 2200000, 2400000, 2600000, 2800000, 3600000, 3800000, 4300000, 4500000], "time": [43200, 43200, 86400, 86400, 172800, 172800, 259200, 259200, 259200, 259200, 259200, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 14, 16, 18] }, { "id": 41, "name": "Baby Dragon", "housingSpace": 10, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 4, "cost": 150000, "time": 21600, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 6 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [40, 40, 44, 44, 48, 48, 53, 53, 58, 58, 64, 64, 70, 70, 77, 77, 85, 85], "upgrade": { "cost": [200000, 240000, 280000, 320000, 360000, 380000, 400000, 1000000, 1200000, 1400000, 1600000, 2400000, 2600000, 3400000, 3600000, 4100000, 4300000], "time": [18000, 28800, 43200, 43200, 43200, 43200, 43200, 86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 8, 10, 12, 14, 16, 18] }, { "id": 42, "name": "Night Witch", "housingSpace": 12, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 6, "cost": 500000, "time": 36000, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 8 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [90, 90, 99, 99, 109, 109, 120, 120, 132, 132, 145, 145, 160, 160, 176, 176, 194, 213], "upgrade": { "cost": [600000, 700000, 800000, 900000, 1000000, 1100000, 1200000, 1300000, 1400000, 1600000, 1800000, 2500000, 2700000, 3500000, 3700000, 4200000, 4400000], "time": [43200, 43200, 86400, 86400, 172800, 172800, 172800, 172800, 172800, 172800, 172800, 259200, 259200, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 12, 14, 16, 18] }, { "id": 45, "name": "Battle Ram", "housingSpace": 4, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 2500, "time": 600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 3 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [6000], "upgrade": { "cost": [100000], "time": [86400], "resource": "Elixir" }, "seasonal": true, "levels": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] }, { "id": 47, "name": "Royal Ghost", "housingSpace": 8, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 5, "cost": 200000, "time": 43200, "resource": "Elixir", "building": "Barracks", "buildingLevel": 7 }, "resourceType": "Elixir", "trainingTime": 150, "regenerationTimes": [], "dps": [200, 280, 360, 440, 520, 600, 680], "upgrade": { "cost": [5000], "time": [86400], "resource": "Elixir" }, "seasonal": true, "levels": [0, 0, 0, 0, 1, 2, 2, 3, 4, 5, 6, 7, 7, 7] }, { "id": 48, "name": "Pumpkin Barbarian", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 1, "cost": 100, "time": 10, "resource": "Elixir", "building": "Barracks", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 20, "regenerationTimes": [], "dps": [8, 11, 14, 18, 23, 26, 30], "upgrade": { "cost": [50000, 150000, 500000, 1500000, 4500000, 6000000], "time": [21600, 86400, 259200, 432000, 864000, 1209600], "resource": "Elixir" }, "seasonal": true, "levels": [1, 1, 2, 2, 3, 3, 4, 5, 6, 7, 7, 7, 7, 7] }, { "id": 50, "name": "Giant Skeleton", "housingSpace": 20, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 2500, "time": 600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 3 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [22, 28, 38, 48, 62, 86, 100, 114], "upgrade": { "cost": [100000, 250000, 750000, 2250000, 5000000, 6000000, 9500000], "time": [86400, 172800, 259200, 432000, 864000, 1036800, 1209600], "resource": "Elixir" }, "seasonal": true, "levels": [0, 1, 1, 2, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8] }, { "id": 51, "name": "Wall Wrecker", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "siege", "unlock": { "hall": 12, "cost": 5000000, "time": 518400, "resource": "Elixir", "building": "Workshop", "buildingLevel": 1 }, "resourceType": "Gold", "trainingTime": 1200, "regenerationTimes": [], "dps": [250, 300, 350, 400], "upgrade": { "cost": [6000000, 8000000, 14000000], "time": [691200, 864000, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 4] }, { "id": 52, "name": "Battle Blimp", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "siege", "unlock": { "hall": 12, "cost": 8000000, "time": 691200, "resource": "Elixir", "building": "Workshop", "buildingLevel": 2 }, "resourceType": "Gold", "trainingTime": 1200, "regenerationTimes": [], "dps": [100, 140, 180, 220], "upgrade": { "cost": [6000000, 8000000, 14000000], "time": [691200, 864000, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 4] }, { "id": 53, "name": "Yeti", "housingSpace": 18, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 12, "cost": 5000000, "time": 777600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 14 }, "resourceType": "Elixir", "trainingTime": 720, "regenerationTimes": [], "dps": [230, 250, 270, 290], "upgrade": { "cost": [11000000, 15000000, 18000000], "time": [950400, 1382400, 1555200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4] }, { "id": 55, "name": "Sneaky Goblin", "housingSpace": 3, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 2, "cost": 5000, "time": 3600, "resource": "Elixir", "building": "Barracks", "buildingLevel": 4 }, "resourceType": "Elixir", "trainingTime": 84, "regenerationTimes": [], "dps": [155, 170], "upgrade": { "cost": [80000], "time": [43200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2] }, { "id": 57, "name": "Rocket Balloon", "housingSpace": 8, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 4, "cost": 75000, "time": 28800, "resource": "Elixir", "building": "Barracks", "buildingLevel": 6 }, "resourceType": "Elixir", "trainingTime": 192, "regenerationTimes": [], "dps": [236, 256, 276], "upgrade": { "cost": [150000], "time": [43200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3] }, { "id": 58, "name": "Ice Golem", "housingSpace": 15, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 11, "cost": 4000000, "time": 777600, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 8 }, "resourceType": "Dark Elixir", "trainingTime": 300, "regenerationTimes": [], "dps": [24, 28, 32, 36, 40, 44], "upgrade": { "cost": [80000, 120000, 160000, 200000, 320000], "time": [345600, 604800, 907200, 1209600, 1468800], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 5, 6] }, { "id": 59, "name": "Electro Dragon", "housingSpace": 30, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 11, "cost": 4000000, "time": 518400, "resource": "Elixir", "building": "Barracks", "buildingLevel": 13 }, "resourceType": "Elixir", "trainingTime": 1440, "regenerationTimes": [], "dps": [240, 270, 300, 330, 360], "upgrade": { "cost": [9000000, 11000000, 16000000, 19000000], "time": [691200, 1209600, 1382400, 1555200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5] }, { "id": 61, "name": "Skeleton Barrel", "housingSpace": 5, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 4, "cost": 75000, "time": 28800, "resource": "Elixir", "building": "Barracks", "buildingLevel": 6 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [75, 96, 144, 216, 324, 486, 594, 708, 768], "upgrade": { "cost": [150000, 450000, 1350000, 2500000, 6000000, 9500000, 12000000, 12000000], "time": [43200, 129600, 172800, 302400, 561600, 993600, 1209600, 1209600], "resource": "Elixir" }, "seasonal": true, "levels": [0, 0, 0, 2, 2, 3, 4, 5, 6, 6, 7, 8, 9, 9] }, { "id": 62, "name": "Stone Slammer", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "siege", "unlock": { "hall": 12, "cost": 10500000, "time": 864000, "resource": "Elixir", "building": "Workshop", "buildingLevel": 3 }, "resourceType": "Gold", "trainingTime": 1200, "regenerationTimes": [], "dps": [400, 500, 600, 700], "upgrade": { "cost": [6000000, 8000000, 14000000], "time": [691200, 864000, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 4] }, { "id": 63, "name": "Inferno Dragon", "housingSpace": 15, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 9, "cost": 1800000, "time": 216000, "resource": "Elixir", "building": "Barracks", "buildingLevel": 11 }, "resourceType": "Elixir", "trainingTime": 540, "regenerationTimes": [], "dps": [75, 79, 83], "upgrade": { "cost": [240000], "time": [1209600], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3] }, { "id": 64, "name": "Super Valkyrie", "housingSpace": 20, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 8, "cost": 500000, "time": 64800, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 3 }, "resourceType": "Dark Elixir", "trainingTime": 450, "regenerationTimes": [], "dps": [250, 300, 325], "upgrade": { "cost": [40000], "time": [345600], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3] }, { "id": 65, "name": "Dragon Rider", "housingSpace": 25, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 13, "cost": 6000000, "time": 950400, "resource": "Elixir", "building": "Barracks", "buildingLevel": 15 }, "resourceType": "Elixir", "trainingTime": 1000, "regenerationTimes": [], "dps": [340, 370, 400], "upgrade": { "cost": [16000000, 17500000], "time": [1296000, 1468800], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3] }, { "id": 66, "name": "Super Witch", "housingSpace": 40, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 9, "cost": 1500000, "time": 172800, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 5 }, "resourceType": "Dark Elixir", "trainingTime": 800, "regenerationTimes": [], "dps": [360], "upgrade": { "cost": [75000], "time": [518400], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1] }, { "id": 67, "name": "El Primo", "housingSpace": 10, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 5, "cost": 200000, "time": 43200, "resource": "Elixir", "building": "Barracks", "buildingLevel": 7 }, "resourceType": "Dark Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [120], "upgrade": { "cost": [120000], "time": [734400], "resource": "Dark Elixir" }, "seasonal": true, "levels": [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] }, { "id": 70, "name": "Hog Glider", "housingSpace": 5, "village": "builderBase", "category": "troop", "subCategory": "troop", "unlock": { "hall": 9, "cost": 2000000, "time": 129600, "resource": "Builder Elixir", "building": "Builder Barracks", "buildingLevel": 11 }, "resourceType": "Builder Elixir", "trainingTime": 60, "regenerationTimes": [], "dps": [700, 700, 700, 700, 700, 700, 700, 700, 700, 900, 900, 900, 900, 1100, 1100, 1100, 1100, 1100], "upgrade": { "cost": [1600000, 1700000, 1800000, 1900000, 2000000, 2200000, 2400000, 2600000, 2800000, 3000000, 3200000, 3400000, 3600000, 3800000, 4000000, 4200000, 4400000], "time": [86400, 86400, 172800, 172800, 259200, 259200, 345600, 345600, 345600, 345600, 345600, 345600, 345600, 345600, 345600, 432000, 432000], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 18] }, { "id": 72, "name": "Party Wizard", "housingSpace": 4, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 5, "cost": 200000, "time": 43200, "resource": "Elixir", "building": "Barracks", "buildingLevel": 7 }, "resourceType": "Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [75, 105, 135, 188, 255, 278, 300, 322, 345, 367], "upgrade": { "cost": [], "time": [], "resource": "Elixir" }, "seasonal": true, "levels": [0, 0, 0, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10] }, { "id": 75, "name": "Siege Barracks", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "siege", "unlock": { "hall": 13, "cost": 14500000, "time": 1209600, "resource": "Elixir", "building": "Workshop", "buildingLevel": 4 }, "resourceType": "Gold", "trainingTime": 1200, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [8000000, 11000000, 14000000], "time": [864000, 1209600, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4] }, { "id": 76, "name": "Ice Hound", "housingSpace": 40, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 9, "cost": 2200000, "time": 259200, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 6 }, "resourceType": "Dark Elixir", "trainingTime": 800, "regenerationTimes": [], "dps": [10, 15], "upgrade": { "cost": [240000, 280000], "time": [1209600, 1382400], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2] }, { "id": 80, "name": "Super Bowler", "housingSpace": 30, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 10, "cost": 3000000, "time": 432000, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 7 }, "resourceType": "Dark Elixir", "trainingTime": 600, "regenerationTimes": [], "dps": [170, 185, 200], "upgrade": { "cost": [75000], "time": [], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3] }, { "id": 81, "name": "Super Dragon", "housingSpace": 40, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 7, "cost": 900000, "time": 86400, "resource": "Elixir", "building": "Barracks", "buildingLevel": 9 }, "resourceType": "Elixir", "trainingTime": 1440, "regenerationTimes": [], "dps": [80, 85, 90], "upgrade": { "cost": [], "time": [], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3] }, { "id": 82, "name": "Headhunter", "housingSpace": 6, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 12, "cost": 7500000, "time": 1123200, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 9 }, "resourceType": "Dark Elixir", "trainingTime": 120, "regenerationTimes": [], "dps": [105, 115, 125], "upgrade": { "cost": [180000, 240000], "time": [1209600, 1382400], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 3] }, { "id": 83, "name": "Super Wizard", "housingSpace": 10, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 5, "cost": 200000, "time": 43200, "resource": "Elixir", "building": "Barracks", "buildingLevel": 7 }, "resourceType": "Elixir", "trainingTime": 300, "regenerationTimes": [], "dps": [220, 240], "upgrade": { "cost": [4000000], "time": [432000], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2] }, { "id": 84, "name": "Super Minion", "housingSpace": 12, "village": "home", "category": "troop", "subCategory": "troop", "unlock": { "hall": 7, "cost": 100000, "time": 14400, "resource": "Elixir", "building": "Dark Barracks", "buildingLevel": 1 }, "resourceType": "Dark Elixir", "trainingTime": 216, "regenerationTimes": [], "dps": [300, 325, 350], "upgrade": { "cost": [10000], "time": [259200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3] }, { "id": 87, "name": "Log Launcher", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "siege", "unlock": { "hall": 13, "cost": 16000000, "time": 1382400, "resource": "Elixir", "building": "Workshop", "buildingLevel": 5 }, "resourceType": "Gold", "trainingTime": 1200, "regenerationTimes": [], "dps": [140, 160, 180, 200], "upgrade": { "cost": [8000000, 11000000, 14000000], "time": [864000, 1209600, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4] }, { "id": 91, "name": "Flame Flinger", "housingSpace": 1, "village": "home", "category": "troop", "subCategory": "siege", "unlock": { "hall": 14, "cost": 17500000, "time": 1555200, "resource": "Elixir", "building": "Workshop", "buildingLevel": 6 }, "resourceType": "Gold", "trainingTime": 1200, "regenerationTimes": [], "dps": [45, 50, 55, 60], "upgrade": { "cost": [8000000, 11000000, 14000000], "time": [864000, 1209600, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4] }, { "id": 0, "name": "Lightning Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 5, "cost": 150000, "time": 28800, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [50000, 100000, 200000, 600000, 1500000, 3000000, 6000000, 10000000], "time": [14400, 28800, 43200, 86400, 345600, 604800, 907200, 1123200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 4, 4, 4, 5, 6, 7, 8, 9, 9, 9] }, { "id": 1, "name": "Healing Spell", "housingSpace": 2, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 6, "cost": 300000, "time": 86400, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 2 }, "resourceType": "Elixir", "trainingTime": 360, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [75000, 150000, 300000, 900000, 1800000, 3600000, 14000000], "time": [18000, 36000, 72000, 129600, 345600, 604800, 1382400], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 3, 4, 5, 6, 7, 7, 7, 8, 8] }, { "id": 2, "name": "Rage Spell", "housingSpace": 2, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 7, "cost": 600000, "time": 172800, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 3 }, "resourceType": "Elixir", "trainingTime": 360, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [400000, 800000, 1600000, 2400000, 11000000], "time": [43200, 86400, 172800, 345600, 993600], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 4, 5, 5, 5, 5, 6, 6, 6] }, { "id": 3, "name": "Jump Spell", "housingSpace": 2, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 9, "cost": 1200000, "time": 302400, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 4 }, "resourceType": "Elixir", "trainingTime": 360, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [2000000, 4000000, 12000000], "time": [345600, 604800, 1296000], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 3, 3, 4, 4] }, { "id": 5, "name": "Freeze Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 9, "cost": 1200000, "time": 302400, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 4 }, "resourceType": "Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [1200000, 2000000, 3600000, 5000000, 8500000, 11000000], "time": [129600, 259200, 432000, 648000, 777600, 993600], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 2, 5, 6, 7, 7, 7] }, { "id": 4, "name": "Santa's Surprise", "housingSpace": 2, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 5, "cost": 150000, "time": 28800, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 360, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [], "time": [], "resource": "Elixir" }, "seasonal": true, "levels": [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] }, { "id": 9, "name": "Poison Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 8, "cost": 150000, "time": 21600, "resource": "Elixir", "building": "Dark Spell Factory", "buildingLevel": 1 }, "resourceType": "Dark Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [12000, 25000, 50000, 100000, 175000, 260000, 300000], "time": [28800, 86400, 259200, 777600, 950400, 1339200, 1512000], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 6, 7, 8] }, { "id": 10, "name": "Earthquake Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 8, "cost": 300000, "time": 64800, "resource": "Elixir", "building": "Dark Spell Factory", "buildingLevel": 2 }, "resourceType": "Dark Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [15000, 30000, 60000, 120000], "time": [64800, 129600, 432000, 950400], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 5, 5, 5] }, { "id": 11, "name": "Haste Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 9, "cost": 600000, "time": 172800, "resource": "Elixir", "building": "Dark Spell Factory", "buildingLevel": 3 }, "resourceType": "Dark Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [20000, 40000, 70000, 110000], "time": [129600, 259200, 518400, 950400], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 5, 5, 5, 5] }, { "id": 16, "name": "Clone Spell", "housingSpace": 3, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 10, "cost": 2400000, "time": 432000, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 5 }, "resourceType": "Elixir", "trainingTime": 540, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [2500000, 4000000, 6000000, 8000000, 12000000, 16500000], "time": [172800, 345600, 475200, 864000, 1296000, 1425600], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 5, 6, 7] }, { "id": 17, "name": "Skeleton Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 9, "cost": 1200000, "time": 345600, "resource": "Elixir", "building": "Dark Spell Factory", "buildingLevel": 4 }, "resourceType": "Dark Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [25000, 40000, 70000, 125000, 150000, 250000], "time": [129600, 259200, 518400, 734400, 907200, 1296000], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 4, 6, 7, 7] }, { "id": 22, "name": "Birthday Boom", "housingSpace": 2, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 5, "cost": 150000, "time": 28800, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 360, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [], "time": [], "resource": "Elixir" }, "seasonal": true, "levels": [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] }, { "id": 28, "name": "Bat Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 10, "cost": 2500000, "time": 518400, "resource": "Elixir", "building": "Dark Spell Factory", "buildingLevel": 5 }, "resourceType": "Dark Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [30000, 60000, 100000, 150000], "time": [172800, 345600, 648000, 777600], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 5, 5, 5] }, { "id": 35, "name": "Invisibility Spell", "housingSpace": 1, "village": "home", "category": "spell", "subCategory": "spell", "unlock": { "hall": 11, "cost": 4800000, "time": 604800, "resource": "Elixir", "building": "Spell Factory", "buildingLevel": 6 }, "resourceType": "Elixir", "trainingTime": 180, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [8000000, 12000000, 15000000], "time": [691200, 993600, 1339200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 4] }, { "id": 0, "name": "Barbarian King", "housingSpace": 25, "village": "home", "category": "hero", "subCategory": "hero", "unlock": { "hall": 7, "cost": 5000, "time": 0, "resource": "Dark Elixir", "building": "Barbarian King", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 0, "regenerationTimes": [600, 600, 600, 600, 720, 720, 720, 720, 720, 840, 840, 840, 840, 840, 960, 960, 960, 960, 960, 1080, 1080, 1080, 1080, 1080, 1200, 1200, 1200, 1200, 1200, 1320, 1320, 1320, 1320, 1320, 1440, 1440, 1440, 1440, 1440, 1560, 1560, 1560, 1560, 1560, 1680, 1680, 1680, 1680, 1680, 1800, 1800, 1800, 1800, 1800, 1920, 1920, 1920, 1920, 1920, 2040, 2040, 2040, 2040, 2040, 2160, 2160, 2160, 2160, 2160, 2280, 2280, 2280, 2280, 2280, 2400, 2400, 2400, 2400, 2400, 2520], "dps": [120, 122, 124, 127, 129, 132, 135, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 168, 171, 174, 178, 181, 185, 189, 193, 196, 200, 204, 208, 213, 217, 221, 226, 230, 235, 239, 244, 249, 254, 259, 275, 281, 287, 293, 299, 305, 312, 318, 325, 332, 339, 346, 353, 361, 369, 377, 385, 393, 401, 410, 418, 426, 435, 444, 453, 462, 471, 480, 490, 500, 510, 520, 530, 540, 550, 559, 568, 577, 586, 595], "upgrade": { "cost": [6000, 7000, 8000, 10000, 11000, 12000, 13000, 14000, 15000, 17000, 19000, 21000, 23000, 25000, 27000, 29000, 31000, 33000, 35000, 37000, 39000, 41000, 43000, 45000, 47000, 49000, 51000, 53000, 55000, 57000, 59000, 61000, 63000, 65000, 68000, 71000, 74000, 77000, 80000, 86000, 92000, 98000, 104000, 110000, 116000, 122000, 128000, 134000, 140000, 146000, 152000, 158000, 164000, 170000, 178000, 186000, 194000, 202000, 210000, 217000, 224000, 230000, 235000, 240000, 250000, 260000, 270000, 280000, 290000, 292000, 294000, 296000, 298000, 300000, 305000, 310000, 315000, 320000, 325000], "time": [14400, 21600, 28800, 36000, 43200, 50400, 57600, 64800, 72000, 79200, 86400, 115200, 144000, 172800, 172800, 172800, 172800, 172800, 216000, 216000, 216000, 216000, 216000, 259200, 259200, 259200, 259200, 259200, 345600, 345600, 345600, 345600, 345600, 432000, 432000, 432000, 432000, 432000, 518400, 518400, 518400, 518400, 518400, 561600, 561600, 561600, 561600, 561600, 561600, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 648000, 648000, 648000, 648000, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 5, 10, 30, 40, 50, 65, 75, 80] }, { "id": 1, "name": "Archer Queen", "housingSpace": 25, "village": "home", "category": "hero", "subCategory": "hero", "unlock": { "hall": 9, "cost": 10000, "time": 0, "resource": "Dark Elixir", "building": "Archer Queen", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 0, "regenerationTimes": [600, 600, 600, 600, 720, 720, 720, 720, 720, 840, 840, 840, 840, 840, 960, 960, 960, 960, 960, 1080, 1080, 1080, 1080, 1080, 1200, 1200, 1200, 1200, 1200, 1320, 1320, 1320, 1320, 1320, 1440, 1440, 1440, 1440, 1440, 1560, 1560, 1560, 1560, 1560, 1680, 1680, 1680, 1680, 1680, 1800, 1800, 1800, 1800, 1800, 1920, 1920, 1920, 1920, 1920, 2040, 2040, 2040, 2040, 2040, 2160, 2160, 2160, 2160, 2160, 2280, 2280, 2280, 2280, 2280, 2400, 2400, 2400, 2400, 2400, 2520], "dps": [160, 164, 168, 172, 176, 181, 185, 190, 194, 199, 204, 209, 215, 220, 226, 231, 237, 243, 249, 255, 262, 268, 275, 282, 289, 296, 304, 311, 319, 327, 335, 344, 352, 361, 370, 379, 389, 398, 408, 419, 429, 440, 451, 462, 474, 486, 498, 510, 523, 536, 547, 558, 570, 582, 594, 606, 619, 632, 645, 658, 671, 684, 698, 712, 726, 739, 751, 762, 772, 781, 789, 796, 802, 808, 814, 820, 825, 830, 835, 840], "upgrade": { "cost": [11000, 12000, 13000, 15000, 16000, 17000, 18000, 19000, 20000, 22000, 24000, 26000, 28000, 30000, 32000, 34000, 36000, 38000, 40000, 42000, 44000, 46000, 48000, 50000, 52000, 54000, 56000, 58000, 60000, 63000, 66000, 69000, 72000, 75000, 78000, 81000, 84000, 87000, 90000, 96000, 102000, 108000, 114000, 120000, 126000, 132000, 138000, 144000, 150000, 156000, 162000, 168000, 174000, 180000, 187000, 194000, 201000, 208000, 215000, 220000, 225000, 230000, 235000, 240000, 250000, 260000, 270000, 280000, 290000, 292000, 294000, 296000, 298000, 300000, 306000, 312000, 318000, 324000, 330000], "time": [14400, 21600, 28800, 36000, 43200, 50400, 57600, 64800, 72000, 79200, 86400, 115200, 144000, 172800, 172800, 172800, 172800, 172800, 216000, 216000, 216000, 216000, 216000, 259200, 259200, 259200, 259200, 259200, 345600, 345600, 345600, 345600, 345600, 432000, 432000, 432000, 432000, 432000, 518400, 518400, 518400, 518400, 518400, 561600, 561600, 561600, 561600, 561600, 561600, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 648000, 648000, 648000, 648000, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 30, 40, 50, 65, 75, 80] }, { "id": 2, "name": "Grand Warden", "housingSpace": 25, "village": "home", "category": "hero", "subCategory": "hero", "unlock": { "hall": 11, "cost": 1000000, "time": 0, "resource": "Elixir", "building": "Grand Warden", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 0, "regenerationTimes": [1200, 1200, 1200, 1200, 1320, 1320, 1320, 1320, 1320, 1440, 1440, 1440, 1440, 1440, 1560, 1560, 1560, 1560, 1560, 1680, 1680, 1680, 1680, 1680, 1800, 1800, 1800, 1800, 1800, 1920, 1920, 1920, 1920, 1920, 2040, 2040, 2040, 2040, 2040, 2160, 2160, 2160, 2160, 2160, 2280, 2280, 2280, 2280, 2280, 2400, 2400, 2400, 2400, 2400, 2520], "dps": [50, 52, 54, 56, 58, 60, 63, 66, 69, 72, 75, 78, 82, 86, 90, 94, 98, 102, 106, 110, 115, 120, 125, 130, 136, 142, 148, 154, 161, 168, 175, 182, 190, 198, 206, 215, 224, 233, 243, 253, 260, 266, 271, 275, 279, 283, 287, 291, 295, 299, 303, 307, 311, 315, 319], "upgrade": { "cost": [1250000, 1500000, 1750000, 2000000, 2250000, 2500000, 2750000, 3000000, 3500000, 4000000, 4500000, 5000000, 5500000, 6000000, 6500000, 7000000, 7500000, 8000000, 9000000, 10000000, 10100000, 10200000, 10300000, 10400000, 10500000, 10600000, 10700000, 10800000, 10900000, 11000000, 11100000, 11200000, 11300000, 11400000, 11500000, 11600000, 11700000, 11800000, 11900000, 12000000, 12500000, 13000000, 13500000, 14000000, 14500000, 15000000, 15500000, 16000000, 16500000, 17000000, 17500000, 18000000, 18500000, 19000000], "time": [7200, 14400, 28800, 43200, 64800, 86400, 108000, 129600, 172800, 216000, 259200, 345600, 432000, 518400, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 604800, 648000, 648000, 648000, 648000, 648000, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200], "resource": "Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 40, 50, 55] }, { "id": 3, "name": "Battle Machine", "housingSpace": 25, "village": "builderBase", "category": "hero", "subCategory": "hero", "unlock": { "hall": 5, "cost": 900000, "time": 43200, "resource": "Builder Elixir", "building": "Battle Machine", "buildingLevel": 1 }, "resourceType": "Builder Elixir", "trainingTime": 0, "regenerationTimes": [0], "dps": [125, 127, 130, 132, 135, 137, 140, 142, 145, 147, 150, 154, 157, 160, 164, 167, 170, 174, 177, 180, 186, 192, 198, 204, 210, 218, 226, 234, 242, 250], "upgrade": { "cost": [1000000, 1100000, 1200000, 1300000, 1500000, 1600000, 1700000, 1800000, 1900000, 2100000, 2200000, 2300000, 2400000, 2500000, 2600000, 2700000, 2800000, 2900000, 3000000, 3100000, 3200000, 3300000, 3400000, 3500000, 3600000, 3700000, 3800000, 3900000, 4000000, 4000000], "time": [43200, 43200, 86400, 86400, 86400, 86400, 86400, 86400, 86400, 172800, 172800, 172800, 172800, 172800, 259200, 259200, 259200, 259200, 259200, 259200, 259200, 259200, 259200, 259200, 345600, 345600, 345600, 345600, 345600, 345600], "resource": "Builder Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 5, 10, 20, 25, 30] }, { "id": 4, "name": "Royal Champion", "housingSpace": 25, "village": "home", "category": "hero", "subCategory": "hero", "unlock": { "hall": 13, "cost": 60000, "time": 0, "resource": "Dark Elixir", "building": "Royal Champion", "buildingLevel": 1 }, "resourceType": "Elixir", "trainingTime": 0, "regenerationTimes": [1800, 1800, 1800, 1800, 1920, 1920, 1920, 1920, 1920, 2040, 2040, 2040, 2040, 2040, 2160, 2160, 2160, 2160, 2160, 2280, 2280, 2280, 2280, 2280, 2400, 2400, 2400, 2400, 2400, 2520], "dps": [374, 383, 392, 401, 410, 418, 426, 434, 442, 450, 458, 466, 474, 482, 490, 498, 506, 514, 522, 530, 535, 540, 545, 550, 555, 560, 565, 570, 575, 580], "upgrade": { "cost": [80000, 100000, 120000, 140000, 160000, 180000, 190000, 200000, 210000, 220000, 230000, 235000, 240000, 245000, 250000, 255000, 260000, 265000, 270000, 275000, 280000, 285000, 290000, 295000, 300000, 305000, 310000, 315000, 320000], "time": [28800, 57600, 86400, 172800, 259200, 302400, 345600, 388800, 432000, 475200, 518400, 561600, 604800, 604800, 648000, 648000, 648000, 648000, 648000, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200, 691200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 30] }, { "id": 0, "name": "L.A.S.S.I", "housingSpace": 20, "village": "home", "category": "troop", "subCategory": "pet", "unlock": { "hall": 14, "cost": 15000000, "time": 1123200, "resource": "Elixir", "building": "Pet House", "buildingLevel": 1 }, "resourceType": "Dark Elixir", "trainingTime": 0, "regenerationTimes": [], "dps": [150, 160, 170, 180, 190, 200, 210, 220, 230, 240], "upgrade": { "cost": [115000, 130000, 145000, 160000, 175000, 190000, 205000, 220000, 235000], "time": [259200, 345600, 432000, 475200, 518400, 561600, 604800, 648000, 691200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10] }, { "id": 1, "name": "Mighty Yak", "housingSpace": 20, "village": "home", "category": "troop", "subCategory": "pet", "unlock": { "hall": 14, "cost": 18500000, "time": 1468800, "resource": "Elixir", "building": "Pet House", "buildingLevel": 3 }, "resourceType": "Dark Elixir", "trainingTime": 0, "regenerationTimes": [], "dps": [60, 64, 68, 72, 76, 80, 84, 88, 92, 96], "upgrade": { "cost": [165000, 185000, 205000, 225000, 245000, 255000, 265000, 275000, 285000], "time": [259200, 345600, 432000, 475200, 518400, 561600, 604800, 648000, 691200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10] }, { "id": 2, "name": "Electro Owl", "housingSpace": 20, "village": "home", "category": "troop", "subCategory": "pet", "unlock": { "hall": 14, "cost": 17500000, "time": 1296000, "resource": "Elixir", "building": "Pet House", "buildingLevel": 2 }, "resourceType": "Dark Elixir", "trainingTime": 0, "regenerationTimes": [], "dps": [100, 105, 110, 115, 120, 125, 130, 135, 140, 145], "upgrade": { "cost": [135000, 150000, 165000, 180000, 195000, 210000, 225000, 240000, 255000], "time": [259200, 345600, 432000, 475200, 518400, 561600, 604800, 648000, 691200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10] }, { "id": 3, "name": "Unicorn", "housingSpace": 20, "village": "home", "category": "troop", "subCategory": "pet", "unlock": { "hall": 14, "cost": 19500000, "time": 1641600, "resource": "Elixir", "building": "Pet House", "buildingLevel": 4 }, "resourceType": "Dark Elixir", "trainingTime": 0, "regenerationTimes": [], "dps": [], "upgrade": { "cost": [210000, 220000, 230000, 240000, 250000, 260000, 270000, 280000, 290000], "time": [259200, 345600, 432000, 475200, 518400, 561600, 604800, 648000, 691200], "resource": "Dark Elixir" }, "seasonal": false, "levels": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10] }], "RAW_SUPER_UNITS": [{ "name": "Super Barbarian", "id": 26, "original": "Barbarian", "minOriginalLevel": 8, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 5 }, { "name": "Sneaky Goblin", "id": 55, "original": "Goblin", "minOriginalLevel": 7, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 3 }, { "name": "Super Giant", "id": 29, "original": "Giant", "minOriginalLevel": 9, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 10 }, { "name": "Super Wall Breaker", "id": 28, "original": "Wall Breaker", "minOriginalLevel": 7, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 8 }, { "name": "Super Archer", "id": 27, "original": "Archer", "minOriginalLevel": 8, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 12 }, { "name": "Super Witch", "id": 66, "original": "Witch", "minOriginalLevel": 5, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 40 }, { "name": "Inferno Dragon", "id": 63, "original": "Baby Dragon", "minOriginalLevel": 6, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 15 }, { "name": "Super Valkyrie", "id": 64, "original": "Valkyrie", "minOriginalLevel": 7, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 20 }, { "name": "Super Minion", "id": 84, "original": "Minion", "minOriginalLevel": 8, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 12 }, { "name": "Super Wizard", "id": 83, "original": "Wizard", "minOriginalLevel": 9, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 10 }, { "name": "Ice Hound", "id": 76, "original": "Lava Hound", "minOriginalLevel": 5, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 40 }, { "name": "Rocket Balloon", "id": 57, "original": "Balloon", "minOriginalLevel": 8, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 8 }, { "name": "Super Bowler", "id": 80, "original": "Bowler", "minOriginalLevel": 4, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 30 }, { "name": "Super Dragon", "id": 81, "original": "Dragon", "minOriginalLevel": 7, "village": "home", "duration": 259200, "cooldown": 259200, "resource": "Dark Elixir", "resourceCost": 25000, "housingSpace": 40 }] }
|