Hey, been forever since I've posted here, but just picking up an old project and wondering if anyone could help me with a trigger.
Basically, I want the ability to do the following:
Summon a unit with 5 mana and a single-target, non-autocast ability based on Rejuvenation on a 2.99-second cooldown costing 1 mana per cast. What I want from the trigger is for the unit to automatically cast this ability every 3 seconds on the lowest-health ally without the Rejuvenation buff in range until it's out of mana, at which point it will be removed.
When I thought up the ability, I thought for sure there'd be some way to pick a single unit out of the "pick units in range matching condition" function, because that seems like a pretty basic and essential functionality, but I can't find it. The problem with using an autocast heal and then triggering the Rejuvenation from another dummy unit is that it doesn't check the buff status of the unit it heals, and since I don't want the ability to heal anything immediately it would keep trying to heal the same lowest unit over and over again, overwriting itself.
Anyway, I'd really appreciate it if someone could suggest a solution or tell me how to go about this. Thanks!
Basically, I want the ability to do the following:
Summon a unit with 5 mana and a single-target, non-autocast ability based on Rejuvenation on a 2.99-second cooldown costing 1 mana per cast. What I want from the trigger is for the unit to automatically cast this ability every 3 seconds on the lowest-health ally without the Rejuvenation buff in range until it's out of mana, at which point it will be removed.
When I thought up the ability, I thought for sure there'd be some way to pick a single unit out of the "pick units in range matching condition" function, because that seems like a pretty basic and essential functionality, but I can't find it. The problem with using an autocast heal and then triggering the Rejuvenation from another dummy unit is that it doesn't check the buff status of the unit it heals, and since I don't want the ability to heal anything immediately it would keep trying to heal the same lowest unit over and over again, overwriting itself.
Anyway, I'd really appreciate it if someone could suggest a solution or tell me how to go about this. Thanks!
Last edited: