- Joined
- Mar 15, 2007
- Messages
- 230
I'm having trouble with an ability that is supposed to only work during the night. It's based on Endurance Aura and in the day time at level one, it has no effect. At nighttime, it goes to level two, and increases the unit's attack speed and movement speed. This much works. The problem is that when it's day again, the ability won't go back down to level one. Here are my triggers:
Activate Gift
Events
Game - The in-game time of day becomes Less than 6.00
Game - The in-game time of day becomes Greater than or equal to 18.00
Conditions
Actions
Unit Group - Pick every unit in (Units of type Vampire Lord (Empire)) and do (Actions)
Loop - Actions
Unit - Set level of Gift of the Nightborne (Vampire Lord) for (Picked unit) to 2
Deactivate Gift
Events
Game - The in-game time of day becomes Greater than or equal to 6.00
Conditions
(In-game time of day) Less than 18.00
Actions
Unit Group - Pick every unit in (Units of type Vampire Lord (Empire)) and do (Actions)
Loop - Actions
Unit - Set level of Gift of the Nightborne (Vampire Lord) for (Picked unit) to 1
It should also be important to note that to test this ability, I'm using another ability that temporarily changes it to nighttime.
Any help is much appreciated. Thanks in advance.
Activate Gift
Events
Game - The in-game time of day becomes Less than 6.00
Game - The in-game time of day becomes Greater than or equal to 18.00
Conditions
Actions
Unit Group - Pick every unit in (Units of type Vampire Lord (Empire)) and do (Actions)
Loop - Actions
Unit - Set level of Gift of the Nightborne (Vampire Lord) for (Picked unit) to 2
Deactivate Gift
Events
Game - The in-game time of day becomes Greater than or equal to 6.00
Conditions
(In-game time of day) Less than 18.00
Actions
Unit Group - Pick every unit in (Units of type Vampire Lord (Empire)) and do (Actions)
Loop - Actions
Unit - Set level of Gift of the Nightborne (Vampire Lord) for (Picked unit) to 1
It should also be important to note that to test this ability, I'm using another ability that temporarily changes it to nighttime.
Any help is much appreciated. Thanks in advance.