So, as the title describes, I'm trying to have an attacking unit apply a behavior (buff) to an enemy unit that stacks only once per player. The behavior in this case is a Gold Credit that, when the unit dies, each player with a Gold Credit on the unit gets a mineral bonus for assisting in killing the unit.
However, there appears to be no validator that checks to see if the casting player already owns a behavior on the targeted unit. I would really prefer to do this without triggers, because I feel like it will disrupt the scope of things, but I'll take what I can get.
Also, it looks like markers might be able to keep track of this, but since no one has yet to write a comprehensive guide on markers, I don't know.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So, as the title describes, I'm trying to have an attacking unit apply a behavior (buff) to an enemy unit that stacks only once per player. The behavior in this case is a Gold Credit that, when the unit dies, each player with a Gold Credit on the unit gets a mineral bonus for assisting in killing the unit.
However, there appears to be no validator that checks to see if the casting player already owns a behavior on the targeted unit. I would really prefer to do this without triggers, because I feel like it will disrupt the scope of things, but I'll take what I can get.
Also, it looks like markers might be able to keep track of this, but since no one has yet to write a comprehensive guide on markers, I don't know.