The mod completely changes the mechanics of the appearance of enemy bases, a crowd of attacking units and defense units. Bases appear out of the ground when several conditions are met: 1) There is no water on site, there is no other base, there are no player's buildings nearby; 2) there is a player's building or other base at a sufficient distance.
The script collects units for attack from all bases in one crowd and calculates the place of attack as if the crowd was moving from any base to some building of the player. A crowd of attacking units appears only before a direct attack on buildings (multiple calculations for collecting and moving groups of units are excluded).
All this significantly reduces the load on the CPU and in most cases provides the player with the need to build defenses.