SetUnitManaPercentBJ
- Parameters
whichUnit unitpercent real- comment
- patch
1.00
- Source
- Blizzard.j (raise an issue to discuss on Github or submit a PR)
- return type
nothing- Source code
function SetUnitManaPercentBJ takes unit whichUnit, real percent returns nothing call SetUnitState(whichUnit, UNIT_STATE_MANA, GetUnitState(whichUnit, UNIT_STATE_MAX_MANA) * RMaxBJ(0,percent) * 0.01) endfunction