diff --git a/libs/libpredict.lua b/libs/libpredict.lua index df143dd1..0472af9e 100644 --- a/libs/libpredict.lua +++ b/libs/libpredict.lua @@ -190,7 +190,7 @@ pfUI.libdebuff_spell_start_self_hooks["libpredict"] = function(spellId, casterGu -- selfcast (ALT) = player, otherwise = current target -- Use this to find the correct group to heal local pohTarget = target or player - if GetNumRaidMembers() > 0 then + if IsInRaid() then -- Raid: find pohTarget's subgroup and heal only those members -- (Turtle WoW changed PoH to heal the target's group, not the caster's group) local targetGroup @@ -299,7 +299,7 @@ pfUI.libdebuff_spell_start_other_hooks["libpredict"] = function(spellId, casterG -- Prayer of Healing: heal entire subgroup of the target if spellName == PRAYER_OF_HEALING then - if GetNumRaidMembers() > 0 then + if IsInRaid() then local targetGroup for i = 1, GetNumRaidMembers() do local rname, _, subgroup = GetRaidRosterInfo(i) diff --git a/modules/turtle-wow.lua b/modules/turtle-wow.lua index 78004c04..69935a39 100644 --- a/modules/turtle-wow.lua +++ b/modules/turtle-wow.lua @@ -47,7 +47,7 @@ pfUI:RegisterModule("turtle-wow", function () -- Check if pfUI is handling group or raid for the current situation local function pfUIHandlesGroupOrRaid() local disabled = C["disabled"] or {} - if GetNumRaidMembers() > 0 then + if IsInRaid() then if not C.unitframes.raid then return false end -- Hide Turtle frames if: pfUI raid module is active, OR player disabled visibility if disabled["raid"] == "1" then