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
+2
View File
@@ -19469,6 +19469,8 @@ INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFam
( 72858, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000004, 0x00000000, 0, 100, 0), -- Gaseous Bloat ( 72858, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000004, 0x00000000, 0, 100, 0), -- Gaseous Bloat
( 72859, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000004, 0x00000000, 0, 100, 0), -- Gaseous Bloat ( 72859, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000004, 0x00000000, 0, 100, 0), -- Gaseous Bloat
( 72860, 0x00, 0, 0x00000000, 0x00000000, 0x00000000 ,0x00000004, 0x00000000, 0, 100, 0), -- Gaseous Bloat ( 72860, 0x00, 0, 0x00000000, 0x00000000, 0x00000000 ,0x00000004, 0x00000000, 0, 100, 0), -- Gaseous Bloat
( 75475, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Item - Chamber of Aspects 25 Tank Trinket
( 75481, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Item - Chamber of Aspects 25 Heroic Tank Trinket
( 75474, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Charred Twilight Scale (Heroic) ( 75474, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Charred Twilight Scale (Heroic)
( 75465, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Charred Twilight Scale ( 75465, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Charred Twilight Scale
( 75457, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Sharpened Twilight Scale (Heroic) ( 75457, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Sharpened Twilight Scale (Heroic)
+5 -11
View File
@@ -8639,14 +8639,6 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
return false; return false;
break; 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 // Rapid Recuperation
case 53228: case 53228:
case 53232: case 53232:
@@ -8688,9 +8680,11 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
if (pVictim) if (pVictim)
pVictim->CastSpell(pVictim, trigger_spell_id, true); // EffectImplicitTarget is self pVictim->CastSpell(pVictim, trigger_spell_id, true); // EffectImplicitTarget is self
return true; return true;
// Item - Chamber of Aspects 25 Normal/Heroic Tank Trinket case 45057: // Evasive Maneuvers (Commendation of Kael`thas trinket)
case 75475: case 71634: // Item - Icecrown 25 Normal Tank Trinket 1
case 75481: 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% // Procs only if damage takes health below $s1%
if (!HealthBelowPctDamaged(triggerAmount, damage)) if (!HealthBelowPctDamaged(triggerAmount, damage))