Skip to content

Commit

Permalink
- Sham targeting fixes for buffs.
Browse files Browse the repository at this point in the history
  • Loading branch information
DerpleMQ2 committed Feb 24, 2024
1 parent 42422cc commit 6f9f752
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion class_configs/shm_class_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,12 @@ local _ClassConfig = {
{
name = "FocusSpell",
type = "Spell",
cond = function(self, spell, target)
cond = function(self, spell, target, uiCheck)
-- force the target for StacksTarget to work.
RGMercUtils.SetTarget(target.ID() or 0)
if not uiCheck then
mq.delay("1s", function() return mq.TLO.Target.ID() == target.ID() end)
end
return not RGMercUtils.TargetHasBuff(spell, target) and spell.StacksTarget()
end,
},
Expand Down

0 comments on commit 6f9f752

Please sign in to comment.