UnitGetIncomingHeals

From Warcraft Wiki
Jump to navigation Jump to search

Returns the predicted heals cast on the specified unit.

heal = UnitGetIncomingHeals(unit [, healerGUID])

Arguments

unit
string : UnitToken
healerGUID
string? : UnitToken - Only predict incoming heals from a single UnitId.

Returns

heal
number - Predicted increase in health from incoming heals.

Details

  • Bc icon.gif For Classic, this function is only partially functional[1]. The returned value only predicts healing from direct spell casts; heal-over-time effects and channelled casts are not factored into any predictions.

Patch changes

Retail

Cataclysm Patch 4.0.1 (2010-10-12): Added.[2]

Classic

WoW Icon update.png Patch 1.14.0 (2021-09-28): Backported from patch 2.5.2.
Bc icon.gif Patch 2.5.2 (2021-08-31): Added, excluding heals over time.

See Also

References

 
  1. ^ https://github.com/Stanzilla/WoWUIBugs/issues/163
  2. ^ 2010-10-19, CompactUnitFrame.lua, version 4.0.1.13164, near line 425, archived at Townlong-Yak