View Single Post
12-24-20, 08:16 PM   #2
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
Looking at the code for the ElvUI Wild Imps Tracker, it seems like it could be converted into a WeakAura with some work.
However, with four simple code edits, you can get it working alone without ElvUI.

Open ElvUI_WildImps.lua in any text editor (NotePad, etc.)

Find the following three lines and put two dashes in front of them like so:

Code:
-- local E, L, V, P, G, _ = unpack(ElvUI)

-- local LSM = LibStub("LibSharedMedia-3.0")

-- impCounter:SetFont(LSM:Fetch("font", "ElvUI Font"), 20, "OUTLINE")
Now delete the E. from this line (so that only UIParent is there):

Code:
local impGUI = CreateFrame("Frame", "impGUI", E.UIParent)

local impGUI = CreateFrame("Frame", "impGUI", UIParent)
If this was already installed and WoW was running, type /reload in chat.

Last edited by Kanegasi : 12-24-20 at 08:25 PM.
  Reply With Quote