new ability api and fixed problem for checking loot