Previous disc buff check incorrectly excluded Savage Spirit AA line

This still doesn't fix Untamed Rage ... unsure on that one :(
This commit is contained in:
Michael Cook (mackal) 2016-08-07 18:55:02 -04:00
parent 4b93ef0a98
commit bdb083eac7

View File

@ -672,9 +672,7 @@ bool IsDisciplineBuff(uint16 spell_id)
if (!IsValidSpell(spell_id))
return false;
if (spells[spell_id].mana == 0 && spells[spell_id].short_buff_box == 0 &&
(spells[spell_id].EndurCost || spells[spell_id].EndurUpkeep) &&
spells[spell_id].targettype == ST_Self)
if (spells[spell_id].IsDisciplineBuff && spells[spell_id].targettype == ST_Self)
return true;
return false;