From d079345f836aae863f3d615ea80bf4cc2ff14dbb Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 24 Nov 2022 18:36:37 +0100 Subject: Increased size of the battlefield --- battles/src/BaseBattle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'battles') diff --git a/battles/src/BaseBattle.cpp b/battles/src/BaseBattle.cpp index 0de18d5..33e0957 100644 --- a/battles/src/BaseBattle.cpp +++ b/battles/src/BaseBattle.cpp @@ -22,7 +22,7 @@ namespace battles BaseBattle::BaseBattle(const Scenario& scenario) : _registry {}, - spawner {scenario.total_teams(), 3.0, 0.2} + spawner {scenario.total_teams(), 12000, 0.1} { const auto repo = universe::load_sample(); Builder build {_registry, spawner}; @@ -81,7 +81,7 @@ BaseBattle::keep_at_range() continue; const auto target = _registry.get(ai.target); const Point offset = target.position - self.position; - ai.destination = target.position - offset.normalized(); + ai.destination = target.position - offset.normalized().scale(6000.0); } } -- cgit v1.1