1. Dwelvers
  2. News
  3. Dwelvers Beta v0.18.8.0 released - Improved fleeing and increased stability

Dwelvers Beta v0.18.8.0 released - Improved fleeing and increased stability

Dear Dwelvers community,

This week I've fixed something I think many of you have been longing for. There have been a lot of comments on the suicidal Imps out there and that some of you want to slap them! Well, I feel for you! I noticed that instead of actually fleeing from battle they seemed to enjoy running straight into them.

[h2]Improved Fleeing[/h2]
So I sat down and tried to figure out what was actually wrong here and came up with the following.
  • Imps could actually be called for help into battle (which is a big bug).
  • When imps are fleeing they try to go straight to the Dark Mother room (meaning they could run straight through enemies wanting to get there).
  • If the enemy is close to the location they are fleeing they flee to other rooms (still could flee straight through the enemies).
  • If there are task like digging or transporting wounded they didn't care if there was enemies nearby or in their path.


So the improvements I've made is the following
  • Imps have their own pathfinding when doing jobs, this pathfinding avoid enemies and is also used by scared creatures in general)
  • Imps will not do a job that is close to an enemy or where the path to the job is blocked by an enemy.
  • If the imps starts to flee it will use a pathfinding algorithm that seeks the safest location to flee to and at the same time avoid as many enemies as possible getting there.


The fleeing pathfinding algorithm to find the safest place is prioritized in the following order
  1. Find a location that are out of sight from all nearby enemies.
  2. Find a location that are as far away from the enemy that is chasing you as possible.
  3. Find a location that is as close to the nearest player owned room as possible.
  4. If all these criteria's are meet, then stay there until you are not afraid anymore.


So hopefully you will enjoy these smarter imps and if you'd like you can comment on the their new behavior here.

But I also know that big changes like this always brings some unexpected behavior, so please report any abnormality you may find here at the forum.

[h2]Bugfixes[/h2]


Thank you all once again for playing and helping me make Dwelvers better than ever before!

Sincerely,

Rasmus Ljunggren
(The only developer of Dwelvers)