Core/Spells: Fix Onyxia caster trinkets, original idea by Pihtt

Closes #1449
This commit is contained in:
tobmaps
2011-05-17 19:45:45 +07:00
parent 37145b6203
commit 2ad8dadf44
4 changed files with 28 additions and 0 deletions
+12
View File
@@ -5439,6 +5439,18 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
triggered_spell_id = 63321; // Life Tap
break;
}
// Purified Shard of the Scale - Onyxia 10 Caster Trinket
case 69755:
{
triggered_spell_id = (procFlag & PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_POS) ? 69733 : 69729;
break;
}
// Shiny Shard of the Scale - Onyxia 25 Caster Trinket
case 69739:
{
triggered_spell_id = (procFlag & PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_POS) ? 69734 : 69730;
break;
}
case 71519: // Deathbringer's Will Normal
{
if (GetTypeId() != TYPEID_PLAYER)