[8520] Limit telent 49182 and ranks triggering expected:wq runes cooldown case.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Shendor 2009-09-21 15:17:45 +04:00 committed by VladimirMangos
parent 1c59403b39
commit 4254580141
4 changed files with 18 additions and 1 deletions

View file

@ -6986,6 +6986,12 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB
break;
}
}
// Blade Barrier
if (auraSpellInfo->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && auraSpellInfo->SpellIconID == 85)
{
if (this->GetTypeId() != TYPEID_PLAYER || !((Player*)this)->IsBaseRuneSlotsOnCooldown(RUNE_BLOOD))
return false;
}
// Custom basepoints/target for exist spell
// dummy basepoints or other customs