Uses leadership to control mobs. An engine if you want to make boss fights online, although you need to understand it. It works by using the leader's hazards or object and broadcasting them into the other players. Pretty cool, huh?
@griffpatch for being awesome. All code involving the leadership is made by me, altough the multiplayer is from griffpatch.