Core/Spells: Fix item enchant Blood Draining

Closes #513 & #1191
This commit is contained in:
tobmaps
2011-05-11 22:16:18 +07:00
parent 064c570f08
commit 7b0db7a4ea
3 changed files with 12 additions and 2 deletions
+9
View File
@@ -8087,6 +8087,15 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
if (GetStat(STAT_SPIRIT) > stat) { trigger_spell_id = 60235; }
break;
}
case 64568: // Blood Reserve
{
if (HealthBelowPctDamaged(35, damage))
{
CastCustomSpell(this, 64569, &triggerAmount, NULL, NULL, true);
RemoveAura(64568);
}
return false;
}
case 67702: // Death's Choice, Item - Coliseum 25 Normal Melee Trinket
{
float stat = 0.0f;