Hildagarn
Member
- Reaction score
- 20
how would I make a trigger that hurts the Shadowling 1% of his hp per second during the day time
You would make 1 Trigger that Deals X Damage Every Second, turn it off at night, turn it on during day. Should look something like this.
Trigger:
- hurt
- Events
- Time - Every 1.00 seconds of game time
- Conditions
- Actions
- Unit Group - Pick every unit in (Units of type Footman) and do (Actions)
- Loop - Actions
- Unit - Set life of (Triggering unit) to (1.00 - (Percentage life of (Picked unit)))%
Then just create a trigger that during morning it Turns on, And at night. Turns off.
or do the guys above me trigger.