JASS Ability display on a custom ui without a library

Status
Not open for further replies.
I'm working on a card game. It has a custom ui on top of the classic one. I need to display the abilities of the selected unit, without making a library, cause there ll be hundreds of new abilities in the future and i don't want do add each one to the library. Please help!!!
What do you mean by "without making a library"? What is a library in this context?

Anyway, how are you going to create these abilities? Because you should be able to store them during the process of creating them, it's not like it'd be more than 5 seconds of extra work to do so. In fact, if you're doing things properly you will naturally have a database of cards already.
 
The mechanism would be: When i Click on a unit, a trigger will check if the unit will have any of the abilities in the library(level of ability x greater than 0 ). If yes, i ll display the art over the ui, with the tooltip also.
Isn t there a way to check for the abilities without the library? How would you do it?
 
Status
Not open for further replies.
Back
Top