mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
reword faction reputation and favor tooltips
This commit is contained in:
parent
cc9a07c09f
commit
008b233c9d
@ -42,7 +42,7 @@ export class Info extends React.Component<IProps, any> {
|
||||
getFavorGainContent(): JSX.Element {
|
||||
const favorGain = this.props.faction.getFavorGain()[0];
|
||||
return (<>
|
||||
You will earn {Favor(favorGain)} faction favor upon resetting after installing an Augmentation
|
||||
You will have {Favor(this.props.faction.favor+favorGain)} faction favor after installing an Augmentation.
|
||||
<MathComponent tex={String.raw`r = \text{total faction reputation}`} />
|
||||
<MathComponent tex={String.raw`favor=\left\lfloor\log_{1.02}\left(\frac{r+25000}{25500}\right)\right\rfloor`} />
|
||||
</>);
|
||||
@ -56,8 +56,9 @@ export class Info extends React.Component<IProps, any> {
|
||||
const favorTooltip = <>
|
||||
Faction favor increases the rate at which you earn reputation for
|
||||
this faction by 1% per favor. Faction favor is gained whenever you
|
||||
reset after installing an Augmentation. The amount of
|
||||
favor you gain depends on how much reputation you have with the faction
|
||||
install an Augmentation. The amount of
|
||||
favor you gain depends on the total amount of reputation you earned with this faction.
|
||||
Across all resets.
|
||||
<MathComponent tex={String.raw`r = reputation`} />
|
||||
<MathComponent tex={String.raw`\Delta r = \Delta r \times \frac{100+favor}{100}`} />
|
||||
</>;
|
||||
|
@ -58,13 +58,13 @@ export class AutoupdatingParagraph extends React.Component<IProps, IState> {
|
||||
|
||||
render(): React.ReactNode {
|
||||
return (
|
||||
<p className="tooltip" style={this.props.style}>
|
||||
{this.props.getContent()}
|
||||
<div className="tooltip" style={this.props.style}>
|
||||
<p>{this.props.getContent()}</p>
|
||||
{
|
||||
this.hasTooltip() &&
|
||||
<span className={"tooltiptext"}>{this.tooltip()}</span>
|
||||
}
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user