Skip to content

JSzychulec/DeathStrikePredictor

 
 

Repository files navigation

💀 Death Strike Predictor

"Death Knights do not die easily... we make sure of it."

Overview

Death Strike Predictor is a World of Warcraft addon that helps Death Knights maximize their self-healing by displaying predicted Death Strike healing directly on their health bar. No more guesswork - know exactly how much health you'll recover before you strike!

Features

  • 🩸 Real-time Death Strike healing prediction
  • 🛡️ Visual overlay on your health bar
  • 💚 Clear green indicator for potential healing
  • ⚔️ Works with Shadowed Unit Frames
  • 🎮 Simple toggle with /dsp command

Death Strike Formula Documentation

This section provides a comprehensive breakdown of how Death Strike healing is calculated in World of Warcraft, particularly for Blood Death Knights in modern expansions.

1. Baseline Calculation

Death Strike's base heal is whichever is higher:

$$ \text{Base DS Heal}

\max\Bigl( 0.25 \times \text{(Damage Taken in the last 5s)},; 0.07 \times \text{(Max Health)} \Bigr). $$

  • The first part is 25% of the damage you've taken over the last 5 seconds.
  • The second part is 7% of your maximum HP.

2. Common Multipliers

  1. Voracious (Talent, +15%): $$ \times 1.15 $$

  2. Hemostasis (+8% per stack; up to 5 stacks): $$ \times \Bigl(1 + 0.08 \times \text{# stacks}\Bigr) $$ For example, if you have 3 stacks, that's (1 + 3 \times 0.08 = 1.24) → +24%.

  3. Vampiric Blood (+30% healing received; Improved VB adds +5% per stack): $$ \times \bigl(1.3 + 0.05 \times \text{(VB stacks)}\bigr) $$

  4. Improved Death Strike (+5%): $$ \times 1.05 $$

  5. Rune of Sanguination (up to +48% based on missing HP): $$ \times \Bigl(1 + 0.48 \times \text{(HP missing fraction)}\Bigr) $$

  6. Sanguine Ground (+5%): $$ \times 1.05 $$

3. Versatility

After applying healing multipliers, Versatility (for healing) is also multiplied in. If your Vers "damage done" is +20%, your "healing done" portion is typically +10%:

$$ \times \bigl(1 + \text{VersHealingPct}\bigr). $$

4. Additive Effects

Some bonuses add a flat value rather than multiplying. For example, Dark Succor:

  • If Dark Succor is active, it adds +10% of your max HP to the final heal.

$$ \text{Final DS Heal}

\bigl(\text{Multiplied DS Heal}\bigr) + \bigl(0.10 \times \text{Max HP}\bigr). $$

5. Complete Formula

A general formula for Blood DK could look like this:

$$ \text{DS Heal}

\max!\Bigl( 0.25 \times \text{Damage}_{\text{5s}},; 0.07 \times \text{Max HP} \Bigr) \times \bigl(1 + 0.15 \times [\text{Voracious?}]\bigr) \times \bigl(1 + 0.08 \times \text{HemoStacks}\bigr) \times \bigl(1.3 + 0.05 \times \text{VBStacks}\bigr) \times 1.05 ;(\text{Improved Death Strike}) \times \Bigl(1 + 0.48 \times \text{MissingHPFraction}\Bigr) ;(\text{Rune of Sanguination}) \times 1.05 ;(\text{Sanguine Ground}) \times \bigl(1 + \text{VersHealingPct}\bigr) + \bigl(0.10 \times \text{Max HP}\bigr);(\text{Dark Succor}). $$

Where:

  • (\text{Damage}_{\text{5s}}) = total damage taken in the last 5 seconds.
  • (\text{HemoStacks}) is the number of Hemostasis stacks (0–5).
  • (\text{VBStacks}) is the number of stacks of Improved Vampiric Blood (often 0 or 1).
  • (\text{MissingHPFraction}) is (\displaystyle 1 - \frac{\text{CurrentHP}}{\text{MaxHP}}).
  • (\text{VersHealingPct}) is your Versatility's healing contribution (e.g., 0.10 for +10%).

Note: Most of these multipliers are purely multiplicative, so the order of multiplication doesn't matter. However, truly additive bonuses (like Dark Succor's +10% of max HP) should be added at the end.

Additional Considerations

  • Guardian Spirit, Ancestral Guidance, Divine Hymn, etc., are additional "healing received" buffs that further multiply your DS healing if they're up.
  • Minor rounding or timing differences can occur between addon calculations and the server's final results.
  • Tier set bonuses or other gear procs can also modify Death Strike.

Example Calculations

Example 1 (with Vampiric Blood):

Given:
- Max Health: 12,689,560
- Damage Taken: 1,133,851
- Active: Voracious, Improved DS, VB, Entropic Embrace

1. Base calculation:
   Damage portion = 1,133,851 × 0.25 × 1.15 (Voracious) = 326,182.16
   Health portion = 12,689,560 × 0.07 = 888,269.2
   Take MAX = 888,269.2

2. Apply modifiers:
   × 1.30 (Vampiric Blood)
   × 1.05 (Entropic Embrace)
   × 1.05 (Improved DS)
   = 1,868,855.74

Example 2 (minimum healing):

Given:
- Max Health: 9,761,200
- Damage Taken: Low/None
- Active: Voracious, Improved DS, Entropic Embrace

1. Base calculation:
   Health portion = 9,761,200 × 0.07 = 683,284
   Take MAX = 683,284

2. Apply modifiers:
   × 1.05 (Entropic Embrace)
   × 1.05 (Improved DS)
   = 753,021.21

Installation

  1. Download the addon
  2. Extract to your World of Warcraft/_retail_/Interface/AddOns folder
  3. Restart World of Warcraft if it's running
  4. Enjoy more precise Death Strikes!

Usage

The addon automatically shows your predicted Death Strike healing on your health bar. Use /dsp to toggle the display on/off.

Commands

  • /dsp - Toggle the prediction display
  • /dsp absorb - Toggle heal absorb tracking
  • /dsp debug - Show current prediction details

Credits

"For we are the Death Knights of Acherus, and we shall not fall!"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 88.3%
  • PowerShell 11.7%