18 lines
		
	
	
		
			679 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			679 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| --INIT
 | |
| if not aura_env.region.texture then
 | |
|     local texture = aura_env.region:CreateTexture(nil, "OVERLAY")
 | |
|     aura_env.region.texture = texture
 | |
| end
 | |
| aura_env.region:SetHeight(128)
 | |
| aura_env.region:SetWidth(128)
 | |
| aura_env.region.texture:SetTexture("Interface\\Addons\\WeakAuras\\PowerAurasMedia\\Auras\\Aura51")
 | |
| aura_env.region.texture:SetHeight(128)
 | |
| aura_env.region.texture:SetWidth(128)
 | |
| aura_env.region.texture:SetAllPoints(aura_env.region)
 | |
| aura_env.region.texture:Show()
 | |
| local plate = C_NamePlate.GetNamePlateForUnit("target")
 | |
| if plate then
 | |
|     aura_env.region.texture:ClearAllPoints()
 | |
|     aura_env.region.texture:SetPoint("BOTTOM", plate, "BOTTOM", 0, 0)
 | |
| end
 |