[8847] Implement talent 20335 and ranks.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also reorder switch cases by case values.
This commit is contained in:
laise 2009-11-20 17:21:17 +03:00 committed by VladimirMangos
parent 56d694b5fb
commit 166c4feaca
8 changed files with 110 additions and 73 deletions

View file

@ -294,7 +294,8 @@ SpellSpecific GetSpellSpecific(uint32 spellId)
if (spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000002190))
return SPELL_HAND;
if ((spellInfo->SpellFamilyFlags & UI64LIT(0x00000820180400)) && (spellInfo->AttributesEx3 & 0x200))
// skip Heart of the Crusader that have also same spell family mask
if ((spellInfo->SpellFamilyFlags & UI64LIT(0x00000820180400)) && (spellInfo->AttributesEx3 & 0x200) && (spellInfo->SpellIconID != 237))
return SPELL_JUDGEMENT;
// only paladin auras have this (for palaldin class family)