I have one unit that does a regular attack, every time it attacks it'll do less and less damage.
In order to counter this you will need to manually target a new unit, this will reset the damage.
My problem is this:
I want to actually force a player to target a new unit to cancel the damage decrease. This means i will need to check if the attack target is the original attack target, but i wouldn't know how, apparently markers don't work that way.
But that would mean that if two of these units attack the same target they would both suffer even more damage reduction. Which isn't the goal.
I think that the only way to really do this is by triggers, so i'll just try that, if anyone knows of a way to do this without triggers i'd be very happy :)
What i want to do is this:
I have one unit that does a regular attack, every time it attacks it'll do less and less damage. In order to counter this you will need to manually target a new unit, this will reset the damage.
My problem is this: I want to actually force a player to target a new unit to cancel the damage decrease. This means i will need to check if the attack target is the original attack target, but i wouldn't know how, apparently markers don't work that way.
Does anyone know of a proper way to do this?
I would probably use a stacking behavior applied by the impact effect of the weapon, which provides a damage reduction.
But that would mean that if two of these units attack the same target they would both suffer even more damage reduction. Which isn't the goal.
I think that the only way to really do this is by triggers, so i'll just try that, if anyone knows of a way to do this without triggers i'd be very happy :)
@Popobawa:
apply a stacking damage reducing behavior to the caster instead, place a non-stacking dummy buff on the target to check, if it was attacked before.