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

Status
Not open for further replies.
Level 22
Joined
Mar 16, 2008
Messages
1,013
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.
 
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.
Back
Top