glitchassassin / screeps-cartographer

Cartographer is an advanced (and open source) movement library for Screeps
29 stars 8 forks source link

Fleeing near room edge #48

Closed glitchassassin closed 1 year ago

glitchassassin commented 1 year ago

Because of the way we're breaking up MoveTargets to accommodate room borders, flee tends to stop once the creep is up against a wall.

Instead, we probably need to select the room positions at range + 1 from the move target, filter the set against the other move targets, and path to those.