Function getMoveEfficiency

  • Gets the move efficiency of a creep based on it's number of move parts and boost relative to it's size.

    Parameters

    • creep: AnyCreep

      target creep or powerCreep

    • usedCapacity: number = ...

      override the amount of capacity the creep is using

    Returns number

    the amount of terrain fatigue the creep can handle

Generated using TypeDoc