[JASS] UnitMakeAbilityPermanent

Status
Not open for further replies.
Level 22
Joined
Nov 14, 2008
Messages
3,253
The native below, does it make buffs permanent to a target? Then you just call the native again but set it false to make them not permanent and remove the buff?
JASS:
native UnitMakeAbilityPermanent takes unit whichunit, boolean permanent, integer abilityid returns boolean

Solved
 
Last edited:
Found the answer at WC3C

MakeUnitAbilityPermanent: This function enables you to make abilities stay on units when they use any kind of morphing spells. If you're using chaos for example you should make all abilities permanent that should stay on the unit. For spells that have sub abilities like the spellbook or the effect ability of orbs you also have to make these sub abilities permanent if you don't want to lose them.
 
Status
Not open for further replies.
Back
Top