Files
bitburner-src/markdown/bitburner.activefragment.md

2.0 KiB

Home > bitburner > ActiveFragment

ActiveFragment interface

Signature:

interface ActiveFragment extends Fragment 

Extends: Fragment

Properties

Property

Modifiers

Type

Description

chargedEffect

number

This is the raw value of the modifier used to calculate the effect on your multipliers. It may not be a multiplier.

With fragments that increase a multiplier, this value is a multiplier. For example, with "+x% hacknet production" fragment, a value of 1.25 will multiply the "hacknet_node_money" multiplier by 1.25. The UI will show "+25% hacknet production".

With fragments that decrease a multiplier, you need to invert this value. For example, with "-x% cheaper hacknet costs" fragment, a value of 1.25 means the "hacknet_node_purchase_cost" (and other relevant cost multipliers) will be multiplied by 0.8 (1 / 1.25). The UI will show "20% cheaper hacknet costs".

With booster fragments, this value is always 1. Booster fragments only boost non-booster fragments. They don't directly boost your multipliers.

highestCharge

number

numCharge

number

rotation

number

x

number

y

number