Enemy floats by default. If enemy dash is ready, then do a dash. If the enemy is aggroed, the enemy moves toward the player (+/- 45 degrees) with a 20% chance. Otherwise, the enemy moves in a random direction. If the enemy is above the ground by 20 blocks, then this random direction must have no positive vertical component.
Enemy floats by default. If enemy dash is ready, then do a dash. If the enemy is aggroed, the enemy moves toward the player (+/- 45 degrees) with a 20% chance. Otherwise, the enemy moves in a random direction. If the enemy is above the ground by 20 blocks, then this random direction must have no positive vertical component.