[Solved] Morphing a unit removes spell book abilities.

Status
Not open for further replies.
It probably means you need to use the trigger action: Unit - Make ability Permanent or put the spellbook abilities in both unit's abilities fields in the object editor
 
There’s no GUI action unless Blizzard added it recently. You need to look up the spell’s raw code: press ctrl+d in the OE to see next to the name something like A001. Those 4 letters/numbers are the rawcode, which will also show the rawcode of the ability it was based on (but you can ignore that part).

Then use this line with the rawcode (caps are important) instead of RAWC below:

call UnitMakeAbilityPermanant(udg_UnitVariable, ‘RAWC’, true)
 
I tried using UnitMakeAbilityPermanant, but that doesn't solve my problem.

edit: Nevermind! I had to use the function on the abilities inside the spell book! Thank you! /solved
 
Status
Not open for further replies.
Back
Top