Healing prediction doesn't work on pets
sipertruk opened this issue ยท 1 comments
It's shown on the pet's master if previously selected, not at all otherwise.
Here's what i dug, it'll work if i comment the following lines in healcomm :
diff --git a/libs/HealComm-1.0/HealComm-1.0.lua b/libs/HealComm-1.0/HealComm-1.0.lua
index 9db21d8..15f228c 100644
--- a/libs/HealComm-1.0/HealComm-1.0.lua
+++ b/libs/HealComm-1.0/HealComm-1.0.lua
@@ -1445,13 +1445,13 @@ function healcomm_newCastSpellByName(spellName, onSelf)
healcomm_RankRank = rank
else
if UnitIsVisible("target") and UnitIsConnected("target") and UnitCanAssist("player", "target") and onSelf ~= 1 then
- if UnitIsPlayer("target") then
+ --if UnitIsPlayer("target") then
healcomm_ProcessSpellCast(spellName, rank, UnitName("target"))
- else
- for _,val in pairs(healcomm_SpellCast) do
- val = nil
- end
- end
+ -- else
+ -- for _,val in pairs(healcomm_SpellCast) do
+ -- val = nil
+ -- end
+ -- end
else
healcomm_ProcessSpellCast(spellName, rank, UnitName("player"))
end
I'll look further in that issue.