Make the palace work over 10 levels instead of 20.

This commit is contained in:
Adrian 2024-11-13 16:23:09 +01:00
parent c984b5b0c5
commit 9062d7b626

View File

@ -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());
}