- Joined
- Jan 11, 2008
- Messages
- 36
I need help, how to make some type of units imune to Trueshot Aura, because I have some custom units, which are classificated as archers, but they should be meele units (I am using Weapon Type: missile, because the unit can fire missiles, but it should be still meele unit).
Now I am using this trigger to fix it, but I think it's not the best solution and it has also some bugs (the unit has sometimes Trueshot Aura buff for part of second. I can decrease the trigger repeating time, but it can lag the game.)
Now I am using this trigger to fix it, but I think it's not the best solution and it has also some bugs (the unit has sometimes Trueshot Aura buff for part of second. I can decrease the trigger repeating time, but it can lag the game.)
-
Events
- Time - Every 0.25 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units type of my_custom_unit) and do (Actions)
-
Loop - Actions
- Unit - Remove Trueshot Aura buff from (Picked unit)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units type of my_custom_unit) and do (Actions)