Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
https://replay.pokemonshowdown.com/gen7randomdoublesbattle-732058375
This is in double random battles. My Aegislash never changed forms -- see turn 8. When I hovered over it during the battle, its ability was empty. Not sure what it could be. Its damage output was consistent with its shield...