Getting the number of stacks as well as the time is trivial, UnitAura tells you both.
However, that will only function properly when the player in question is in the same area as you. So if he is in the flying-zone thing collecting things, and you are not, you will not get the stacks, but if you are both in the same "room", it'll work.
For the player himself, it will of course always work.
For the time until you drop out of the fly-mode .. don't you have a buff or debuff that counts down until you are free again?
Been some time since i actually did the healing part.
My question was to know if somebody knows which of the returned parameters of UnitAura tells stack and time. It is for the player himself so it will work, thanks.
I don't know if there is a buff/debuff that counts the end of the fly-mode, I am druid affected to heal the raid, it is a request from a guilde member. If someone knows (and the name of the buff/debuff)...