Slash-The-Hordes/assets/Data/GameSettings.json
2022-12-22 11:45:39 +01:00

510 lines
14 KiB
JSON

{
"player": {
"defaultHP": 50,
"requiredXP": [
10,
20,
30,
40,
50,
60,
70,
80,
90,
100
],
"speed": 100,
"regenerationDelay": 5,
"collisionDelay": 0.5,
"weapon": {
"strikeDelay": 2,
"damage": 2
},
"haloLauncher": {
"projectilesToSpawn": 24,
"cooldownDivisorPerUpgrade": 1,
"launcher": {
"projectileLifetime": 2,
"projectileSpeed": 150,
"wavesToShoot": 1,
"wavesDelayMs": 0,
"cooldown": 10
}
},
"horizontalLauncher": {
"wavesToShootPerUpgrade": 1,
"launcher": {
"projectileLifetime": 3,
"projectileSpeed": 300,
"wavesToShoot": 0,
"wavesDelayMs": 120,
"cooldown": 4
}
},
"diagonalLauncher": {
"wavesToShootPerUpgrade": 1,
"launcher": {
"projectileLifetime": 20,
"projectileSpeed": 300,
"wavesToShoot": 0,
"wavesDelayMs": 200,
"cooldown": 4
}
}
},
"upgrades": {
"maxWeaponLengthUpgrades": 5,
"maxWeaponDamageUpgrades": 10,
"maxHorizontalProjectileUpgrades": 5,
"maxDiagonalProjectileUpgrades": 5,
"maxHaloProjectileUpgrades": 5,
"maxRegenerationUpgrades": 5
},
"metaUpgrades": {
"health": {
"costs": [
0,
0,
0
],
"bonuses": [
10,
20,
30
]
},
"overallDamage": {
"costs": [
0,
10,
0
],
"bonuses": [
1,
2,
3
]
},
"projectilePiercing": {
"costs": [
0,
0,
15
],
"bonuses": [
1,
2,
3
]
},
"movementSpeed": {
"costs": [
0,
0,
0
],
"bonuses": [
10,
20,
30
]
},
"xpGatherer": {
"costs": [
9,
10,
15
],
"bonuses": [
0.1,
0.2,
0.3
]
},
"goldGatherer": {
"costs": [
10,
10,
15
],
"bonuses": [
0.1,
0.2,
0.3
]
}
},
"enemyManager": {
"projectileLauncher1": {
"enemyIds": [
"BasicEnemy"
],
"projectileLifetime": 10,
"projectileSpeed": 150,
"projectileDamage": 1,
"cooldown": 10
},
"enemies": [
{
"id": "BasicEnemy",
"moveType": "Follow",
"graphicsType": "Bat",
"health": 2,
"damage": 1,
"speed": 60,
"lifetime": -1,
"xpReward": 1,
"goldReward": 0,
"healthPotionRewardChance": 0.05
},
{
"id": "StandardEnemy",
"moveType": "Follow",
"graphicsType": "Goblin",
"health": 3,
"damage": 2,
"speed": 65,
"lifetime": -1,
"xpReward": 1,
"goldReward": 0.1,
"healthPotionRewardChance": 0
},
{
"id": "FastEnemy",
"moveType": "Follow",
"graphicsType": "Shark",
"health": 3,
"damage": 2,
"speed": 75,
"lifetime": -1,
"xpReward": 1,
"goldReward": 0.1,
"healthPotionRewardChance": 0
},
{
"id": "CircleEnemy",
"moveType": "Follow",
"graphicsType": "Skeleton",
"health": 4,
"damage": 1,
"speed": 25,
"lifetime": 29,
"xpReward": 1,
"goldReward": 1,
"healthPotionRewardChance": 0
},
{
"id": "CircleEnemyStandard",
"moveType": "Follow",
"graphicsType": "Goblin",
"health": 7,
"damage": 2,
"speed": 35,
"lifetime": 27,
"xpReward": 1,
"goldReward": 2,
"healthPotionRewardChance": 0
},
{
"id": "WaveEnemy",
"moveType": "Launch",
"graphicsType": "Shark",
"health": 1,
"damage": 2,
"speed": 390,
"lifetime": 20,
"xpReward": 1,
"goldReward": 0.2,
"healthPotionRewardChance": 0
},
{
"id": "WaveEnemyArmor",
"moveType": "Launch",
"graphicsType": "Skeleton",
"health": 5,
"damage": 3,
"speed": 70,
"lifetime": 30,
"xpReward": 1,
"goldReward": 1,
"healthPotionRewardChance": 0
},
{
"id": "WaveEnemyArmorFast",
"moveType": "Launch",
"graphicsType": "Goblin",
"health": 5,
"damage": 3,
"speed": 320,
"lifetime": 30,
"xpReward": 1,
"goldReward": 1,
"healthPotionRewardChance": 0
},
{
"id": "BasicBoss",
"moveType": "Follow",
"graphicsType": "BossStoneGolem",
"health": 8,
"damage": 2,
"speed": 65,
"lifetime": -1,
"xpReward": 1,
"goldReward": 3,
"healthPotionRewardChance": 0
},
{
"id": "StandardBoss",
"moveType": "Follow",
"graphicsType": "BossOrcKing",
"health": 12,
"damage": 3,
"speed": 75,
"lifetime": -1,
"xpReward": 2,
"goldReward": 5,
"healthPotionRewardChance": 0
},
{
"id": "BasicCheetah",
"moveType": "PeriodicFollow",
"graphicsType": "Goblin",
"health": 4,
"damage": 1,
"speed": 120,
"lifetime": -1,
"xpReward": 1,
"goldReward": 1,
"healthPotionRewardChance": 0
}
],
"periodicFollowMovers": [
{
"enemyIdToAffect": "BasicCheetah",
"followTime": 3,
"waitTime": 5
}
],
"individualEnemySpawners": [
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 0,
"stopDelay": 59,
"cooldown": 1
}
},
{
"common": {
"enemyId": "BasicBoss",
"startDelay": 89,
"stopDelay": 90,
"cooldown": 0.9
}
},
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 61,
"stopDelay": 120,
"cooldown": 0.9
}
},
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 121,
"stopDelay": 190,
"cooldown": 0.8
}
},
{
"common": {
"enemyId": "StandardBoss",
"startDelay": 199,
"stopDelay": 200,
"cooldown": 0.9
}
},
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 191,
"stopDelay": 220,
"cooldown": 1.5
}
},
{
"common": {
"enemyId": "StandardEnemy",
"startDelay": 210,
"stopDelay": 250,
"cooldown": 0.9
}
},
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 290,
"stopDelay": 320,
"cooldown": 1
}
},
{
"common": {
"enemyId": "StandardEnemy",
"startDelay": 335,
"stopDelay": 420,
"cooldown": 0.7
}
},
{
"common": {
"enemyId": "StandardEnemy",
"startDelay": 421,
"stopDelay": 520,
"cooldown": 0.5
}
},
{
"common": {
"enemyId": "StandardEnemy",
"startDelay": 520,
"stopDelay": 600,
"cooldown": 0.3
}
},
{
"common": {
"enemyId": "FastEnemy",
"startDelay": 310,
"stopDelay": 340,
"cooldown": 0.5
}
},
{
"common": {
"enemyId": "FastEnemy",
"startDelay": 260,
"stopDelay": 300,
"cooldown": 0.8
}
}
],
"circularEnemySpawners": [
{
"common": {
"enemyId": "CircleEnemy",
"startDelay": 1,
"stopDelay": 130,
"cooldown": 45
},
"enemiesToSpawn": 38
},
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 0,
"stopDelay": 122,
"cooldown": 60
},
"enemiesToSpawn": 10
},
{
"common": {
"enemyId": "CircleEnemyStandard",
"startDelay": 280,
"stopDelay": 520,
"cooldown": 50
},
"enemiesToSpawn": 44
},
{
"common": {
"enemyId": "CircleEnemyStandard",
"startDelay": 383,
"stopDelay": 390,
"cooldown": 3
},
"enemiesToSpawn": 44
},
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 245,
"stopDelay": 280,
"cooldown": 5
},
"enemiesToSpawn": 12
},
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 278,
"stopDelay": 291,
"cooldown": 3
},
"enemiesToSpawn": 30
},
{
"common": {
"enemyId": "BasicBoss",
"startDelay": 300,
"stopDelay": 303,
"cooldown": 2
},
"enemiesToSpawn": 8
},
{
"common": {
"enemyId": "BasicCheetah",
"startDelay": 139,
"stopDelay": 140,
"cooldown": 0.9
},
"enemiesToSpawn": 6
}
],
"waveEnemySpawners": [
{
"common": {
"enemyId": "WaveEnemy",
"startDelay": 1,
"stopDelay": 201,
"cooldown": 25
},
"enemiesToSpawn": 12
},
{
"common": {
"enemyId": "WaveEnemy",
"startDelay": 420,
"stopDelay": 600,
"cooldown": 35
},
"enemiesToSpawn": 30
},
{
"common": {
"enemyId": "WaveEnemyArmor",
"startDelay": 1,
"stopDelay": 199,
"cooldown": 50
},
"enemiesToSpawn": 10
},
{
"common": {
"enemyId": "WaveEnemyArmorFast",
"startDelay": 200,
"stopDelay": 600,
"cooldown": 27
},
"enemiesToSpawn": 14
}
]
},
"items": {
"healthPerPotion": 5
}
}