summaryrefslogtreecommitdiffhomepage
path: root/app/systems/ai/scatter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/systems/ai/scatter.rb')
-rw-r--r--app/systems/ai/scatter.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/systems/ai/scatter.rb b/app/systems/ai/scatter.rb
index 82bcb65..034fa28 100644
--- a/app/systems/ai/scatter.rb
+++ b/app/systems/ai/scatter.rb
@@ -5,7 +5,8 @@ FF::Sys.new("Scatter", priority: 40) do
# what it was before and that means it will force a
# seperation to happen even if the default value is
# changed and you forget to update this number here
- sep.distance = Factory::SampleEnemy.defaults[:boids_seperation_distance] * 3
+ sep.distance = Factory::SampleEnemy.defaults[:boids_seperation_distance] * 10
+ sep.strength = Factory::SampleEnemy.defaults[:boids_seperation_strength]
#puts 'remove align/cohesion/follow'.upcase
alignment_mgr = entity.components[FF::Cmp::BoidsAlignment]
cohesion_mgr = entity.components[FF::Cmp::BoidsCohesion]