BlzSetUnitAbilityManaCost

Parameters
whichUnit unit
abilId integer
level integer
manaCost integer
bug

v1.29.2: Crashes when loading a saved game after this function was used on a unit. Confirmed as fixed as of v1.31.1. Crash likely related to BlzSetUnitAbilityCooldown.

comment

Set manacost of an ability (at ability level) for a unit. Works as expected, so you can dynamically calculate the mana cost.

patch

1.29

return type
nothing
Source code
native BlzSetUnitAbilityManaCost                   takes unit whichUnit, integer abilId, integer level, integer manaCost returns nothing
Source
common.j
wc3modding.com
BlzSetUnitAbilityManaCost