#[TBC Anni] Looking for Additional Dynamic Text Replacements

6 messages · Page 1 of 1 (latest)

modest pond
#

I'm attempting to make simple custom stat sheets that display next to the character frame in TBC anniversary. I was able to display all the info I wanted for ret spec with no issues using only a text WA and a 'character stats' trigger under 'player/unit info'.

I'm trying to make a similar sheet for holy paladin which taught me I need to add an additional trigger for 'power' in order to display total mana but I've looked through all default available triggers and cannot find any that will allow me to display either my healing power, my spell crit or my mp5 data. Any guidance? I assume I'll have to do something custom and I'm nowhere near that familiar with WA or lua.

mortal creek
#

keep using character stats trigger and in display tab put %c into text to bring up a code editor and put this in:

function()
    local healing = GetSpellBonusHealing()
    local holyCrit = GetSpellCritChance(2)
    local manaRegen,castingRegen = GetManaRegen()
    local mp5 = manaRegen and manaRegen * 5
    local mp5Casting = castingRegen and castingRegen * 5
    
    return healing,holyCrit,mp5,mp5Casting
end

then you can use %c1 for healing power %c2 for holy spell crits etc.
go into format options afterwards and adjust precision to get rid of decimal points like this

#

might need additional changes if the numbers don't update properly with for example spell power buffs, do some testing to see if it works

modest pond
#

Awesome that all seems to work well enough for me! Any recommendation on where I could expand my knowledge more if I run into a similar limitations in the future?

mortal creek
#

you basically search through the API wiki page with ctrl + f for anything relevant, or look through other auras to see what they're using.
there's also pins in this discord for general coding resources related to WAs

calm fieldBOT