Removed the unneeded direction parameter from catapults. No longer has to be included in the json file, won't cause crash.

This commit is contained in:
Storm Dragon
2025-02-08 21:26:08 -05:00
parent bcaa4f7f17
commit 740ec3e825
5 changed files with 7 additions and 12 deletions

View File

@@ -108,7 +108,6 @@
"x": 145,
"y": 0,
"type": "catapult",
"direction": -1,
"fire_interval": 5000,
"range": 15
},

View File

@@ -107,7 +107,6 @@
"x": 120,
"y": 0,
"type": "catapult",
"direction": -1,
"fire_interval": 5000,
"range": 15
},
@@ -163,7 +162,7 @@
"x_range": [189, 198],
"y": 0,
"enemy_type": "witch",
"health": 4,
"health": 2,
"damage": 2,
"attack_range": 1.5,
"attack_pattern": {

View File

@@ -46,7 +46,7 @@
"x_range": [21, 31],
"y": 0,
"enemy_type": "goblin",
"health": 5,
"health": 3,
"damage": 2,
"attack_range": 1,
"attack_pattern": {
@@ -83,7 +83,7 @@
"x_range": [60, 70],
"y": 0,
"enemy_type": "goblin",
"health": 5,
"health": 3,
"damage": 2,
"attack_range": 1,
"attack_pattern": {
@@ -101,7 +101,7 @@
"x_range": [71, 81],
"y": 0,
"enemy_type": "goblin",
"health": 5,
"health": 3,
"damage": 2,
"attack_range": 1,
"attack_pattern": {
@@ -143,7 +143,7 @@
{
"x_range": [101, 111],
"y": 0,
"enemy_type": "goblin",
"enemy_type": "witch",
"health": 6,
"damage": 2,
"attack_range": 1,
@@ -171,7 +171,7 @@
"x_range": [140, 150],
"y": 0,
"enemy_type": "goblin",
"health": 6,
"health": 3,
"damage": 2,
"attack_range": 1,
"attack_pattern": {
@@ -219,7 +219,6 @@
"x": 175,
"y": 0,
"type": "catapult",
"direction": -1,
"fire_interval": 4500,
"range": 20
},