diff options
author | maximius <none@none> | 2009-09-21 12:31:36 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-09-21 12:31:36 -0700 |
commit | 9e5c8db01f792231ecff7e3f60a31ebfea733ff1 (patch) | |
tree | 51a91be79cd07dc18955264bcc3d5944f5b21cad /src/game/Unit.cpp | |
parent | f093c18ca105418ff921343c45cc9ac0c77ff455 (diff) |
*[8508] Not assign boolean value to integer variable, expecting to always be 0. Also renaming member variables. Author: NoFantasy
*[8516] Implement spell 53271. Author: Shendor
*[8519] Use RuneType enum where appropriate and more explicit data for rune init. Author: VladimirMangos
Thanks to: Stryker
*[8520] Limit telent 49182 and ranks triggering expected:wq runes cooldown case. Author: Shendor
*Fix Herald Volazj wrongly targeting himself on Shadow Bolt Volley instead of randomly targeting on Shiver, by tlexii.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 8b77f5a4036..f9aa1a964c0 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7604,6 +7604,11 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig 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 switch(trigger_spell_id) |