9 lines
		
	
	
		
			425 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			425 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
---@diagnostic disable: missing-return, lowercase-global
 | 
						|
---@meta
 | 
						|
 | 
						|
---@param unit string
 | 
						|
---@param name string
 | 
						|
---@return 1nil canTarget
 | 
						|
---Returns whether the spell currently awaiting a target can target a given unit. Only applies when the player has attempted to cast a spell but the spell requires a target before it can begin casting (i.e. the glowing hand cursor is showing).
 | 
						|
function SpellCanTargetUnit(unit, name) end
 |