returns the cost (mana or stamina) of using an ability
- The cost of using the ability
Note: nAbility = ABILITY_TYPE_INVALID will cause a lookup in the 2da.
This function is duplicated within the game executable. Any change made to this function will result in GUI glitches and other bugs. Sorry.