From bdb083eac7675ab3141f51b04be99d9020ba2a6f Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Sun, 7 Aug 2016 18:55:02 -0400 Subject: [PATCH] Previous disc buff check incorrectly excluded Savage Spirit AA line This still doesn't fix Untamed Rage ... unsure on that one :( --- common/spdat.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/spdat.cpp b/common/spdat.cpp index eeaf2be60..f22a82000 100644 --- a/common/spdat.cpp +++ b/common/spdat.cpp @@ -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;