forked from WoWAnalyzer/WoWAnalyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a AlertInfo element about the updated logic
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...etail/evoker/augmentation/modules/features/BuffTargetHelper/BuffTargetHelperInfoLabel.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { AlertInfo, SpellLink } from 'interface'; | ||
import TALENTS from 'common/TALENTS/evoker'; | ||
|
||
type Props = { | ||
has4Pc: boolean; | ||
}; | ||
|
||
const BuffTargetHelperInfoLabel: React.FC<Props> = ({ has4Pc }) => { | ||
return ( | ||
<div className="container"> | ||
<AlertInfo style={{ marginBottom: 30 }}> | ||
<b> | ||
Note for <a href="https://wago.io/yrmx6ZQSG">Prescience Helper</a> users | ||
</b> | ||
<p> | ||
<b>HenryG</b> has updated the logic for his Prescience Helper WeakAura on <b>January 7</b> | ||
. This module has been updated to support the new logic. | ||
</p> | ||
<p> | ||
Please update your Prescience Helper WeakAura to the latest version. If you do not, this | ||
module will not work correctly. | ||
</p> | ||
{has4Pc && ( | ||
<p> | ||
<b> | ||
Because you have T31 4pc, the note generated assumes the first{' '} | ||
<SpellLink spell={TALENTS.PRESCIENCE_TALENT} /> you cast on pull is a long one. | ||
</b> | ||
</p> | ||
)} | ||
</AlertInfo> | ||
</div> | ||
); | ||
}; | ||
|
||
export default BuffTargetHelperInfoLabel; |