Skip to content

Commit c8f1bab

Browse files
committed
fix: Balancing ships
1 parent eb397dd commit c8f1bab

File tree

2 files changed

+19
-84
lines changed

2 files changed

+19
-84
lines changed

src/game-logic/ships.ts

+19-28
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const SHIP_TYPES = {
1313
speed: 15, // ship_speed tech tree
1414
attack: {},
1515
defense: {
16-
default: 10,
16+
default: 50,
1717
},
1818
cost: { // cheap_ships tech tree
1919
alloys: 75,
@@ -33,7 +33,7 @@ export const SHIP_TYPES = {
3333
speed: 15, // ship_speed tech tree
3434
attack: {},
3535
defense: {
36-
default: 10,
36+
default: 50,
3737
},
3838
cost: { // cheap_ships tech tree
3939
alloys: 100,
@@ -57,14 +57,11 @@ export const SHIP_TYPES = {
5757
health: 100, // armor_plating tech tree
5858
speed: 14, // ship_speed tech tree
5959
attack: { // small_fighters tech tree
60-
default: 10,
61-
fighter: 30,
62-
corvette: 30,
60+
default: 20,
6361
bomber: 30,
64-
frigate: 30,
6562
},
6663
defense: { // small_ship_defense tech tree
67-
default: 10,
64+
default: 20,
6865
},
6966
cost: { // cheap_ships tech tree
7067
alloys: 75,
@@ -83,14 +80,10 @@ export const SHIP_TYPES = {
8380
health: 100, // armor_plating tech tree
8481
speed: 12, // ship_speed tech tree
8582
attack: { // small_fighters tech tree
86-
default: 10,
87-
interceptor: 30,
88-
corvette: 50,
89-
bomber: 50,
90-
frigate: 50,
83+
default: 20,
9184
},
9285
defense: { // small_ship_defense tech tree
93-
default: 10,
86+
default: 20,
9487
},
9588
cost: { // cheap_ships tech tree
9689
alloys: 75,
@@ -133,9 +126,7 @@ export const SHIP_TYPES = {
133126
health: 150, // armor_plating tech tree
134127
speed: 10, // ship_speed tech tree
135128
attack: { // small_fighters tech tree
136-
default: 30,
137-
corvette: 50,
138-
frigate: 50,
129+
default: 25,
139130
system: 50,
140131
},
141132
defense: { // small_ship_defense tech tree
@@ -158,10 +149,10 @@ export const SHIP_TYPES = {
158149
health: 150, // armor_plating tech tree
159150
speed: 8, // ship_speed tech tree
160151
attack: { // small_fighters tech tree
161-
default: 50,
152+
default: 40,
162153
},
163154
defense: { // small_ship_defense tech tree
164-
default: 50,
155+
default: 40,
165156
},
166157
cost: { // cheap_ships tech tree
167158
alloys: 125,
@@ -207,10 +198,10 @@ export const SHIP_TYPES = {
207198
health: 300, // armor_plating tech tree
208199
speed: 6, // ship_speed tech tree
209200
attack: { // medium_fighters tech tree
210-
default: 100,
201+
default: 80,
211202
},
212203
defense: { // medium_ship_defense tech tree
213-
default: 100,
204+
default: 80,
214205
},
215206
cost: { // cheap_ships tech tree
216207
alloys: 250,
@@ -230,10 +221,10 @@ export const SHIP_TYPES = {
230221
health: 300, // armor_plating tech tree
231222
speed: 6, // ship_speed tech tree
232223
attack: { // medium_fighters tech tree
233-
default: 150,
224+
default: 100,
234225
},
235226
defense: { // medium_ship_defense tech tree
236-
default: 150,
227+
default: 100,
237228
},
238229
cost: { // cheap_ships tech tree
239230
alloys: 300,
@@ -253,10 +244,10 @@ export const SHIP_TYPES = {
253244
health: 300, // armor_plating tech tree
254245
speed: 6, // ship_speed tech tree
255246
attack: { // medium_fighters tech tree
256-
default: 200,
247+
default: 120,
257248
},
258249
defense: { // medium_ship_defense tech tree
259-
default: 200,
250+
default: 120,
260251
},
261252
cost: { // cheap_ships tech tree
262253
alloys: 350,
@@ -280,10 +271,10 @@ export const SHIP_TYPES = {
280271
health: 600, // armor_plating tech tree
281272
speed: 5, // ship_speed tech tree
282273
attack: { // large_fighters tech tree
283-
default: 250,
274+
default: 200,
284275
},
285276
defense: { // large_ship_defense tech tree
286-
default: 250,
277+
default: 200,
287278
},
288279
cost: { // cheap_ships tech tree
289280
alloys: 750,
@@ -302,10 +293,10 @@ export const SHIP_TYPES = {
302293
health: 800, // armor_plating tech tree
303294
speed: 4, // ship_speed tech tree
304295
attack: { // large_fighters tech tree
305-
default: 300,
296+
default: 250,
306297
},
307298
defense: { // large_ship_defense tech tree
308-
default: 300,
299+
default: 250,
309300
},
310301
cost: { // cheap_ships tech tree
311302
alloys: 800,

src/game-logic/technologies.ts

-56
Original file line numberDiff line numberDiff line change
@@ -1598,42 +1598,14 @@ export const TECHNOLOGIES: Record<string, Technology> = {
15981598
variable: 'ships.interceptor.attack.default',
15991599
multiplier: 1.1,
16001600
},
1601-
{
1602-
variable: 'ships.interceptor.attack.fighter',
1603-
multiplier: 1.1,
1604-
},
1605-
{
1606-
variable: 'ships.interceptor.attack.corvette',
1607-
multiplier: 1.1,
1608-
},
16091601
{
16101602
variable: 'ships.interceptor.attack.bomber',
16111603
multiplier: 1.1,
16121604
},
1613-
{
1614-
variable: 'ships.interceptor.attack.frigate',
1615-
multiplier: 1.1,
1616-
},
16171605
{
16181606
variable: 'ships.fighter.attack.default',
16191607
multiplier: 1.1,
16201608
},
1621-
{
1622-
variable: 'ships.fighter.attack.interceptor',
1623-
multiplier: 1.1,
1624-
},
1625-
{
1626-
variable: 'ships.fighter.attack.corvette',
1627-
multiplier: 1.1,
1628-
},
1629-
{
1630-
variable: 'ships.fighter.attack.bomber',
1631-
multiplier: 1.1,
1632-
},
1633-
{
1634-
variable: 'ships.fighter.attack.frigate',
1635-
multiplier: 1.1,
1636-
},
16371609
{
16381610
variable: 'ships.corvette.attack.default',
16391611
multiplier: 1.1,
@@ -1658,42 +1630,14 @@ export const TECHNOLOGIES: Record<string, Technology> = {
16581630
variable: 'ships.interceptor.attack.default',
16591631
multiplier: 1.2,
16601632
},
1661-
{
1662-
variable: 'ships.interceptor.attack.fighter',
1663-
multiplier: 1.2,
1664-
},
1665-
{
1666-
variable: 'ships.interceptor.attack.corvette',
1667-
multiplier: 1.2,
1668-
},
16691633
{
16701634
variable: 'ships.interceptor.attack.bomber',
16711635
multiplier: 1.2,
16721636
},
1673-
{
1674-
variable: 'ships.interceptor.attack.frigate',
1675-
multiplier: 1.2,
1676-
},
16771637
{
16781638
variable: 'ships.fighter.attack.default',
16791639
multiplier: 1.2,
16801640
},
1681-
{
1682-
variable: 'ships.fighter.attack.interceptor',
1683-
multiplier: 1.2,
1684-
},
1685-
{
1686-
variable: 'ships.fighter.attack.corvette',
1687-
multiplier: 1.2,
1688-
},
1689-
{
1690-
variable: 'ships.fighter.attack.bomber',
1691-
multiplier: 1.2,
1692-
},
1693-
{
1694-
variable: 'ships.fighter.attack.frigate',
1695-
multiplier: 1.2,
1696-
},
16971641
{
16981642
variable: 'ships.corvette.attack.default',
16991643
multiplier: 1.2,

0 commit comments

Comments
 (0)