Merge pull request #21 from MartinKral/NewSetting

Smoothed out balance and gold costs
This commit is contained in:
Martin Král 2023-01-02 20:12:39 +01:00 committed by GitHub
commit 49dffa199f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,9 +72,9 @@
"metaUpgrades": { "metaUpgrades": {
"health": { "health": {
"costs": [ "costs": [
10,
20, 20,
30, 30
40
], ],
"bonuses": [ "bonuses": [
10, 10,
@ -109,8 +109,8 @@
"movementSpeed": { "movementSpeed": {
"costs": [ "costs": [
10, 10,
20, 30,
30 50
], ],
"bonuses": [ "bonuses": [
10, 10,
@ -120,9 +120,9 @@
}, },
"xpGatherer": { "xpGatherer": {
"costs": [ "costs": [
10,
20, 20,
30, 30
40
], ],
"bonuses": [ "bonuses": [
0.1, 0.1,
@ -151,7 +151,7 @@
], ],
"projectileLifetime": 8, "projectileLifetime": 8,
"projectileSpeed": 140, "projectileSpeed": 140,
"projectileDamage": 2, "projectileDamage": 1,
"cooldown": 3.67 "cooldown": 3.67
}, },
"magicOrbLauncher": { "magicOrbLauncher": {
@ -162,7 +162,7 @@
], ],
"projectileLifetime": 9, "projectileLifetime": 9,
"projectileSpeed": 120, "projectileSpeed": 120,
"projectileDamage": 2, "projectileDamage": 1,
"cooldown": 4 "cooldown": 4
}, },
"enemies": [ "enemies": [
@ -174,7 +174,7 @@
"damage": 1, "damage": 1,
"speed": 60, "speed": 60,
"lifetime": -1, "lifetime": -1,
"xpReward": 1, "xpReward": 0.9,
"goldReward": 0, "goldReward": 0,
"healthPotionRewardChance": 0.01, "healthPotionRewardChance": 0.01,
"magnetRewardChance": 0.01, "magnetRewardChance": 0.01,
@ -217,7 +217,7 @@
"speed": 90, "speed": 90,
"lifetime": -1, "lifetime": -1,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.3, "goldReward": 0.15,
"healthPotionRewardChance": 0.01, "healthPotionRewardChance": 0.01,
"magnetRewardChance": 0.01, "magnetRewardChance": 0.01,
"chestRewardChance": 0 "chestRewardChance": 0
@ -231,7 +231,7 @@
"speed": 70, "speed": 70,
"lifetime": -1, "lifetime": -1,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.2, "goldReward": 0.1,
"healthPotionRewardChance": 0.01, "healthPotionRewardChance": 0.01,
"magnetRewardChance": 0.02, "magnetRewardChance": 0.02,
"chestRewardChance": 0 "chestRewardChance": 0
@ -245,10 +245,10 @@
"speed": 75, "speed": 75,
"lifetime": -1, "lifetime": -1,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.2, "goldReward": 0.1,
"healthPotionRewardChance": 0.02, "healthPotionRewardChance": 0.02,
"magnetRewardChance": 0.02, "magnetRewardChance": 0.02,
"chestRewardChance": 0.01 "chestRewardChance": 0
}, },
{ {
"id": "HarderEnemy", "id": "HarderEnemy",
@ -259,10 +259,10 @@
"speed": 80, "speed": 80,
"lifetime": -1, "lifetime": -1,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.2, "goldReward": 0.1,
"healthPotionRewardChance": 0.02, "healthPotionRewardChance": 0.02,
"magnetRewardChance": 0.02, "magnetRewardChance": 0.02,
"chestRewardChance": 0.01 "chestRewardChance": 0
}, },
{ {
"id": "HardestEnemy", "id": "HardestEnemy",
@ -273,7 +273,7 @@
"speed": 95, "speed": 95,
"lifetime": -1, "lifetime": -1,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.3, "goldReward": 0.15,
"healthPotionRewardChance": 0.02, "healthPotionRewardChance": 0.02,
"magnetRewardChance": 0.01, "magnetRewardChance": 0.01,
"chestRewardChance": 0.01 "chestRewardChance": 0.01
@ -284,10 +284,10 @@
"graphicsType": "Runner", "graphicsType": "Runner",
"health": 26, "health": 26,
"damage": 2, "damage": 2,
"speed": 135, "speed": 133,
"lifetime": -1, "lifetime": -1,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.3, "goldReward": 0.15,
"healthPotionRewardChance": 0.02, "healthPotionRewardChance": 0.02,
"magnetRewardChance": 0.01, "magnetRewardChance": 0.01,
"chestRewardChance": 0.01 "chestRewardChance": 0.01
@ -301,10 +301,10 @@
"speed": 60, "speed": 60,
"lifetime": -1, "lifetime": -1,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.3, "goldReward": 0.15,
"healthPotionRewardChance": 0.02, "healthPotionRewardChance": 0.02,
"magnetRewardChance": 0, "magnetRewardChance": 0,
"chestRewardChance": 0.01 "chestRewardChance": 0
}, },
{ {
"id": "SiegeEnemyMelee", "id": "SiegeEnemyMelee",
@ -315,7 +315,7 @@
"speed": 70, "speed": 70,
"lifetime": -1, "lifetime": -1,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.4, "goldReward": 0.2,
"healthPotionRewardChance": 0.02, "healthPotionRewardChance": 0.02,
"magnetRewardChance": 0, "magnetRewardChance": 0,
"chestRewardChance": 0.01 "chestRewardChance": 0.01
@ -329,9 +329,9 @@
"speed": 80, "speed": 80,
"lifetime": -1, "lifetime": -1,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.5, "goldReward": 0.2,
"healthPotionRewardChance": 0.02, "healthPotionRewardChance": 0.02,
"magnetRewardChance": 0, "magnetRewardChance": 0.01,
"chestRewardChance": 0.01 "chestRewardChance": 0.01
}, },
{ {
@ -343,10 +343,10 @@
"speed": 90, "speed": 90,
"lifetime": -1, "lifetime": -1,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.5, "goldReward": 0.2,
"healthPotionRewardChance": 0.02, "healthPotionRewardChance": 0.02,
"magnetRewardChance": 0.01, "magnetRewardChance": 0.01,
"chestRewardChance": 0.01 "chestRewardChance": 0
}, },
{ {
"id": "BatEnemy", "id": "BatEnemy",
@ -371,7 +371,7 @@
"speed": 22, "speed": 22,
"lifetime": 27, "lifetime": 27,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.3, "goldReward": 0.15,
"healthPotionRewardChance": 0.05, "healthPotionRewardChance": 0.05,
"magnetRewardChance": 0.05, "magnetRewardChance": 0.05,
"chestRewardChance": 0 "chestRewardChance": 0
@ -385,7 +385,7 @@
"speed": 35, "speed": 35,
"lifetime": 27, "lifetime": 27,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.4, "goldReward": 0.15,
"healthPotionRewardChance": 0.02, "healthPotionRewardChance": 0.02,
"magnetRewardChance": 0.02, "magnetRewardChance": 0.02,
"chestRewardChance": 0 "chestRewardChance": 0
@ -399,7 +399,7 @@
"speed": 30, "speed": 30,
"lifetime": 27, "lifetime": 27,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.5, "goldReward": 0.2,
"healthPotionRewardChance": 0.02, "healthPotionRewardChance": 0.02,
"magnetRewardChance": 0.01, "magnetRewardChance": 0.01,
"chestRewardChance": 0 "chestRewardChance": 0
@ -413,7 +413,7 @@
"speed": 60, "speed": 60,
"lifetime": 26, "lifetime": 26,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.6, "goldReward": 0.2,
"healthPotionRewardChance": 0.02, "healthPotionRewardChance": 0.02,
"magnetRewardChance": 0.01, "magnetRewardChance": 0.01,
"chestRewardChance": 0 "chestRewardChance": 0
@ -427,7 +427,7 @@
"speed": 25, "speed": 25,
"lifetime": 27, "lifetime": 27,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.6, "goldReward": 0.2,
"healthPotionRewardChance": 0.02, "healthPotionRewardChance": 0.02,
"magnetRewardChance": 0.02, "magnetRewardChance": 0.02,
"chestRewardChance": 0 "chestRewardChance": 0
@ -441,7 +441,7 @@
"speed": 370, "speed": 370,
"lifetime": 20, "lifetime": 20,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.2, "goldReward": 0.15,
"healthPotionRewardChance": 0, "healthPotionRewardChance": 0,
"magnetRewardChance": 0, "magnetRewardChance": 0,
"chestRewardChance": 0 "chestRewardChance": 0
@ -455,7 +455,7 @@
"speed": 70, "speed": 70,
"lifetime": 30, "lifetime": 30,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.3, "goldReward": 0.15,
"healthPotionRewardChance": 0.01, "healthPotionRewardChance": 0.01,
"magnetRewardChance": 0, "magnetRewardChance": 0,
"chestRewardChance": 0.01 "chestRewardChance": 0.01
@ -469,10 +469,10 @@
"speed": 320, "speed": 320,
"lifetime": 30, "lifetime": 30,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.4, "goldReward": 0.15,
"healthPotionRewardChance": 0.01, "healthPotionRewardChance": 0.01,
"magnetRewardChance": 0.01, "magnetRewardChance": 0.01,
"chestRewardChance": 0.01 "chestRewardChance": 0
}, },
{ {
"id": "WaveEnemyArmorBlitz", "id": "WaveEnemyArmorBlitz",
@ -483,10 +483,10 @@
"speed": 340, "speed": 340,
"lifetime": 24, "lifetime": 24,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.5, "goldReward": 0.2,
"healthPotionRewardChance": 0.01, "healthPotionRewardChance": 0.01,
"magnetRewardChance": 0.01, "magnetRewardChance": 0.01,
"chestRewardChance": 0.01 "chestRewardChance": 0
}, },
{ {
"id": "WaveEnemyDeath", "id": "WaveEnemyDeath",
@ -497,10 +497,10 @@
"speed": 400, "speed": 400,
"lifetime": 27, "lifetime": 27,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.7, "goldReward": 0.3,
"healthPotionRewardChance": 0.01, "healthPotionRewardChance": 0.01,
"magnetRewardChance": 0.01, "magnetRewardChance": 0.01,
"chestRewardChance": 0.01 "chestRewardChance": 0
}, },
{ {
"id": "WaveEnemyArmorMarch", "id": "WaveEnemyArmorMarch",
@ -511,38 +511,38 @@
"speed": 170, "speed": 170,
"lifetime": 30, "lifetime": 30,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.6, "goldReward": 0.3,
"healthPotionRewardChance": 0.01, "healthPotionRewardChance": 0.01,
"magnetRewardChance": 0.01, "magnetRewardChance": 0.01,
"chestRewardChance": 0.01 "chestRewardChance": 0
}, },
{ {
"id": "BasicBoss", "id": "BasicBoss",
"moveType": "Follow", "moveType": "Follow",
"graphicsType": "BossStoneGolem", "graphicsType": "BossStoneGolem",
"health": 8, "health": 11,
"damage": 2, "damage": 2,
"speed": 70, "speed": 95,
"lifetime": -1, "lifetime": -1,
"xpReward": 1, "xpReward": 1,
"goldReward": 2, "goldReward": 2,
"healthPotionRewardChance": 0.1, "healthPotionRewardChance": 0.1,
"magnetRewardChance": 0.1, "magnetRewardChance": 0.1,
"chestRewardChance": 0.1 "chestRewardChance": 0
}, },
{ {
"id": "StandardBoss", "id": "StandardBoss",
"moveType": "Follow", "moveType": "Follow",
"graphicsType": "BossOrcKing", "graphicsType": "BossOrcKing",
"health": 12, "health": 16,
"damage": 3, "damage": 3,
"speed": 80, "speed": 102,
"lifetime": -1, "lifetime": -1,
"xpReward": 2, "xpReward": 2,
"goldReward": 3, "goldReward": 2,
"healthPotionRewardChance": 0.2, "healthPotionRewardChance": 0.2,
"magnetRewardChance": 0.1, "magnetRewardChance": 0.1,
"chestRewardChance": 0.1 "chestRewardChance": 0
}, },
{ {
"id": "HardBoss", "id": "HardBoss",
@ -550,10 +550,10 @@
"graphicsType": "BossOrcKing", "graphicsType": "BossOrcKing",
"health": 20, "health": 20,
"damage": 4, "damage": 4,
"speed": 90, "speed": 110,
"lifetime": -1, "lifetime": -1,
"xpReward": 2, "xpReward": 2,
"goldReward": 5, "goldReward": 4,
"healthPotionRewardChance": 0.2, "healthPotionRewardChance": 0.2,
"magnetRewardChance": 0.1, "magnetRewardChance": 0.1,
"chestRewardChance": 0.1 "chestRewardChance": 0.1
@ -564,24 +564,24 @@
"graphicsType": "BossStoneGolem", "graphicsType": "BossStoneGolem",
"health": 30, "health": 30,
"damage": 4, "damage": 4,
"speed": 105, "speed": 115,
"lifetime": -1, "lifetime": -1,
"xpReward": 3, "xpReward": 3,
"goldReward": 7, "goldReward": 5,
"healthPotionRewardChance": 0.2, "healthPotionRewardChance": 0.2,
"magnetRewardChance": 0.1, "magnetRewardChance": 0.1,
"chestRewardChance": 0 "chestRewardChance": 0.1
}, },
{ {
"id": "HardestBoss", "id": "HardestBoss",
"moveType": "Follow", "moveType": "Follow",
"graphicsType": "BossOrcKing", "graphicsType": "BossOrcKing",
"health": 35, "health": 40,
"damage": 4, "damage": 4,
"speed": 115, "speed": 125,
"lifetime": -1, "lifetime": -1,
"xpReward": 5, "xpReward": 5,
"goldReward": 8, "goldReward": 6,
"healthPotionRewardChance": 0.3, "healthPotionRewardChance": 0.3,
"magnetRewardChance": 0.2, "magnetRewardChance": 0.2,
"chestRewardChance": 0.1 "chestRewardChance": 0.1
@ -606,7 +606,7 @@
"graphicsType": "Barbarian", "graphicsType": "Barbarian",
"health": 4, "health": 4,
"damage": 1, "damage": 1,
"speed": 85, "speed": 80,
"lifetime": -1, "lifetime": -1,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.1, "goldReward": 0.1,
@ -620,7 +620,7 @@
"graphicsType": "DarkRaven", "graphicsType": "DarkRaven",
"health": 9, "health": 9,
"damage": 2, "damage": 2,
"speed": 85, "speed": 90,
"lifetime": -1, "lifetime": -1,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.1, "goldReward": 0.1,
@ -637,7 +637,7 @@
"speed": 120, "speed": 120,
"lifetime": -1, "lifetime": -1,
"xpReward": 0.5, "xpReward": 0.5,
"goldReward": 1, "goldReward": 0.15,
"healthPotionRewardChance": 0.01, "healthPotionRewardChance": 0.01,
"magnetRewardChance": 0.01, "magnetRewardChance": 0.01,
"chestRewardChance": 0 "chestRewardChance": 0
@ -651,7 +651,7 @@
"speed": 130, "speed": 130,
"lifetime": -1, "lifetime": -1,
"xpReward": 1, "xpReward": 1,
"goldReward": 0.2, "goldReward": 0.15,
"healthPotionRewardChance": 0.01, "healthPotionRewardChance": 0.01,
"magnetRewardChance": 0.01, "magnetRewardChance": 0.01,
"chestRewardChance": 0 "chestRewardChance": 0
@ -666,7 +666,7 @@
{ {
"enemyIdToAffect": "StandardCheetah", "enemyIdToAffect": "StandardCheetah",
"followTime": 3, "followTime": 3,
"waitTime": 3 "waitTime": 2
}, },
{ {
"enemyIdToAffect": "SiegeEnemyRanged", "enemyIdToAffect": "SiegeEnemyRanged",
@ -822,7 +822,7 @@
"common": { "common": {
"enemyId": "HardestEnemy", "enemyId": "HardestEnemy",
"startDelay": 1001, "startDelay": 1001,
"stopDelay": 1230, "stopDelay": 1210,
"cooldown": 0.8 "cooldown": 0.8
} }
}, },
@ -830,16 +830,16 @@
"common": { "common": {
"enemyId": "HardestEnemy", "enemyId": "HardestEnemy",
"startDelay": 1175, "startDelay": 1175,
"stopDelay": 1230, "stopDelay": 1290,
"cooldown": 0.4 "cooldown": 0.6
} }
}, },
{ {
"common": { "common": {
"enemyId": "EndEnemy", "enemyId": "EndEnemy",
"startDelay": 1175, "startDelay": 1175,
"stopDelay": 1260, "stopDelay": 1290,
"cooldown": 0.4 "cooldown": 0.5
} }
}, },
{ {
@ -1090,7 +1090,43 @@
"stopDelay": 303, "stopDelay": 303,
"cooldown": 2 "cooldown": 2
}, },
"enemiesToSpawn": 8 "enemiesToSpawn": 4
},
{
"common": {
"enemyId": "FinalBoss",
"startDelay": 1190,
"stopDelay": 1299,
"cooldown": 8
},
"enemiesToSpawn": 3
},
{
"common": {
"enemyId": "EndEnemy",
"startDelay": 1190,
"stopDelay": 1299,
"cooldown": 7
},
"enemiesToSpawn": 6
},
{
"common": {
"enemyId": "SiegeEnemyRanged",
"startDelay": 1190,
"stopDelay": 1300,
"cooldown": 20
},
"enemiesToSpawn": 16
},
{
"common": {
"enemyId": "EndEnemy",
"startDelay": 1190,
"stopDelay": 1299,
"cooldown": 5
},
"enemiesToSpawn": 6
}, },
{ {
"common": { "common": {