Guest User

Untitled

a guest
Dec 10th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. // if the target at or below 25% health
  2. if(unitTarget->GetHealthPct <= 25)
  3. {
  4.     // Blood in the Water : Rank 1
  5.     if (m_caster->HasSpell(80318))
  6.         // 50% chance
  7.         if(roll_chance_i(50))
  8.             unitTarget->GetAura(80318, m_caster->GetGUID())->RefreshDuration();
  9.     // Blood in the Water : Rank 2
  10.     else if(m_caster->HasSpell(80319))
  11.         unitTarget->GetAura(80318, m_caster->GetGUID())->RefreshDuration();
  12. }
Add Comment
Please, Sign In to add comment