Function getBodypartsBoostEquivalent

  • Compute the number of bodyparts of a given action taking boosts into account

    Parameters

    • body: readonly ({} | {} | {} | {} | {} | {} | {} | {})[]

      Array of bodyparts Creep.body

    • action: ActionConstant

      Expected boosts to use

    • active: boolean = false

      Count only active bodyparts

    Returns number

    An equivalent number of unboosted bodyparts

Generated using TypeDoc