From 9062d7b6266f1fe389feb1f01eecfc4299aed394 Mon Sep 17 00:00:00 2001 From: Adrian Gaudebert Date: Wed, 13 Nov 2024 16:23:09 +0100 Subject: [PATCH] Make the palace work over 10 levels instead of 20. --- src/data/buildings.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/buildings.ts b/src/data/buildings.ts index e7982d5..a62f82e 100644 --- a/src/data/buildings.ts +++ b/src/data/buildings.ts @@ -325,7 +325,7 @@ export default [ { type: 'palace', name: 'Palace', - maxLevel: 20, + maxLevel: 10, unique: true, requiredTownhallLevel: 10, cost: (level: number) => { @@ -345,7 +345,7 @@ export default [ }, triggers: { onLevelUp: (V: VillageState, self: BuildingType) => { - if (self.level === 10 || self.level === 20) { + if (self.level === 5 || self.level === 10) { // Create a new hero. V.heroes.push(createHero()); }