• Plant C4: It is recommended that you do not use custom values. If another spell or system uses custom values for units, your spell will stop being functional. You leak a point.
• C4 Explode: Same as Plant C4.
• Wall of Explosives: Many leaks. Instead of doing that huge trigger, you could make these simple actions:
-
Wall of Explosives
-

Events
-


Unit - A unit Starts the effect of an ability
-

Conditions
-


(Ability being cast) Equal to Wall of Explosives
-

Actions
-


Custom script: local real r = 50
-


Custom script: local real x = GetUnitX (GetTriggerUnit())
-


Custom script: local real y = GetUnitY (GetTriggerUnit())
-


Custom script: local real x1 = GetSpellTargetX()
-


Custom script: local real y1 = GetSpellTargetY()
-


Custom script: local unit u
-


Custom script: local real a = Atan2 (y1-y, x1 - x)
-


Custom script: loop
-


Custom script: exitwhen r == 500
-


Custom script: set u = CreateUnit (GetOwningPlayer (GetTriggerUnit()), 'n000', x + r * Cos(a), y + r * Sin(a), 0)
-


Custom script: call UnitApplyTimedLife (u, 'BTLF', 3)
-


Custom script: set r = r + 50
-


Custom script: endloop
-


Custom script: set u = null
• Periodic events: you never turn off the triggers with periodic events, causing lag to appear after some game period. Fix it; check if there are no instances of the respective ability and turn off the trigger responding to that ability.
First step; visit this thread:
http://www.hiveworkshop.com/forums/triggers-scripts-269/things-leak-35124/