- Joined
- Oct 4, 2008
- Messages
- 1
Seems simple enough but I'm having trouble with the events and conditions.
I'm trying to have a circle of power that, when its life becomes less than 80, will change ownership and color to the attacking unit. The owner of the circle of power receives 20 gold every 60 seconds.
If red takes over the circle of power, he receives 20 gold every 60 seconds, but I'm having trouble with having a second player (blue) take ownership of the circle of power if red already owns it.
The trigger I have looks something like this,
Event-
Circle of Power's life becomes less than 80.
Condition- Player Comparison
(Owner of {attacking unit}) Equal to Player 1 (Red)
Event-Unit
Change ownership of Circle of Power to Player 1 (Red) and change color.
Set life of Circle of Power to 100.00%
I set the same trigger for player 2 (blue), and when the circle of power is attacked by blue when red controls it, it just refreshes the life percentage without changing ownership.
I've tried race comparison, but I end up with the same issue.
I'm trying to have a circle of power that, when its life becomes less than 80, will change ownership and color to the attacking unit. The owner of the circle of power receives 20 gold every 60 seconds.
If red takes over the circle of power, he receives 20 gold every 60 seconds, but I'm having trouble with having a second player (blue) take ownership of the circle of power if red already owns it.
The trigger I have looks something like this,
Event-
Circle of Power's life becomes less than 80.
Condition- Player Comparison
(Owner of {attacking unit}) Equal to Player 1 (Red)
Event-Unit
Change ownership of Circle of Power to Player 1 (Red) and change color.
Set life of Circle of Power to 100.00%
I set the same trigger for player 2 (blue), and when the circle of power is attacked by blue when red controls it, it just refreshes the life percentage without changing ownership.
I've tried race comparison, but I end up with the same issue.