Quantcast

Indicate casting or channeling

Scott Sibley [12-04-10 - 08:41]
Indicate casting or channeling
Filename
Modules/UnitTooltip/UnitTooltip.lua
diff --git a/Modules/UnitTooltip/UnitTooltip.lua b/Modules/UnitTooltip/UnitTooltip.lua
index 482bb06..2286a34 100644
--- a/Modules/UnitTooltip/UnitTooltip.lua
+++ b/Modules/UnitTooltip/UnitTooltip.lua
@@ -548,6 +548,12 @@ end
 	[30] = {
 		name = "Spell Cast",
 		left = [[
+local cast_data = CastData(unit)
+if cast_data then
+	if cast_data.channeling then
+		return "Channeling:"
+	end
+end
 return "Casting:"
 ]],
 		right = [[