Make the palace work over 10 levels instead of 20.
This commit is contained in:
parent
c984b5b0c5
commit
9062d7b626
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user