Agents surround enemy agents and choose a position based on the weapon length of the enemy. If the enemy had a longer weapon like a spear, the surrounding agents moved a bit far from the enemy. Now they compare the enemy's weapon length with their weapon length and move closer if the enemy's weapon is longer.