#Is there a way to procedurally generate abilities?

1 messages · Page 1 of 1 (latest)

broken thunder
#

My addon needs to generate huge amounts of abilities with procedurally generated icons, names, etc. Is there a way to register them without KV files, purely by code?

arctic hawk
#

depends on how varied you want them to be and how much effort you want to put into it

#

tl;dr
kind of
most stuff from KV isn't needed to make the ability, only the classification of it existing

#

tooltips will not work, so you'd have to update them manually

#

but yes it is technically possible

broken thunder
arctic hawk
#

you flipped what I said

#

it has to exist in KV to be understood as an ability by the game

#

but the mechanics and everything else can be controlled by lua

broken thunder
#

dang it

arctic hawk
#

so make one ability and then tweak it to fit

#

the only thing that straight up will not work will be the tooltip
you'll have to fix that yourself with panorama

#

because it makes a lot of assumptions in order to work

#

which is why every addon_english is structured the same

abstract shoal
#

Yeah I'd make one big Lua ability that does all the combination selection etc