Core/Spells: Fix item Corpse Tongue Coin and some related cleanup

This commit is contained in:
Ramusik
2011-06-02 01:04:51 +07:00
committed by tobmaps
parent 2a27ce8781
commit 251aea4900
2 changed files with 7 additions and 11 deletions
+5 -11
View File
@@ -8639,14 +8639,6 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
return false;
break;
}
// Evasive Maneuvers (Commendation of Kael`thas trinket)
case 45057:
{
// reduce you below $s1% health
if ((GetHealth() - damage) > CalculatePctN(GetMaxHealth(), triggerAmount))
return false;
break;
}
// Rapid Recuperation
case 53228:
case 53232:
@@ -8688,9 +8680,11 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
if (pVictim)
pVictim->CastSpell(pVictim, trigger_spell_id, true); // EffectImplicitTarget is self
return true;
// Item - Chamber of Aspects 25 Normal/Heroic Tank Trinket
case 75475:
case 75481:
case 45057: // Evasive Maneuvers (Commendation of Kael`thas trinket)
case 71634: // Item - Icecrown 25 Normal Tank Trinket 1
case 71640: // Item - Icecrown 25 Heroic Tank Trinket 1
case 75475: // Item - Chamber of Aspects 25 Normal Tank Trinket
case 75481: // Item - Chamber of Aspects 25 Heroic Tank Trinket
{
// Procs only if damage takes health below $s1%
if (!HealthBelowPctDamaged(triggerAmount, damage))