• 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.

Need Help Devising a Trigger to Keep Added Ability on Morphed Heroes

Status
Not open for further replies.
Level 21
Joined
Mar 16, 2008
Messages
955
There's an ability that can be researched and added to heroes with a trigger. When a unit uses morph ability based off demon hunter metamorphosis, it loses custom researched/added ability. Can anyone help me brainstorm a trigger to maybe re-add that ability to a unit, checking condition that it has been researched.

Thanks for reading and any input.

Also the researched/added ability can/should only be used once. Maybe that can be checked with an integer comparison condition 'ability used' 0 or 1.
 
Level 21
Joined
Mar 16, 2008
Messages
955
so i want this ability to be removed after it's used. can i remove it with normal trigger?

The ability is A043:AEsf (Call of the Damned)

JASS:
call UnitMakeAbilityPermanent(your_unit,true,A043:AEsf)
would work?
 
Status
Not open for further replies.
Top