- Joined
- Mar 27, 2018
- Messages
- 23
Hi.
I'm currently designing a passive ability: A attack B, then B will get a Buff until it died, and unit C will be born from B.
Imagine "Zombie" killed human, then the human becomes a zombie.
But the question is if there are multiple "zombie" players, how do I know the latest buff come from? How do I know the owner of the last buff?
I want to create the zombie for the last player who apply the zombie virus (not the last unit who attack the zombie) to the dead human, but I need to track the source unit of that buff.
Or the question is: "Is there any event to know who is adding a buff to another unit?"
I'm currently using ability disease cloud ('Aap1') as my template.
Thank you for any help!
2018-8-10 11:15:08 Edit:
I've got another thread about this ([Spell] - A unit takes damage issue - disease cloud - GUI (~SOLVED)), the question has been solved.
I'm currently designing a passive ability: A attack B, then B will get a Buff until it died, and unit C will be born from B.
Imagine "Zombie" killed human, then the human becomes a zombie.
But the question is if there are multiple "zombie" players, how do I know the latest buff come from? How do I know the owner of the last buff?
I want to create the zombie for the last player who apply the zombie virus (not the last unit who attack the zombie) to the dead human, but I need to track the source unit of that buff.
Or the question is: "Is there any event to know who is adding a buff to another unit?"
I'm currently using ability disease cloud ('Aap1') as my template.
Thank you for any help!
2018-8-10 11:15:08 Edit:
I've got another thread about this ([Spell] - A unit takes damage issue - disease cloud - GUI (~SOLVED)), the question has been solved.
Last edited: