• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Spell] Morphing and Abilities?

Status
Not open for further replies.
Level 7
Joined
Nov 18, 2012
Messages
272
I know if a unit is morphing, it will not retain the previous abilities, so they will be lost upon transformation if added via trigger.

I know that some heroes retain their learned hero abilities.

What I don't know is: Do morphing heroes who learned/gained abilities they don't usually have (for instance I give a Tinker a Holy Light Ability) still get them after transforming into another hero (for instance, via Robo Goblin)?
 
Level 21
Joined
Mar 27, 2012
Messages
3,232
I know if a unit is morphing, it will not retain the previous abilities, so they will be lost upon transformation if added via trigger.

I know that some heroes retain their learned hero abilities.

What I don't know is: Do morphing heroes who learned/gained abilities they don't usually have (for instance I give a Tinker a Holy Light Ability) still get them after transforming into another hero (for instance, via Robo Goblin)?

If both forms have the ability by default, then yes.
Else no.

However, you can force an ability to stay on the hero by making it permanent.
JASS:
call UnitMakeAbilityPermanent(unit,boolean permanent?,ability id)
 
Status
Not open for further replies.
Top