mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +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 {
|
getFavorGainContent(): JSX.Element {
|
||||||
const favorGain = this.props.faction.getFavorGain()[0];
|
const favorGain = this.props.faction.getFavorGain()[0];
|
||||||
return (<>
|
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`r = \text{total faction reputation}`} />
|
||||||
<MathComponent tex={String.raw`favor=\left\lfloor\log_{1.02}\left(\frac{r+25000}{25500}\right)\right\rfloor`} />
|
<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 = <>
|
const favorTooltip = <>
|
||||||
Faction favor increases the rate at which you earn reputation for
|
Faction favor increases the rate at which you earn reputation for
|
||||||
this faction by 1% per favor. Faction favor is gained whenever you
|
this faction by 1% per favor. Faction favor is gained whenever you
|
||||||
reset after installing an Augmentation. The amount of
|
install an Augmentation. The amount of
|
||||||
favor you gain depends on how much reputation you have with the faction
|
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`r = reputation`} />
|
||||||
<MathComponent tex={String.raw`\Delta r = \Delta r \times \frac{100+favor}{100}`} />
|
<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 {
|
render(): React.ReactNode {
|
||||||
return (
|
return (
|
||||||
<p className="tooltip" style={this.props.style}>
|
<div className="tooltip" style={this.props.style}>
|
||||||
{this.props.getContent()}
|
<p>{this.props.getContent()}</p>
|
||||||
{
|
{
|
||||||
this.hasTooltip() &&
|
this.hasTooltip() &&
|
||||||
<span className={"tooltiptext"}>{this.tooltip()}</span>
|
<span className={"tooltiptext"}>{this.tooltip()}</span>
|
||||||
}
|
}
|
||||||
</p>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user