diff options
author | Trisjdc <trisjdc@gmail.com> | 2014-06-15 15:00:56 +0100 |
---|---|---|
committer | Trisjdc <trisjdc@gmail.com> | 2014-06-15 15:00:56 +0100 |
commit | aca3795fa7be19ffaf25d919c79e4a98bef87148 (patch) | |
tree | e9e49afaf0d3e45689254e21f29cdf79e4e629a6 /src | |
parent | 4e81e3c194d74e0330812c9da7dd9b1863941c6e (diff) |
Core/Spells: Skip adding CAST_FLAG_RUNE_LIST to rune spells if it's a triggered cast. Solves some of the occasional Death Knight rune visual issues
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/Spell.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 1bee73156c5..48c2a76578d 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -3818,7 +3818,8 @@ void Spell::SendSpellGo() if ((m_caster->GetTypeId() == TYPEID_PLAYER) && (m_caster->getClass() == CLASS_DEATH_KNIGHT) && m_spellInfo->RuneCostID - && m_spellInfo->PowerType == POWER_RUNE) + && m_spellInfo->PowerType == POWER_RUNE + && !(_triggeredCastFlags & TRIGGERED_IGNORE_POWER_AND_REAGENT_COST)) { castFlags |= CAST_FLAG_NO_GCD; // not needed, but Blizzard sends it castFlags |= CAST_FLAG_RUNE_LIST; // rune cooldowns list |