This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hi, The library is great, and it does quite nice calculations in terms of predicting the correct heal value.
However, I am not able to find any exposed API for the actual calculation (initial perhaps)
Would it be possible to expose the CalculateHealing function so that addons could use this feature?
I've patched this on my own, but I would be too supprised if others would like this too.
diff --git a/libs/LibHealComm-4.0/LibHealComm-4.0.lua b/libs/LibHealComm-4.0/LibHealComm-4.0.luaindex 91e1f88..12334aa 100644--- a/libs/LibHealComm-4.0/LibHealComm-4.0.lua+++ b/libs/LibHealComm-4.0/LibHealComm-4.0.lua@@ -2386,6 +2386,7 @@ function HealComm:OnInitialize() end end end+ HealComm.CalculateHealing = CalculateHealing
The only catch of doing this, afaik is that the third parameter must be set as well. I would assume that it should be enough with only two arguments being playerGUID and spellID?
To post a comment, please login or register a new account.