Skip to content

Commit

Permalink
Fix source of magic logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ynazar1 committed Nov 15, 2024
1 parent fabbf1a commit 6811738
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SmartBuff.buffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ function SMARTBUFF_InitSpellList()
{SMARTBUFF_BRONZEBLESSING, 60, SMARTBUFF_CONST_SELF},
{SMARTBUFF_Timelessness, 30, SMARTBUFF_CONST_GROUP, {1}, "WARRIOR;DRUID;SHAMAN;HUNTER;ROGUE;MAGE;PRIEST;PALADIN;WARLOCK;DEATHKNIGHT;MONK;DEMONHUNTER;EVOKER"},
{SMARTBUFF_BlisteringScale, -1, SMARTBUFF_CONST_GROUP, {1}, "WARRIOR;DRUID;SHAMAN;HUNTER;ROGUE;MAGE;PRIEST;PALADIN;WARLOCK;DEATHKNIGHT;MONK;DEMONHUNTER;EVOKER"},
{SMARTBUFF_SourceOfMagic, 60, SMARTBUFF_CONST_GROUP, {1}, "DRUID;SHAMAN;PRIEST;PALADIN;MONK;EVOKER"},
{SMARTBUFF_SourceOfMagic, 60, SMARTBUFF_CONST_GROUP, {1}, "WARRIOR;HUNTER;ROGUE;MAGE;WARLOCK;DEATHKNIGHT;DEMONHUNTER;TANK;DAMAGER;HPET;WPET;DKPET"},
{SMARTBUFF_EbonMight, -1, SMARTBUFF_CONST_SELF},
{SMARTBUFF_BronzeAttunement, -1, SMARTBUFF_CONST_SELF},
{SMARTBUFF_BlackAttunement, -1, SMARTBUFF_CONST_SELF},
Expand Down
2 changes: 1 addition & 1 deletion SmartBuff.lua
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ local function InitBuffSettings(cBI, reset)
cBuff.ManaLimit = 0;
if (cBI.Type == SMARTBUFF_CONST_GROUP or cBI.Type == SMARTBUFF_CONST_ITEMGROUP) then
for n in pairs(cClasses) do
if (cBI.Type == SMARTBUFF_CONST_GROUP and n <= 13 and not string.find(cBI.Params, cClasses[n])) then
if (cBI.Type == SMARTBUFF_CONST_GROUP and not string.find(cBI.Params, cClasses[n])) then
cBuff[cClasses[n]] = true;
else
cBuff[cClasses[n]] = false;
Expand Down

0 comments on commit 6811738

Please sign in to comment.