-
Notifications
You must be signed in to change notification settings - Fork 650
[Demonology] Initial Demonology support. #315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Some might be missing, most likely pet spells
Won't probably change anything since they're not tracked anyway due to their nature
Felstorm still broken
Might be a little redundant since we now have playerPets in the Parser, but since it extends Entity, we could be able to track buffs on the pets etc. Also convenient to get the pet from event by getEntity(event).
| const percentage = actualCasts / maxCasts; | ||
| when(percentage).isLessThan(1) | ||
| .addSuggestion((suggest, actual, recommended) => { | ||
| return suggest(<span>You should cast <SpellLink id={SPELLS.SUMMON_DOOMGUARD_UNTALENTED.id}/> or <SpellLink id={SPELLS.SUMMON_INFERNAL_UNTALENTED.id}/> more often. Doomguard is best for single target while Infernal is better for AoE. Try to pair up the cooldowns with Bloodlust like buffs (Bloodlust, Heroism, Time Warp etc.).</span>) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could make Bloodlust a SpellLink too.
| return suggest(<span>You should cast <SpellLink id={SPELLS.SUMMON_DOOMGUARD_UNTALENTED.id}/> or <SpellLink id={SPELLS.SUMMON_INFERNAL_UNTALENTED.id}/> more often. Doomguard is best for single target while Infernal is better for AoE. Try to pair up the cooldowns with Bloodlust like buffs (Bloodlust, Heroism, Time Warp etc.).</span>) | ||
| .icon(SPELLS.SUMMON_DOOMGUARD_UNTALENTED.icon) | ||
| .actual(`${actualCasts} out of ${maxCasts} summons.`) | ||
| .recommended(`${maxCasts} is recommended`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing a > or <
| const doomUptime = this.enemies.getBuffUptime(SPELLS.DOOM.id) / this.owner.fightDuration; | ||
| when(doomUptime).isLessThan(0.95) | ||
| .addSuggestion((suggest, actual, recommended) => { | ||
| return suggest('Your Doom uptime can be improved. Try to pay more attention to your Doom on the boss, as it is one of your Soul Shard generators.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can use some SpellLinks for first mentions of spells.
Sorry it's huge, it's just the initial PR, I'll try to keep the following PRs smaller again.
Added initial support for Demonology Warlocks:
Also added a Pet/Pets modules for Core Parser (extends Entity/Entities), could be useful in the future (courtesy of @shighman).
Last but not least - refactored the specs to use new
playerPetsinstead of manually filteringreport.friendlyPetsand some minor fixes I missed earlier.EDIT: Also reworked the CooldownTracker, see PR #318.