mwg API
    Preparing search index...

    Function knockbackPath

    • The cells something shoved from from along direction (a unit step, one of the 8) travels: every passable cell up to distance, stopping before the first impassable one. The game moves the shoved actor to the last cell returned - or nowhere, when the very first cell already blocks, in which case the shove lands against the wall instead.

      Parameters

      Returns Step[]