Thread: Vampire Info?
View Single Post
04/16/20, 02:28 PM   #8
Kenza
AddOn Author - Click to view addons
Join Date: Feb 2017
Posts: 31
Awesome!
Tried it out, it works! Sort of... It doesn't recognize my vampire.
I don't really know what I'm doing but I 'fixed' it on mine by changing:

Code:
if (textureName ~= "/esoui/art/icons/ability_vampire_007.dds") then
to
Code:
if not (PlainStringFind(textureName,"ability_vampire")) then
and a few lines later
Code:
if (PlainStringFind(textureName,"ability_vampire")) then
But I'm guessing this would cause problems if you have any other active vampire ability buffs.. How do you find out what the actual buff icon name is?


After that it freaked out with lua errors about line:
Code:
VampireInfoTLCStatusBar:SetTexture(VampireInfoTLCIcon:GetTextureInfo())
So I changed it to:
Code:
VampireInfoTLCStatusBar:SetTexture(textureName)
Now it seems to be functioning properly from what I can tell so far!
Settings seem to work aside from color settings. Are they supposed to work? Or they're not fixed?
  Reply With Quote