Tuesday, September 11, 2012

Shadow And The Constraint Model Of DPS

The more time I spend working on DPS (first my hunter and now my shadow priest spec), the more I realize that DPS is built around a constraint model, far more so than healing is. Constraints, of course, are limitations on the system you're working with, either organically arising from the nature of the system or (as is always the case in games) artificially arising from the rules applied by the designers of the system.

Healing has some pretty simple constraints: cooldowns (global cooldowns and the cooldowns on abilities) and mana (and holy power, in the case of holy paladins). There are helpful mechanics that you can make use of, but those are more tools to help you survive within the above mentioned constraints. Without those constraints, healing would be a simple matter of casting your "best" (combination of power and speed) spell over and over (and that has happened at times in the history of WoW when designers didn't make the constraints compelling enough).

DPS would seem to be somewhat similar, but while cooldowns still exist as constraints (especially global cooldowns), the main power source (like mana) often doesn't. Healing decision-making revolves around selecting the right targets and dealing with the above mentioned constraints of cooldowns and mana. DPS decision-making revolves around a more precise prioritizing of abilities based on the constraints each ability places on every other.

That was probably as clear a winter's night in Seattle (Seattle is perpetually overcast and misting/raining during all seasons except a couple of months in summer, but especially winter) so let me explain what I mean by using the shadow spec as an example.


What Are The "Core" Abilities Anyway?


Here are the abilities that will make up the vast majority of shadow DPS:


For clarity, I'm only talking about single-target damage on boss-like creatures, not low-health adds. So Mind Spike will only be relevant if you take the talent From Darkness, Comes Light (FDCL). I've chosen that talent, so Mind Spike will be a part of the analysis. A similar exercise can be done with the abilities you gain from the other two talents on the tier (and the level 90 talents will add further constraints, though not particularly complicated ones it appears).

Mousing over those abilities, you can see some basic constraints, like mana costs and cooldowns. Those aren't the particularly interesting ones (mana is virtually impossible to run out of, in fact I can't drop below 95% mana or so--my healer heart weeps at the injustice), so let's get to the meat of the matter.


Constraints? You Mean, Just Cast The Best Ability Off Cooldown, Right?


That's the usual take on DPS and it'll work to some extent. This is the type of thing you'll usually see about the current shadow rotation, for example:

Shadow Word: Death > Mind Blast > Devouring Plague (with three shadow orbs) > From Darkness, Comes Light Mind Spike > Shadowfiend > Vampiric Touch = Shadow Word: Pain > Mind Flay

Basically, this means, use whichever of Mind Blast, Shadow Word: Death, three shadow orb Devouring Plague, instant Mind Spike or Shadowfiend is available, with that order of priority if multiple options are available. If none of them are and either Vampiric Touch or Shadow Word: Pain are near expiration, refresh them. If neither of the previous two sentences applies, use Mind Flay.

Doing this in a machine-like fashion won't yield terrible results, you'll do reasonable DPS...but it won't be optimal. To optimize, you need to juggle in your mind all the constraints I'm about to discuss in order to make the best choice on a moment-by-moment basis. 

Let's get to it! (I'm going to omit mana costs and cooldowns, because we've already noted them. Also, remember that I'm discussing single-target damage on boss types of monsters, so I'll also ignore the duration of the damage-over-time [DoT] spells as a constraint.)

Mind Blast
Benefits: The second hardest hitting shadow spell, provides a shadow orb
Constraint(s): None, right? Actually, the constraint is that you can only have three shadow orbs at a time

Shadow Word: Death
Benefits: The hardest hitting shadow spell, provides a shadow orb
Constraint(s): See above. Also, technically a constraint is that it can only be used when your target is below 20% health (unless glyphed) but we'll ignore that by lumping it into "cooldowns" since this constraint is irrelevant to what I'm describing

Devouring Plague
Benefits: A hard-hitting DoT spell, fantastic damage per casting time invested (DPCT)
Constraint(s): Requires three shadow orbs (technically, you can use any number of orbs, but you only want to use it with three)

