🚸Rebalanded fight to make it more likely to win

This commit is contained in:
jonathan
2025-11-25 17:32:27 +01:00
parent b205e45096
commit 073a74bb22
3 changed files with 8 additions and 11 deletions
+4 -4
View File
@@ -133,7 +133,7 @@ public partial class FightWorld : Node
{
var enemyGroups = new List<FighterGroup>();
var enemyGroupCount = GD.RandRange(1, 3);
var enemyGroupCount = GD.RandRange(1, 2);
for (var i = 0; i < enemyGroupCount; i++)
{
@@ -150,7 +150,7 @@ public partial class FightWorld : Node
fighters = []
};
var enemyCount = GD.RandRange(1, 3);
var enemyCount = GD.RandRange(2, 3);
for (var i = 0; i < enemyCount; i++)
{
@@ -178,10 +178,10 @@ public partial class FightWorld : Node
{
type = type,
health = null,
maxHealth = 12,
maxHealth = GD.RandRange(8, 20),
availableActions =
[
new BlobAttackAction()
new BlobAttackAction(GD.RandRange(2, 5))
]
};