7 lines
		
	
	
		
			414 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			414 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
---@diagnostic disable: missing-return, lowercase-global
 | 
						|
 | 
						|
---@param name string
 | 
						|
---@param target string
 | 
						|
---Casts a spell specified by name (optionally on a specified unit). Only protected (i.e. usable only by the Blizzard UI) if the given spell is castable (not passive) and is not a trade skill; can be used by addons to cast the "spells" that open trade skill windows.
 | 
						|
function CastSpellByName(name, target) end
 |