FDCL Mind Spike
Benefits: Hits about as hard as Mind Blast (though it doesn't provide a shadow orb)
Constraint(s): You can only have two charges saved up, further procs will be wasted

Shadowfiend
Benefits: Better DPCT than the spells listed below
Constraints: None beyond the long cooldown

Vampiric Touch
Benefits: Better DPCT than Mind Flay
Constraint(s): Cast time (this has greater relevance for a DoT than a conventional spell, I'll explain later)

Shadow Word: Pain
Benefits: Better DPCT than Mind Flay
Constraint(s): None, practically

Mind Flay
Benefits: Better than a hole in the head (more correctly: much better than standing idle)
Constraint(s): None, practically

(I ignored mana returns as a benefit for a couple of abilities because, as I said, mana is close to irrelevant. You can price that benefit in for fights which contain as a gimmick taking away all your mana, ala Yor'sahj the Unsleeping.)

So these notes lead us to a logic that's a bit more complicated than the basic priority system laid out above.


Putting It Together In Practice


First some logical consequences...

There's little question you want to cast Mind Blast the moment it is off cooldown...unless you have three shadow orbs.
Which means that a Devouring Plague with three shadow orbs is the top priority...except that the only time pressure on Devouring Plague is the next Mind Blast. As long as you cast it before your next Mind Blast is available, there's no DPS loss.
Which can be handy if Shadow Word: Pain or Vampiric Touch is about to expire or you have two charges of FDCL Mind Spike.
That leads me to FDCL Mind Spike. It sits higher in the priority list than the DoTs...but since you can save two charges at a time, one charge of FDCL Mind Spike isn't a pressing priority. It's better to refresh a DoT that's near expiry before burning a charge of FDCL Mind Spike if you only have one charge.
But if you have two charges of FDCL Mind Spike, then you want to burn a charge of that off pronto, probably even above casting that three orb Devouring Plague.
Shadow Word: Death pretty much follows the same rules as Mind Blast when the target is low enough in health that Shadow Word: Death is available.
Shadowfiend should be used any time it's off cooldown and, since it has no constraints, could be used ahead of Devouring Plague or FDCL Mind Spike with one charge, but could also be pushed behind refreshing Vampiric Touch or Shadow Word: Pain.

This leads to some complicated decisions at times. Let's take an example:

Shadow Word: Pain is 2.5 second from expiring
Vampiric Touch is 2 seconds from expiring
You just completed a cast of Mind Blast, giving you a third shadow orb
A charge of FDCL Mind Spike just proc'd

The usual priority chart would have you cast Devouring Plague, then Mind Spike, then refresh the two DoTs. However, if you hold the Devouring Plague and Mind Spike in abeyance and first refresh Vampiric Touch and then the Shadow Word: Pain, then cast the Devouring Plague and then the Mind Spike, you'll see better DPS, since you have no opportunity cost for withholding the Plague and Spike for a few seconds, whereas the opportunity cost of holding back on the Shadow Word: Pain and Vampiric Touch is letting them expire (costing you DPS and procs from talents like From Darkness, Comes Light and Divine Insight which is further DPS).

This, however, creates a few more caveats...

The reason I mentioned using Devouring Plague before Mind Spike in the above example is because I did take the Divine Insight talent, which means that Mind Blast is always at risk of having its cooldown reset. Which means I actually do want to get Devouring Plague cast off as quickly as possible, so that if I suddenly have an unexpected Mind Blast to cast, I don't have to push it back to avoid wasting the shadow orb it would generate (and pushing Mind Blast back is a DPS loss). Which is a further constraint on Devouring Plague, if you use that talent. However, if you don't use that talent, then you'd actually want to cast the instant Mind Spike first...because your next Mind Blast will be coming at a predictable time (and you should be able to plan to get Devouring Plague cast before Mind Blast comes off cooldown) whereas you might get two quick procs of FDCL while you're casting Devouring Plague (and then waiting out the global cooldown it initiates) which would cause one to be lost if you already have a charge of FDCL (you can't hold three charges at a time).

Getting back to my earlier mention that cast time is a constraint when it comes to a DoT, if you had Vampiric Touch and Shadow Word: Pain close to dropping off (say ~2 seconds away) and both about equally close to dropping off, then you'd want to cast Vampiric Touch first. A cast time spell followed by an instant will lead to both spells being cast more quickly than the instant followed by the cast time spell, because the latter puts a GCD between the casts. Of course, in the case of the former, the GCD will still happen after both spells, so the total time used is identical...but since the lower priority of the DoTs means you'll generally be following it up with something non-mission critical (Mind Flay, oftentimes), you're better off pushing that follow-up spell back rather than adding extra time to the DoT refreshing if there's a risk that one of the DoTs could drop off your target altogether.


In Summation


This is a pretty long wall of text and may or may not seem like a lot to bear in mind, but it all starts to feel pretty natural and instinctive once you've practiced on a dummy enough and put those constraints into practice. 

The real point is that while basic priority systems give you a general idea of what matters more and what matters less, you need to look at the constraints of all your abilities, as illustrated above, to understand how to fit your abilities together in real time.


Friday, September 7, 2012

From Light...Comes Darkness?

I've done the unthinkable. I've crossed over from the Light to the shadow. From the light side of the force to the dark side of the force. A shadow has passed over my soul.

Oh, not entirely. I did drop my holy spec for a shadow spec, but I retain my trusty, true-blue discipline spec. You can have that when you pry it from cold, dead, pixelated hands.

That said, this does signify a bit of a twist in the road for me. I've dabbled in DPS, but generally on other classes and mostly in Wrath. In Cataclysm, I pretty much lost the way with DPS and healed all the things with all the things. I have one of each healer type at max level and that's pretty much all I did. Until recently, that is.

Starting a couple of months ago, I began getting back into my hunter, mostly neglected since Wrath except to level her up to 85. I realized that the reason I was pretty mediocre each time I took a half-hearted stab at DPS this expansion was due to never setting up a proper UI specifically for DPS. Even more so than healing, in my opinion, you need a really good informational set up about your abilities. The old maxim that DPS is a science, tanking is a skill and healing is an art really holds true to me. You obviously need a good informational set up to heal, but it's a different set of information, in my opinion. Healing has a large "feel" component, DPS is all about sharp precision. That's overly simplified (healing requires its own set of precision, DPS needs a feel for certain things) but I think it conveys the general idea.

Anyway, starting with my hunter, I began figuring out how to build a really good DPS UI for me. A UI that created an informational flow that made hitting the right ability at the right time feel natural. I had some good results on my hunter and I think hunter is a blast. If I could weld a discipline priest spec to a survival hunter spec on the same character, I would.

I can't, though, and I do want a proper DPS spec on my main character, which will continue to be my priest, Shanthi, into Mists of Pandaria. The biggest motivator was to be versatile, for the sake of my teammates. Having been the healer with two healing specs (discipline and holy), I was obviously never going to be doing anything but heal. For most of tier 13, we had three healers, which was fine until we hit heroic modes and dropped to two healers for various encounters. At that point, we usually needed one of our healers to go DPS and guess who it wasn't going to be? I felt bad that someone else always had to shift, never me.

So that was the primary motivation. Wanting to be useful as more than a healer. I often run five-mans with friends and one of those friends is a main spec healer also. Since you very rarely two heal five-man dungeons, she always had to switch to accommodate me. I needed more versatility.

However, as I've spent more and more time, since patch 5.0 dropped, working on my shadow UI and rotation, I've found it to be a lot of fun. I've been asking to go DPS as much as possible in raids to get practice keeping my DPS as high as possible while handling mechanics...it's a lot of fun handling a different role. Also, it's a lot of fun melting the faces of monsters.*

*Additionally, shadow has far cooler minor glyphs than discipline or holy. So there's that.

So now I feel very comfortable about heading into Mists of Pandaria as a discipline/shadow priest. I'll offer my raid more options in terms of composition and it really won't be any kind of sacrifice for me...it'll be fun whether I'm healing or DPSing.

This was going to be the introduction to a post in which I talk about my observations of the best way to play shadow (hey, we're all new to 5.0 class mechanics and I've been spending a lot of time reading and thinking about shadow DPS, even if I'm not a long-time shadow priest)...but this "introduction" got a little longer than I expected, so I think I'll just leave it as a stand-alone post about what I've been up to and follow it up in a few days about my thoughts on shadow priest DPS.

I believe that this blog will still mostly focus on healing (with a bias toward priest healing) but there will probably be some posts about DPS (with a bias toward priest DPS) now and again.