updates to add new transmog interface

This commit is contained in:
2024-02-13 23:07:25 -05:00
parent 2b6a9d9f79
commit b0d4629f70
3 changed files with 15 additions and 1 deletions

View File

@@ -329,7 +329,11 @@ if(!aio.AddAddon()) {
if(!statValue) {
statValue = parent.CreateFontString(id(`StatValue-${statName}`), "ARTWORK", "GameFontNormalSmall");
statValue.SetPoint("TOPRIGHT", parent, "TOP", -4, -5 - (i * 14));
statValue.SetSize(50, 14);
if(statName === "Damage") {
statValue.SetSize(90, 14);
} else {
statValue.SetSize(50, 14);
}
statValue.SetJustifyH("RIGHT");
ComponentsPool.set(compId(botData.entry, `StatValue-${statName}`), statValue);
}

View File

View File

@@ -0,0 +1,10 @@
let aio: AIO = {};
import { AccountInfo } from "../../classes/account";
function GetTransmogItems(player: Player) {
// SELECT * from acore_characters.custom_unlocked_appearances cua
// join acore_world.item_template it ON (cua.item_template_id = it.entry) where account_id = 252
}