diff --git a/Data/Buildings.json b/Data/Buildings.json index 28d510f..95da0fb 100644 --- a/Data/Buildings.json +++ b/Data/Buildings.json @@ -36,7 +36,7 @@ "reactor": { "scene": "res://Scenes/Tiles/ReactorTile.tscn", "cost": {}, - "durability": 200, + "durability": 1000, "buildTime": 5.0, "allowedRotations": [0], "layer": 1, diff --git a/Scripts/Entities/EnemyBase.cs b/Scripts/Entities/EnemyBase.cs index 1f37813..7fc1686 100644 --- a/Scripts/Entities/EnemyBase.cs +++ b/Scripts/Entities/EnemyBase.cs @@ -13,7 +13,7 @@ public abstract partial class BaseEnemy : CharacterBody2D [Export] public float DetectionRadius = 300.0f; [Export] public float AttackRadius = 80.0f; [Export] public int Damage = 10; - [Export] public float AttackCooldown = 1.0f; + [Export] public float AttackCooldown = 3.0f; [Export] public int MaxHealth = 100; [Export] public bool ShowDamageNumbers = true; diff --git a/Scripts/Tiles/EnemyPortalTile.cs b/Scripts/Tiles/EnemyPortalTile.cs index 293d476..9fc8d9f 100644 --- a/Scripts/Tiles/EnemyPortalTile.cs +++ b/Scripts/Tiles/EnemyPortalTile.cs @@ -12,7 +12,7 @@ public partial class EnemyPortalTile : BaseTile [Export] public bool Active = true; private Timer _spawnTimer; - private int _currentEnemyCount = 0; + private int _currentEnemyCount; public override void _Ready() { @@ -38,7 +38,7 @@ public partial class EnemyPortalTile : BaseTile Texture = sprite.Texture, Scale = sprite.Scale * 1.05f, // Slightly larger than the original Modulate = new Color(0, 0, 0, 0.5f), // Slightly more transparent - Position = new Vector2(0, 12), // Closer to the sprite (reduced from 30) + Position = new Vector2(0, 6), // Closer to the sprite (reduced from 30) ZIndex = -1 }; AddChild(shadow);