well i wanted it to devour only allied units
maybe 10 seconds but iam not sure might need to test it
done, here is a test map.
remember that you can only devour your allied units, not your own units or enemies unit. and for this test map you can only devour Footmen, you could change the condition later.
and i already set the duration of digesting to (Current Life of (Target Unit of ability being cast)) / Damage of Devour.
so, when you set the Damage[cv] = 50, you should also set the damage per second of Devour Cargo to 50.
when a Footman's hp is 500, the duration will be 500 / 50 = 10 second(s)
when a Footman's hp is 700, the duration will be 700 / 50 = 14 second(s)
the spell (Shoot) is currently cost 0 mana, you can change it to whatever you want. You can search the Devour and Devour Cargo ability in Abilities > Orc > Units > Devour or Devour Cargo.
feel free to ask any question.
EDIT : one more question i one to ask, does this unit have attack or they can attack only with this spell ?
maybe it's better to change the firebolt into cold arrows, tell me what you think.