datatext - hit

ive seen that theres a template data-text file in the tukui files and i have this lua string which displays the current hit value

function ()
local hit = GetHitModifier()

return " " .. string.format("%.0f", hit) .. "% Hit"

but how would i go about implementing that into the template?
i have next to no programming experience and the proper syntax in LUA is a complete mystery to me.

datatext - hit

You could take a look at a similar DataText coding, like "Crit" for example.
Everything I do is guareanteed 100% miskrake free

Who is online

Users browsing this forum: No registered users and 0 guests