diff options
| author | realtradam <[email protected]> | 2021-12-26 21:42:56 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2021-12-26 21:42:56 -0500 |
| commit | 5f8a4b6b17d6ada0097412b13605717dd5a310df (patch) | |
| tree | cd3646042537e6c9e69ff2c31c99b816607acce7 /app/systems/ai/scatter.rb | |
| parent | 70b2499a8753331b68fb7a61a8882c9ff0b017d8 (diff) | |
| download | SteelWings-5f8a4b6b17d6ada0097412b13605717dd5a310df.tar.gz SteelWings-5f8a4b6b17d6ada0097412b13605717dd5a310df.zip | |
added rate of fire, tweaked ai
Diffstat (limited to 'app/systems/ai/scatter.rb')
| -rw-r--r-- | app/systems/ai/scatter.rb | 3 |
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] |
