Its been quite a while since I last used JASS but I need a function which returns the ability of any item (given I add max. 1 ability to each item). I don't think there exists anything like that. Is it possible to write such a function? If yes, could someone help me?