Help with trigger.

Level 1
Aug 30, 2018
the trigger i have is (Event When player owned unit is attacked/ condition: Attacking unit is equal to Units of type/ Action: set base damage of attacked unit to attacked unit +2) and i have one for each tower type so its creating MASSIVE lag. How can i keep the triggers but have a less laggy event?
Level 36
Feb 27, 2007
"Units of type..." is a group search so doing that over the whole map for multiple triggers every time something is attacked is resource intensive. You are also probably leaking groups and points.

Post your full trigger here with the Trigger tags (quote my post to see how) so we can better suggest what you should do. I think you need to do this instead:

  • Conditions
    • (Unit-type of (Attacking Unit)) equal to YOUR_TOWER