Function getActiveBodypartsBoostEquivalent

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

    Parameters

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

      Array of bodyparts Creep.body

    • action: ActionConstant

      Expected boosts to use

    Returns number

    An equivalent number of active unboosted bodyparts

Generated using TypeDoc