Core/Spells: Fix Improved Spirit Tap proc from Mind Flay crits.

Author: Dr.Tenma
Fixes issue #2786

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-12-20 01:58:15 +01:00
parent f71c97f6c5
commit 33808ab567
3 changed files with 18 additions and 2 deletions
+12
View File
@@ -8759,6 +8759,18 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
case 72176:
basepoints0 = 3;
break;
case 15337: // Improved Spirit Tap (Rank 1)
case 15338: // Improved Spirit Tap (Rank 2)
{
if (procSpell->SpellFamilyFlags[0] & 0x800000)
if ((procSpell->Id != 58381) || !roll_chance_i(50))
return false;
target = pVictim;
break;
}
default:
break;
}
// Blade Barrier