Skip to content

Conversation

@sMteX
Copy link
Collaborator

@sMteX sMteX commented Sep 16, 2017

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:

  • ABC module
  • CastEfficiency
  • CooldownTracker
  • Grimoire and Doomguard/Infernal modules from Destro
  • Felstorm module - it didn't work right out-of-the box, so this is a substitute for CastEfficiency entry
  • Doom uptime module - so it actually shows something useful at least

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 playerPets instead of manually filtering report.friendlyPets and some minor fixes I missed earlier.

EDIT: Also reworked the CooldownTracker, see PR #318.

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>)
Copy link
Member

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`)
Copy link
Member

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.')
Copy link
Member

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.

@MartijnHols MartijnHols merged commit 2e30a2a into WoWAnalyzer:master Sep 17, 2017
@sMteX sMteX deleted the demo-lock-initial branch September 18, 2017 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants