It's a bit more difficult than that.
The main problem is that this AddOn was written for a different patch / expansion (first released for patch 7.1.0 Legion).
The API in patch 3.3.5 (WotLK) and 7.X.X (Legion) differs greatly, as does any other expansion.
Simple example (don't worry - no need to be able to understand this junk of code as this is just a basic example):
Code:
if (not UnitPlayerControlled(unit) and UnitIsTapDenied(unit)) then
colors = {0.5, 0.5, 0.5}
end
Code:
if (not UnitPlayerControlled(unit) and UnitIsTapped(unit) and not UnitIsTappedByPlayer(unit)) then
colors = {0.5, 0.5, 0.5}
end
The first example is using the function "UnitIsTapDenied" that doesn't exist in 3.3.5.
You need to rewrite the if-loop (see second example) to achieve the same result.
The same applies to frames and textures - if they don't exist, the code won't execute and throw an error.
I have downported the current retail version 2.9.0 patch 8.0.1 (BFA) to 3.3.5:
http://www.mediafire.com/file/peplxv...WotLK.rar/file
Let me know if there's any problem / error / strange behaviour.
I haven't had the chance to test everything, though im quite sure I have fixed the vast majority.
Keep in mind that some modules (e.g. reverse StatusBarFill) are disabled due to the missing functions.
-Aelwi