Closed Axel303 closed 3 years ago
Allow the possibility to choose which art you want to have base on a variable.
The variable "ab.cfg.activeclass" is a number, this can be optimized by using a string but in the GUI(in game) we can only use numbers.
eg : ab.cfg.activeclass = "WARRIOR"; local index, px = unpack(classArt[ab.cfg.activeclass])
You can add strings in the advanced module by wrapping them in quotes, like "WARRIOR" or 'WARRIOR'. That if-statement is very ugly. I will keep the change in mind.
Allow the possibility to choose which art you want to have base on a variable.
The variable "ab.cfg.activeclass" is a number, this can be optimized by using a string but in the GUI(in game) we can only use numbers.
eg : ab.cfg.activeclass = "WARRIOR"; local index, px = unpack(classArt[ab.cfg.activeclass])