9 lines
		
	
	
		
			497 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			497 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
---@diagnostic disable: missing-return, lowercase-global
 | 
						|
---@meta
 | 
						|
 | 
						|
---@param unitID string
 | 
						|
---@param powerType number
 | 
						|
---@return number maxValue
 | 
						|
---Returns a unit's maximum mana, rage, energy or other power type. Returns the units current maximum power, if the unit does not exist then zero is returned. When querying with a powerType, as long as the unit exists you will get the maximum untalented power even if the class does not use the power type.
 | 
						|
function UnitPowerMax(unitID, powerType) end
 |