diff options
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 566112eacd3..2f62ed6a0ee 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -8210,7 +8210,10 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig // Blade Barrier if (auraSpellInfo->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && auraSpellInfo->SpellIconID == 85) { - if (this->GetTypeId() != TYPEID_PLAYER || !this->ToPlayer()->IsBaseRuneSlotsOnCooldown(RUNE_BLOOD)) + if (this->GetTypeId() != TYPEID_PLAYER) + return false; + + if(!this->ToPlayer()->IsBaseRuneSlotsOnCooldown(RUNE_BLOOD)) return false; } |