*Fix Glyph of Renewed Life.
*Update formula for Death strike healing amount. --HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -19388,8 +19388,8 @@ uint32 Player::GetResurrectionSpellId()
|
||||
}
|
||||
}
|
||||
|
||||
// Reincarnation (passive spell) // prio: 1
|
||||
if(prio < 1 && HasSpell(20608) && !HasSpellCooldown(21169) && HasItemCount(17030,1))
|
||||
// Reincarnation (passive spell) // prio: 1 // Glyph of Renewed Life
|
||||
if(prio < 1 && HasSpell(20608) && !HasSpellCooldown(21169) && (HasAura(58059) || HasItemCount(17030,1)))
|
||||
spell_id = 21169;
|
||||
|
||||
return spell_id;
|
||||
|
||||
+1
-1
@@ -6659,7 +6659,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
||||
// Death Strike healing effect
|
||||
if (dummySpell->Id == 45469)
|
||||
{
|
||||
int32 heal=0.5f * pVictim->GetDiseasesByCaster(GetGUID()) * damage+damage;
|
||||
int32 heal=pVictim->GetDiseasesByCaster(GetGUID()) * GetMaxHealth()* 5 /100;
|
||||
CastCustomSpell(this,45470,&heal,NULL,NULL,true);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user