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.
Merge branch 'dragonflight' into master
- Loading branch information
Showing
56 changed files
with
745 additions
and
139 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
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
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
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 { TALENTS_EVOKER } from 'common/TALENTS'; | ||
import { GuideProps, Section } from 'interface/guide'; | ||
import PreparationSection from 'interface/guide/components/Preparation/PreparationSection'; | ||
import CombatLogParser from '../preservation/CombatLogParser'; | ||
import styled from '@emotion/styled'; | ||
/** Common 'rule line' point for the explanation/data in Core Spells section */ | ||
export const GUIDE_CORE_EXPLANATION_PERCENT = 40; | ||
|
||
export const GuideContainer = styled.div` | ||
font-size: 18px; | ||
padding: 2px; | ||
display: grid; | ||
grid-column-gap: 0; | ||
grid-template-columns: 154px 1fr; | ||
align-items: center; | ||
`; | ||
|
||
export default function Guide({ modules, events, info }: GuideProps<typeof CombatLogParser>) { | ||
const isEbBuild = info.combatant.hasTalent(TALENTS_EVOKER.FIELD_OF_DREAMS_TALENT); | ||
return ( | ||
<> | ||
<Section title="Core Spell"> | ||
{modules.dreamBreath.guideSubsection} | ||
{modules.spiritBloom.guideSubsection} | ||
{info.combatant.hasTalent(TALENTS_EVOKER.RESONATING_SPHERE_TALENT) && | ||
!isEbBuild && | ||
modules.resonatingSphere.guideSubsection} | ||
</Section> | ||
<Section title="Healing cooldowns"> | ||
{info.combatant.hasTalent(TALENTS_EVOKER.DREAM_FLIGHT_TALENT) && | ||
modules.dreamFlight.guideSubsection} | ||
</Section> | ||
<PreparationSection /> | ||
</> | ||
); | ||
} |
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
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
Oops, something went wrong.