Juno**
Member
- Reaction score
- 6
Hey guys, I am creating passive skill that boosts the attack speed, movement speed and damage of the hero when it's night (similar to Balanar's Hunter in the Night skill in DOTA for those who know) My problem here is checking if it's day or if it is night.
Here is my check which is failing utterly:
I wanted it to check every second because, you know, players might learn it in the middle of the night and Game - The in-game time of day becomes Equal to 18.00 is not the event to be used here.... Could you guys suggest any Day night checks for this skill???
Here is my check which is failing utterly:
Trigger:
- Events
- Time - Every 1.00 seconds of game time
- Conditions
- Actions
- Unit Group - Pick every unit in Skills_UnitGroup_EntireMap and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Unit-type of (Picked unit)) Equal to Serpent god
- (Level of Nocturnal Hunter for (Picked unit)) Greater than 0
- ((Picked unit) has buff Nocturnal Hunter ) Equal to True
- (In-game time of day) Greater than 6.00
- (In-game time of day) Less than 18.00
- Then - Actions
- (Insert Actions That remove the buff here)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Unit Group - Pick every unit in Skills_UnitGroup_EntireMap and do (Actions)
Trigger:
- Events
- Time - Every 1.00 seconds of game time
- Conditions
- Actions
- Unit Group - Pick every unit in Skills_UnitGroup_EntireMap and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Unit-type of (Picked unit)) Equal to Serpent god
- (Level of Nocturnal Hunter for (Picked unit)) Greater than 0
- ((Picked unit) has buff Nocturnal Hunter ) Equal to False
- (In-game time of day) Greater than or equal to 18.00
- (In-game time of day) Less than or equal to 6.00
- Then - Actions
- (Insert Actions that Give the Bonuses to the Serpent god)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Unit Group - Pick every unit in Skills_UnitGroup_EntireMap and do (Actions)
I wanted it to check every second because, you know, players might learn it in the middle of the night and Game - The in-game time of day becomes Equal to 18.00 is not the event to be used here.... Could you guys suggest any Day night checks for this skill???